summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2020-07-18 22:50:08 +0200
committerArnd Bergmann <arnd@arndb.de>2020-07-22 22:04:57 +0200
commitf45200b67ea381d784dca8088dc31cbf06bd17cc (patch)
treeb8d23802579d9e15730b2003934b85ccc8cf12fc /arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts
parent9dbf272cf4f1c7c03576c9162020ce64a3d2b797 (diff)
ARM: dts: mmp2-olpc-xo-1-75: Delete #address-cells from ssp3
On the XO-1.75, this node represents a bus interface that operates in slave mode and thus is only able to accommodate a single subnode; no address cells are necessary. The Documentation/devicetree/bindings/spi/spi-controller.yaml binding prefers that we drop the property instead of setting it to zero. This fixes a DT validation error: arch/arm/boot/dts/mmp2-olpc-xo-1-75.dt.yaml: spi@d4037000: { ... } is valid under each of {'required': ['spi-slave']}, {'required': ['#address-cells']} We also need to drop #size-cells: arch/arm/boot/dts/mmp2-olpc-xo-1-75.dt.yaml: spi@d4037000: '#address-cells' is a dependency of '#size-cells' Link: https://lore.kernel.org/r/20200718205019.184927-3-lkundrak@v3.sk Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts')
-rw-r--r--arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts
index 02f4005a654b..392f546f7915 100644
--- a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts
+++ b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts
@@ -221,7 +221,8 @@
};
&ssp3 {
- #address-cells = <0>;
+ /delete-property/ #address-cells;
+ /delete-property/ #size-cells;
spi-slave;
status = "okay";
ready-gpio = <&gpio 125 GPIO_ACTIVE_HIGH>;