]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: omap: am335x: Use non-deprecated rts-gpios
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 14 May 2025 12:51:59 +0000 (14:51 +0200)
committerKevin Hilman <khilman@baylibre.com>
Mon, 23 Jun 2025 23:07:55 +0000 (16:07 -0700)
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>
Link: https://lore.kernel.org/r/20250514125158.56285-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/ti/omap/am335x-nano.dts
arch/arm/boot/dts/ti/omap/am335x-pdu001.dts

index 56929059f5af093ee86442cc5c06ae51b332c9e6..d51cdd6e1ab40d3413d4cfdd85720bcf9f1d42c7 100644 (file)
        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>;
        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;
 &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>;
 &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>;
index ded19e24e66655b43277ea5cd8f654232b547f4b..f0da94a738d58797f5bc9e4625dcbffbeeb0cb3a 100644 (file)
        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;