* [PATCH] ARM: dts: nomadik: Replace deprecated spi-gpio properties
@ 2023-04-07 16:25 Fabio Estevam
2023-04-10 22:03 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2023-04-07 16:25 UTC (permalink / raw)
To: linus.walleij
Cc: 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/ste-nomadik-nhk15.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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>;
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dts: nomadik: Replace deprecated spi-gpio properties
2023-04-07 16:25 [PATCH] ARM: dts: nomadik: Replace deprecated spi-gpio properties Fabio Estevam
@ 2023-04-10 22:03 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2023-04-10 22:03 UTC (permalink / raw)
To: Fabio Estevam
Cc: robh+dt, krzysztof.kozlowski+dt, linux-arm-kernel, devicetree,
Fabio Estevam
On Fri, Apr 7, 2023 at 6:25 PM Fabio Estevam <festevam@gmail.com> 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>
Patch applied and forwarded to the SoC tree.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-10 22:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-07 16:25 [PATCH] ARM: dts: nomadik: Replace deprecated spi-gpio properties Fabio Estevam
2023-04-10 22:03 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).