Skip to content

Commit bd36e51

Browse files
Zhen Leirobherring
authored andcommitted
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>
1 parent faaa30d commit bd36e51

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ examples:
4242
4343
spi {
4444
spi-slave;
45+
#address-cells = <0>;
46+
#size-cells = <0>;
4547
ready-gpios = <&gpio 125 GPIO_ACTIVE_HIGH>;
4648
4749
slave {

0 commit comments

Comments
 (0)