zephyr/scripts/dts/extract
Kumar Gala 252919128b scripts: extract_dts_includes: Rework get_binding
The original version of get_binding didn't handle the case of having a
child node on a SPI or I2C device node.  The example is a SPI flash and
having a partition node under that.

Re-work the binding lookup logic to first look in the master bindings
dict, and if not found there we assume it must be in the bus specific
dictionary, and we can use the parent node to find the bus type.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-12-13 08:12:53 -06:00
..
__init__.py scripts: extract_dts_includes.py: factorize globals for module usage 2018-03-26 14:48:49 -04:00
clocks.py scripts: extract_dts_includes: Pass node address to get_binding 2018-12-07 09:08:04 -06:00
compatible.py scripts: extract_dts_includes: Generate device bus info define 2018-12-07 09:08:04 -06:00
default.py scripts: extract_dts_includes: remove passing yaml param to functions 2018-12-07 09:08:04 -06:00
directive.py scripts: extract_dts_includes: remove passing yaml param to functions 2018-12-07 09:08:04 -06:00
flash.py scripts: extract_dts_includes: remove passing yaml param to functions 2018-12-07 09:08:04 -06:00
globals.py scripts: extract_dts_includes: Rework get_binding 2018-12-13 08:12:53 -06:00
interrupts.py scripts: extract_dts_includes: Pass node address to get_binding 2018-12-07 09:08:04 -06:00
pinctrl.py scripts: extract_dts_includes: Pass node address to get_binding 2018-12-07 09:08:04 -06:00
reg.py scripts: extract_dts_includes: remove passing yaml param to functions 2018-12-07 09:08:04 -06:00