[PATCH] ARM: dts: pxa300-raumfeld: Replace deprecated spi-gpio properties
Fabio Estevam
festevam at gmail.com
Tue May 16 06:16:30 PDT 2023
From: Fabio Estevam <festevam at denx.de>
As stated in Documentation/devicetree/bindings/spi/spi-gpio.yaml,
'gpio-miso', 'gpio-mosi' and 'gpio-sck' are deprecated properties.
Use the recommeded 'miso-gpios', 'mosi-gpios' and 'sck-gpios' instead.
Signed-off-by: Fabio Estevam <festevam at denx.de>
---
arch/arm/boot/dts/pxa300-raumfeld-common.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/pxa300-raumfeld-common.dtsi b/arch/arm/boot/dts/pxa300-raumfeld-common.dtsi
index 147c99191dc2..5e93f315588a 100644
--- a/arch/arm/boot/dts/pxa300-raumfeld-common.dtsi
+++ b/arch/arm/boot/dts/pxa300-raumfeld-common.dtsi
@@ -74,9 +74,9 @@ spi: spi {
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&spi_pins>;
- gpio-sck = <&gpio 95 GPIO_ACTIVE_HIGH>;
- gpio-miso = <&gpio 98 GPIO_ACTIVE_HIGH>;
- gpio-mosi = <&gpio 97 GPIO_ACTIVE_HIGH>;
+ sck-gpios = <&gpio 95 GPIO_ACTIVE_HIGH>;
+ miso-gpios = <&gpio 98 GPIO_ACTIVE_HIGH>;
+ mosi-gpios = <&gpio 97 GPIO_ACTIVE_HIGH>;
cs-gpios = <
&gpio 34 GPIO_ACTIVE_HIGH
&gpio 125 GPIO_ACTIVE_HIGH
--
2.34.1
More information about the linux-arm-kernel
mailing list