diff mbox series

ARM: dts: nomadik: Replace deprecated spi-gpio properties

Message ID 20230410220300.2431524-1-linus.walleij@linaro.org (mailing list archive)
State Accepted
Commit 325ae154b42b32c8ee114f4286364d153117fe59
Headers show
Series ARM: dts: nomadik: Replace deprecated spi-gpio properties | expand

Commit Message

Linus Walleij April 10, 2023, 10:03 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>
Link: https://lore.kernel.org/r/20230407162504.1683422-1-festevam@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
SoC folks: please apply this directly wherever DTS patches
for next goes, I do not plan to send any more Nomadik
patches this kernel cycle.
---
 arch/arm/boot/dts/ste-nomadik-nhk15.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

patchwork-bot+linux-soc@kernel.org April 14, 2023, 4:21 p.m. UTC | #1
Hello:

This patch was applied to soc/soc.git (for-next)
by Arnd Bergmann <arnd@arndb.de>:

On Tue, 11 Apr 2023 00:03:00 +0200 you 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.
> 
> [...]

Here is the summary with links:
  - ARM: dts: nomadik: Replace deprecated spi-gpio properties
    https://git.kernel.org/soc/soc/c/325ae154b42b

You are awesome, thank you!
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/ste-nomadik-nhk15.dts b/arch/arm/boot/dts/ste-nomadik-nhk15.dts
index 8142c017882c..4d741adc16cd 100644
--- a/arch/arm/boot/dts/ste-nomadik-nhk15.dts
+++ b/arch/arm/boot/dts/ste-nomadik-nhk15.dts
@@ -210,8 +210,8 @@  spi {
 		 * As we're dealing with 3wire SPI, we only define SCK
 		 * and MOSI (in the spec MOSI is called "SDA").
 		 */
-		gpio-sck = <&gpio0 5 GPIO_ACTIVE_HIGH>;
-		gpio-mosi = <&gpio0 4 GPIO_ACTIVE_HIGH>;
+		sck-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
+		mosi-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
 		cs-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
 		num-chipselects = <1>;