]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
dt-bindings: misc: explicitly add #address-cells for slave mode
authorZhen Lei <thunder.leizhen@huawei.com>
Tue, 13 Oct 2020 16:08:43 +0000 (00:08 +0800)
committerRob Herring <robh@kernel.org>
Wed, 14 Oct 2020 13:42:25 +0000 (08:42 -0500)
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>
Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml

index ade733cd60f7925150740e4b41cf7c5c2eb47aff..b3c45c046ba5e37700275b26824af51d94c297e4 100644 (file)
@@ -42,6 +42,8 @@ examples:
 
     spi {
       spi-slave;
+      #address-cells = <0>;
+      #size-cells = <0>;
       ready-gpios = <&gpio 125 GPIO_ACTIVE_HIGH>;
 
       slave {