diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2020-10-13 19:08:43 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-10-14 16:42:25 +0300 |
commit | bd36e51d10e7c2b7d39ffa7d075aed98a8e7473c (patch) | |
tree | d30efbab1a8b8ea87c2133b069bc93e3263978f7 /Documentation/devicetree/bindings/misc | |
parent | faaa30dd1f4bb6ec5eeea751ebde8076375b916c (diff) | |
download | linux-bd36e51d10e7c2b7d39ffa7d075aed98a8e7473c.tar.xz |
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: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20201013160845.1772-5-thunder.leizhen@huawei.com
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/misc')
-rw-r--r-- | Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml b/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml index ade733cd60f7..b3c45c046ba5 100644 --- a/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml +++ b/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml @@ -42,6 +42,8 @@ examples: spi { spi-slave; + #address-cells = <0>; + #size-cells = <0>; ready-gpios = <&gpio 125 GPIO_ACTIVE_HIGH>; slave { |