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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| clocks.py | ||
| compatible.py | ||
| default.py | ||
| directive.py | ||
| flash.py | ||
| globals.py | ||
| interrupts.py | ||
| pinctrl.py | ||
| reg.py | ||