zephyr/scripts/dts
Kumar Gala 2442382fac scripts: extract_dts_includes: Support same sensor on different bus
There are a number of cases in which we a sensor can be either connected
on I2C or SPI.  We've been treating these cases as different compatiable
properties, but they really should use the same compatiable and just
determine the info based on the parent bus in the device tree.  We can
now support having two different binding files for the same compatiable
to handle the case of a sensor supporting either I2C or SPI as how its
connected.

We put "sensor" nodes in a bus specific dict bus_bindings[bus] that
we can than lookup later based on the DTS and determining the bus type
that the "sensor" node is on.

Fixes #11375

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-12-07 09:08:04 -06:00
..
extract scripts: extract_dts_includes: Support same sensor on different bus 2018-12-07 09:08:04 -06:00
devicetree.py scripts: devicetree.py: get alternate labels from dt 2018-07-05 11:28:53 -05:00
extract_dts_includes.py scripts: extract_dts_includes: Support same sensor on different bus 2018-12-07 09:08:04 -06:00