1 From 2c0fd6b3d0778ceab40205315ccef74568490f17 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Fri, 7 Jul 2023 13:40:04 +0200
4 Subject: [PATCH] ARM: dts: BCM53573: 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/broadcom/bcm947189acdbmr.dtb: spi: gpio-sck: False schema does not allow [[3, 21, 0]]
13 From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml
14 arch/arm/boot/dts/broadcom/bcm947189acdbmr.dtb: spi: gpio-miso: False schema does not allow [[3, 22, 0]]
15 From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml
16 arch/arm/boot/dts/broadcom/bcm947189acdbmr.dtb: spi: gpio-mosi: False schema does not allow [[3, 23, 0]]
17 From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml
18 arch/arm/boot/dts/broadcom/bcm947189acdbmr.dtb: spi: 'sck-gpios' is a required property
19 From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml
20 arch/arm/boot/dts/broadcom/bcm947189acdbmr.dtb: spi: Unevaluated properties are not allowed ('gpio-miso', 'gpio-mosi', 'gpio-sck' were unexpected)
21 From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml
23 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
24 Link: https://lore.kernel.org/r/20230707114004.2740-4-zajec5@gmail.com
25 Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
27 arch/arm/boot/dts/broadcom/bcm947189acdbmr.dts | 6 +++---
28 1 file changed, 3 insertions(+), 3 deletions(-)
30 --- a/arch/arm/boot/dts/bcm947189acdbmr.dts
31 +++ b/arch/arm/boot/dts/bcm947189acdbmr.dts
34 compatible = "spi-gpio";
35 num-chipselects = <1>;
36 - gpio-sck = <&chipcommon 21 0>;
37 - gpio-miso = <&chipcommon 22 0>;
38 - gpio-mosi = <&chipcommon 23 0>;
39 + sck-gpios = <&chipcommon 21 0>;
40 + miso-gpios = <&chipcommon 22 0>;
41 + mosi-gpios = <&chipcommon 23 0>;
42 cs-gpios = <&chipcommon 24 0>;