public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: armada-xp: Replace deprecated spi-gpio properties
@ 2023-05-16 13:11 Fabio Estevam
  2023-05-16 13:38 ` Andrew Lunn
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2023-05-16 13:11 UTC (permalink / raw)
  To: gregory.clement
  Cc: andrew, robh+dt, krzysztof.kozlowski+dt, linux-arm-kernel,
	devicetree, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

As stated in Documentation/devicetree/bindings/spi/spi-gpio.yaml,
'gpio-mosi' and 'gpio-sck' are deprecated properties.

Use the recommeded 'mosi-gpios' and 'sck-gpios' instead.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts b/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts
index 0dad95ea26c2..21b95578fe95 100644
--- a/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts
+++ b/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts
@@ -167,8 +167,8 @@ scroll-button {
 	spi-3 {
 		compatible = "spi-gpio";
 		status = "okay";
-		gpio-sck = <&gpio0 25 GPIO_ACTIVE_LOW>;
-		gpio-mosi = <&gpio1 15 GPIO_ACTIVE_LOW>; /*gpio 47*/
+		sck-gpios  = <&gpio0 25 GPIO_ACTIVE_LOW>;
+		mosi-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; /*gpio 47*/
 		cs-gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
 		num-chipselects = <1>;
 		#address-cells = <1>;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: armada-xp: Replace deprecated spi-gpio properties
  2023-05-16 13:11 [PATCH] ARM: dts: armada-xp: Replace deprecated spi-gpio properties Fabio Estevam
@ 2023-05-16 13:38 ` Andrew Lunn
  2023-05-17  9:24   ` Gregory CLEMENT
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Lunn @ 2023-05-16 13:38 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: gregory.clement, robh+dt, krzysztof.kozlowski+dt,
	linux-arm-kernel, devicetree, Fabio Estevam

On Tue, May 16, 2023 at 10:11:57AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> As stated in Documentation/devicetree/bindings/spi/spi-gpio.yaml,
> 'gpio-mosi' and 'gpio-sck' are deprecated properties.
> 
> Use the recommeded 'mosi-gpios' and 'sck-gpios' instead.
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: armada-xp: Replace deprecated spi-gpio properties
  2023-05-16 13:38 ` Andrew Lunn
@ 2023-05-17  9:24   ` Gregory CLEMENT
  0 siblings, 0 replies; 3+ messages in thread
From: Gregory CLEMENT @ 2023-05-17  9:24 UTC (permalink / raw)
  To: Andrew Lunn, Fabio Estevam
  Cc: robh+dt, krzysztof.kozlowski+dt, linux-arm-kernel, devicetree,
	Fabio Estevam

Andrew Lunn <andrew@lunn.ch> writes:

> On Tue, May 16, 2023 at 10:11:57AM -0300, Fabio Estevam wrote:
>> From: Fabio Estevam <festevam@denx.de>
>> 
>> As stated in Documentation/devicetree/bindings/spi/spi-gpio.yaml,
>> 'gpio-mosi' and 'gpio-sck' are deprecated properties.
>> 
>> Use the recommeded 'mosi-gpios' and 'sck-gpios' instead.
>> 
>> Signed-off-by: Fabio Estevam <festevam@denx.de>
>
> Reviewed-by: Andrew Lunn <andrew@lunn.ch>

Applied on mvebu/dt

Thanks,

Gregory
>
>     Andrew

-- 
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-17  9:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-16 13:11 [PATCH] ARM: dts: armada-xp: Replace deprecated spi-gpio properties Fabio Estevam
2023-05-16 13:38 ` Andrew Lunn
2023-05-17  9:24   ` Gregory CLEMENT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox