zephyr/scripts/dts/extract
Kumar Gala 5824b81176 scripts: dts: extract: Fix handling of irq prop being a list of lists
Before dtc 1.4.7 we'd get something like the following for an interrupt
property in which #interrupt-cells is 2.

interrupts = <1 2 3 4>;

After dtc 1.4.7 we get:

interrupts = <1 2>, <3 4>;

We should handle both cases in the extract interrupt handling code.  So
if we see a list of lists, we flatten it to a single list to normalize
the property.

Fixes: #9558

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-09-06 09:46:03 -05:00
..
__init__.py
clocks.py scripts: dts: extract: clock.py fix node alias name 2018-09-03 12:46:44 -04:00
default.py scripts/dts: extract_dts_includes: makes 'defs' and 'structs' global 2018-08-06 09:44:21 -05:00
directive.py scripts/dts: extract_dts_includes: makes 'defs' and 'structs' global 2018-08-06 09:44:21 -05:00
flash.py scripts/dts: extract_dts_includes: makes 'defs' and 'structs' global 2018-08-06 09:44:21 -05:00
globals.py dts: Fix get_compat when parent compat is a list 2018-08-16 06:22:39 -07:00
interrupts.py scripts: dts: extract: Fix handling of irq prop being a list of lists 2018-09-06 09:46:03 -05:00
pinctrl.py scripts/dts: extract_dts_includes: makes 'defs' and 'structs' global 2018-08-06 09:44:21 -05:00
reg.py scripts/dts: extract_dts_includes: makes 'defs' and 'structs' global 2018-08-06 09:44:21 -05:00