diff mbox series

ARM: dts: armada-xp: Replace deprecated spi-gpio properties

Message ID 20230516131157.579676-1-festevam@gmail.com
State New
Headers show
Series ARM: dts: armada-xp: Replace deprecated spi-gpio properties | expand

Commit Message

Fabio Estevam May 16, 2023, 1:11 p.m. UTC
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(-)

Comments

Gregory CLEMENT May 17, 2023, 9:24 a.m. UTC | #1
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
diff mbox series

Patch

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>;