1 From 04afb51c1dce90051487d3c7b70a1b1b246ce29a Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Fri, 2 Jun 2023 17:10:23 +0200
4 Subject: [PATCH] ARM: dts: BCM5301X: Use updated "spi-gpio" binding properties
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Switch away from deprecated properties.
12 arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dtb: spi: gpio-sck: False schema does not allow [[6, 7, 0]]
13 From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml
14 arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dtb: spi: gpio-mosi: False schema does not allow [[6, 4, 0]]
15 From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml
16 arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dtb: spi: 'sck-gpios' is a required property
17 From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml
18 arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dtb: spi: Unevaluated properties are not allowed ('gpio-mosi', 'gpio-sck' were unexpected)
19 From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml
21 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
22 Link: https://lore.kernel.org/r/20230602151023.8607-1-zajec5@gmail.com
23 Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
25 arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi | 4 ++--
26 arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 4 ++--
27 arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 4 ++--
28 arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts | 4 ++--
29 4 files changed, 8 insertions(+), 8 deletions(-)
31 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi
32 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi
35 compatible = "spi-gpio";
36 num-chipselects = <1>;
37 - gpio-sck = <&chipcommon 7 0>;
38 - gpio-mosi = <&chipcommon 4 0>;
39 + sck-gpios = <&chipcommon 7 0>;
40 + mosi-gpios = <&chipcommon 4 0>;
41 cs-gpios = <&chipcommon 6 0>;
44 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
45 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
48 compatible = "spi-gpio";
49 num-chipselects = <1>;
50 - gpio-sck = <&chipcommon 7 0>;
51 - gpio-mosi = <&chipcommon 4 0>;
52 + sck-gpios = <&chipcommon 7 0>;
53 + mosi-gpios = <&chipcommon 4 0>;
54 cs-gpios = <&chipcommon 6 0>;
57 --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
58 +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
61 compatible = "spi-gpio";
62 num-chipselects = <1>;
63 - gpio-sck = <&chipcommon 7 0>;
64 - gpio-mosi = <&chipcommon 4 0>;
65 + sck-gpios = <&chipcommon 7 0>;
66 + mosi-gpios = <&chipcommon 4 0>;
67 cs-gpios = <&chipcommon 6 0>;
70 --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
71 +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
74 compatible = "spi-gpio";
75 num-chipselects = <1>;
76 - gpio-sck = <&chipcommon 7 0>;
77 - gpio-mosi = <&chipcommon 4 0>;
78 + sck-gpios = <&chipcommon 7 0>;
79 + mosi-gpios = <&chipcommon 4 0>;
80 cs-gpios = <&chipcommon 6 0>;