aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2020-10-14 00:08:43 +0800
committerRob Herring <robh@kernel.org>2020-10-14 08:42:25 -0500
commitbd36e51d10e7c2b7d39ffa7d075aed98a8e7473c (patch)
treed30efbab1a8b8ea87c2133b069bc93e3263978f7 /Documentation/devicetree
parentspi: dt-bindings: spi-controller: explicitly require #address-cells=<0> for slave mode (diff)
downloadlinux-dev-bd36e51d10e7c2b7d39ffa7d075aed98a8e7473c.tar.xz
linux-dev-bd36e51d10e7c2b7d39ffa7d075aed98a8e7473c.zip
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')
-rw-r--r--Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml2
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 {