zephyr/scripts/dts
Peter A. Bigot ea956f4ac3 scripts: dts: add dependency information to edtlib
Device tree nodes have a dependency on their parents, as well as other
nodes.  To ensure driver instances are initialized in the proper we
need to identify these dependencies and construct a total order on
nodes that ensures no node is initialized before something it depends
on.

Add a Graph class that calculates a partial order on nodes, taking
into account the potential for cycles in the dependency graph.

When generating devicetree value headers calculate the dependency
graph and document the order and dependencies in the derived files.
In the future these dependencies may be expressed in binding data.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-11-05 17:03:23 +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: dts: add dependency information to edtlib 2019-11-05 17:03:23 +01:00
extract_dts_includes.py scripts: edtlib/extract_dts_includes.py: Speed up 2x+ with yaml.CLoader 2019-10-30 07:52:27 +01:00
gen_defines.py scripts: dts: add dependency information to edtlib 2019-11-05 17:03:23 +01:00
grutils.py scripts: dts: add dependency information to edtlib 2019-11-05 17:03:23 +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: dts: add dependency information to edtlib 2019-11-05 17:03:23 +01:00