[PATCH] ARM: dts: omap: am335x: Use non-deprecated rts-gpios

Krzysztof Kozlowski posted 1 patch 9 months ago
arch/arm/boot/dts/ti/omap/am335x-nano.dts   | 8 ++++----
arch/arm/boot/dts/ti/omap/am335x-pdu001.dts | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
[PATCH] ARM: dts: omap: am335x: Use non-deprecated rts-gpios
Posted by Krzysztof Kozlowski 9 months ago
The 'rts-gpio' (without trailing 's') is deprecated in favor of
'rts-gpios'.  Kernel supports both variants, so switch the DTS to
preferred one.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm/boot/dts/ti/omap/am335x-nano.dts   | 8 ++++----
 arch/arm/boot/dts/ti/omap/am335x-pdu001.dts | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/arm/boot/dts/ti/omap/am335x-nano.dts b/arch/arm/boot/dts/ti/omap/am335x-nano.dts
index 56929059f5af..d51cdd6e1ab4 100644
--- a/arch/arm/boot/dts/ti/omap/am335x-nano.dts
+++ b/arch/arm/boot/dts/ti/omap/am335x-nano.dts
@@ -167,7 +167,7 @@ &uart1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart1_pins>;
 	status = "okay";
-	rts-gpio = <&gpio0 13 GPIO_ACTIVE_HIGH>;
+	rts-gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
 	rs485-rts-active-high;
 	rs485-rx-during-tx;
 	rs485-rts-delay = <1 1>;
@@ -178,7 +178,7 @@ &uart2 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart2_pins>;
 	status = "okay";
-	rts-gpio = <&gpio2 15 GPIO_ACTIVE_HIGH>;
+	rts-gpios = <&gpio2 15 GPIO_ACTIVE_HIGH>;
 	rs485-rts-active-high;
 	rs485-rts-delay = <1 1>;
 	linux,rs485-enabled-at-boot-time;
@@ -187,7 +187,7 @@ &uart2 {
 &uart3 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart3_pins>;
-	rts-gpio = <&gpio2 17 GPIO_ACTIVE_HIGH>;
+	rts-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
 	rs485-rts-active-high;
 	rs485-rx-during-tx;
 	rs485-rts-delay = <1 1>;
@@ -198,7 +198,7 @@ &uart3 {
 &uart4 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart4_pins>;
-	rts-gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>;
+	rts-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
 	rs485-rts-active-high;
 	rs485-rx-during-tx;
 	rs485-rts-delay = <1 1>;
diff --git a/arch/arm/boot/dts/ti/omap/am335x-pdu001.dts b/arch/arm/boot/dts/ti/omap/am335x-pdu001.dts
index ded19e24e666..f0da94a738d5 100644
--- a/arch/arm/boot/dts/ti/omap/am335x-pdu001.dts
+++ b/arch/arm/boot/dts/ti/omap/am335x-pdu001.dts
@@ -256,7 +256,7 @@ &uart0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart0_pins>;
 
-	rts-gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
+	rts-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
 	rs485-rts-active-high;
 	rs485-rts-delay = <0 0>;
 	linux,rs485-enabled-at-boot-time;
-- 
2.45.2
Re: [PATCH] ARM: dts: omap: am335x: Use non-deprecated rts-gpios
Posted by Kevin Hilman 8 months, 2 weeks ago
On Wed, 14 May 2025 14:51:59 +0200, Krzysztof Kozlowski wrote:
> The 'rts-gpio' (without trailing 's') is deprecated in favor of
> 'rts-gpios'.  Kernel supports both variants, so switch the DTS to
> preferred one.
> 
> 

Applied, thanks!

[1/1] ARM: dts: omap: am335x: Use non-deprecated rts-gpios
      commit: 30b3788330e351f0f16d484f0e7b9b816506e444

Best regards,
-- 
Kevin Hilman <khilman@baylibre.com>