zephyr/scripts/dts
Martí Bolívar 0d4dca10b2 scripts: edtlib: child binding compatibles match parents
Fixes: #29758

Commit 7165b77a81 ("scripts: edtlib:
refactor for first class bindings") introduced a Binding class.

Its child_binding instance attribute has a compatible which can be
None. Adjust this behavior so the child Binding object has the same
compatible as the parent binding which ultimately has a compatible.

Without this, sanitycheck's expr_parser is doing some matching on
compatibles in child nodes that is producing unexpected results.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-11-03 14:58:51 -06:00
..
test-bindings scripts: testedtlib: add more child-binding tests 2020-11-03 14:58:51 -06:00
test-bindings-2
dtlib.py scripts: dts: convert test suites to pytest 2020-10-02 11:51:15 +02:00
edtlib.py scripts: edtlib: child binding compatibles match parents 2020-11-03 14:58:51 -06:00
gen_defines.py devicetree: add first round of dependency ordinal info 2020-10-14 13:18:44 -05:00
grutils.py
test-multidir.dts
test.dts scripts: edtlib: Add support for 'deprecated' 2020-10-29 11:06:32 -05:00
testdtlib.py scripts: dts: convert test suites to pytest 2020-10-02 11:51:15 +02:00
testedtlib.py scripts: edtlib: child binding compatibles match parents 2020-11-03 14:58:51 -06:00