diff mbox series

ARM: dts: pxa300-raumfeld: Replace deprecated spi-gpio properties

Message ID 20230516131630.580213-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: pxa300-raumfeld: Replace deprecated spi-gpio properties | expand

Commit Message

Fabio Estevam May 16, 2023, 1:16 p.m. UTC
From: Fabio Estevam <festevam@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@denx.de>
---
 arch/arm/boot/dts/pxa300-raumfeld-common.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Daniel Mack May 16, 2023, 1:18 p.m. UTC | #1
On 5/16/23 15:16, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@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@denx.de>

Reviewed-by: Daniel Mack <daniel@zonque.org>

> ---
>  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
diff mbox series

Patch

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