Commit bd36e51d authored by Zhen Lei's avatar Zhen Lei Committed by Rob Herring

dt-bindings: misc: explicitly add #address-cells for slave mode

Explicitly add "#address-cells = <0>" and "#size-cells = <0>" to
eliminate below warnings.

(spi_bus_bridge): /example-0/spi: incorrect #address-cells for SPI bus
(spi_bus_bridge): /example-0/spi: incorrect #size-cells for SPI bus
(spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20201013160845.1772-5-thunder.leizhen@huawei.comSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent faaa30dd
...@@ -42,6 +42,8 @@ examples: ...@@ -42,6 +42,8 @@ examples:
spi { spi {
spi-slave; spi-slave;
#address-cells = <0>;
#size-cells = <0>;
ready-gpios = <&gpio 125 GPIO_ACTIVE_HIGH>; ready-gpios = <&gpio 125 GPIO_ACTIVE_HIGH>;
slave { slave {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment