diff mbox series

[6/7] sARM: dts: imx28-tx28: Replace deprecated spi-gpio properties

Message ID 20230407161444.1682038-6-festevam@gmail.com
State New
Headers show
Series [1/7] ARM: dts: imx7d-sdb: Replace deprecated spi-gpio properties | expand

Commit Message

Fabio Estevam April 7, 2023, 4:14 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/imx28-tx28.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Krzysztof Kozlowski April 10, 2023, 5:24 p.m. UTC | #1
On 07/04/2023 18:14, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> As stated in Documentation/devicetree/bindings/spi/spi-gpio.yaml,

Typo in subject prefix (ARM).

Best regards,
Krzysztof
Shawn Guo May 13, 2023, 3:15 a.m. UTC | #2
On Mon, Apr 10, 2023 at 07:24:11PM +0200, Krzysztof Kozlowski wrote:
> On 07/04/2023 18:14, Fabio Estevam wrote:
> > From: Fabio Estevam <festevam@denx.de>
> > 
> > As stated in Documentation/devicetree/bindings/spi/spi-gpio.yaml,
> 
> Typo in subject prefix (ARM).

I fixed it up and applied the series, thanks!

Shawn
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx28-tx28.dts b/arch/arm/boot/dts/imx28-tx28.dts
index ffe58c7093e1..23ad7cd0a1de 100644
--- a/arch/arm/boot/dts/imx28-tx28.dts
+++ b/arch/arm/boot/dts/imx28-tx28.dts
@@ -192,9 +192,9 @@  spi_gpio: spi {
 		pinctrl-names = "default";
 		pinctrl-0 = <&tx28_spi_gpio_pins>;
 
-		gpio-sck = <&gpio2 24 GPIO_ACTIVE_HIGH>;
-		gpio-mosi = <&gpio2 25 GPIO_ACTIVE_HIGH>;
-		gpio-miso = <&gpio2 26 GPIO_ACTIVE_HIGH>;
+		sck-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
+		mosi-gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
+		miso-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
 		num-chipselects = <3>;
 		cs-gpios = <
 			&gpio2 27 GPIO_ACTIVE_LOW