zephyr/scripts/dts
Peter A. Bigot c1c82b7570 scripts: dts: generate array values as initializer lists
Simplify use of property values that have multiple elements by
providing all of them in an initializer list, in addition to each one
as an enumerated value.

For example if a driver requires a sequence of operations with
instance-specific delays between stages the durations can be specified
with:

    delays = <30000 20 45000>;

and the driver can use:

    static u32_t delays[] = DT_INST_0_COMPAT_DELAYS;

rather than enumerating the instances.  This is particularly useful
when the number of entries in the array varies per instance, in which
case such an initialization is not easily expressed in code.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-10-29 00:55:01 +01:00
..
extract scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
test-bindings scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
test-bindings-2 scripts: dts: Simplify and improve 'compatible' matching 2019-09-07 10:25:02 -05:00
devicetree.py scripts: dts: devicetree.py: Fix pylint warning for iffy \w escape 2019-09-07 10:25:02 -05:00
dtlib.py scripts: edtlib: Call nodes "nodes" instead of "devices" 2019-09-26 05:23:28 -07:00
edtlib.py scripts: edtlib: Forbid multiple bindings with the same compatible 2019-10-15 10:34:44 +02:00
extract_dts_includes.py scripts: dts: Change 'child/parent: bus: ...' to 'child/parent-bus:' 2019-09-17 14:37:43 -05:00
gen_defines.py scripts: dts: generate array values as initializer lists 2019-10-29 00:55:01 +01:00
test-multidir.dts scripts: dts: Add test for multiple binding directories 2019-08-03 14:17:49 -04:00
test.dts scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
testdtlib.py scripts: edtlib: Add a Device.children attribute with child Devices 2019-09-21 09:10:36 -05:00
testedtlib.py scripts: testedtlib.py: Simplify warning test a tiny bit 2019-10-03 05:57:26 -07:00