linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: ti: k3-am625-beagleplay: Use UART name in pinmux name
@ 2023-06-01 18:44 Andrew Davis
  2023-06-01 19:17 ` Robert Nelson
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Davis @ 2023-06-01 18:44 UTC (permalink / raw)
  To: Nishanth Menon, Vignesh Raghavendra, Rob Herring,
	Krzysztof Kozlowski
  Cc: linux-arm-kernel, devicetree, linux-kernel, Andrew Davis

The main_uart0 may not always be the console, but it will always be
the UART0 in MAIN domain. Name the pinmux node to match. This makes
it consistent with all other TI SoC based boards.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
index cb46c38ce2cc1..29c51705c2f17 100644
--- a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
+++ b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
@@ -397,7 +397,7 @@ AM62X_IOPAD(0x01a8, PIN_INPUT, 7) /* (D20) MCASP0_AFSX.GPIO1_12 */
 		>;
 	};
 
-	console_pins_default: console-pins-default {
+	main_uart0_pins_default: main-uart0-pins-default {
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x01c8, PIN_INPUT, 0) /* (D14) UART0_RXD */
 			AM62X_IOPAD(0x01cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */
@@ -736,7 +736,7 @@ wlcore: wlcore@2 {
 
 &main_uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&console_pins_default>;
+	pinctrl-0 = <&main_uart0_pins_default>;
 	status = "okay";
 };
 
-- 
2.39.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: ti: k3-am625-beagleplay: Use UART name in pinmux name
  2023-06-01 18:44 [PATCH] arm64: dts: ti: k3-am625-beagleplay: Use UART name in pinmux name Andrew Davis
@ 2023-06-01 19:17 ` Robert Nelson
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Nelson @ 2023-06-01 19:17 UTC (permalink / raw)
  To: Andrew Davis, Tony Lindgren
  Cc: Nishanth Menon, Vignesh Raghavendra, Rob Herring,
	Krzysztof Kozlowski, linux-arm-kernel, devicetree, linux-kernel

Andew, since we are touching this section, do you want to match with
@Tony Lindgren rename changes here in omap...

https://www.spinics.net/lists/linux-omap/msg166406.html

Regards,

On Thu, Jun 1, 2023 at 1:56 PM Andrew Davis <afd@ti.com> wrote:
>
> The main_uart0 may not always be the console, but it will always be
> the UART0 in MAIN domain. Name the pinmux node to match. This makes
> it consistent with all other TI SoC based boards.
>
> Signed-off-by: Andrew Davis <afd@ti.com>
> ---
>  arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
> index cb46c38ce2cc1..29c51705c2f17 100644
> --- a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
> @@ -397,7 +397,7 @@ AM62X_IOPAD(0x01a8, PIN_INPUT, 7) /* (D20) MCASP0_AFSX.GPIO1_12 */
>                 >;
>         };
>
> -       console_pins_default: console-pins-default {
> +       main_uart0_pins_default: main-uart0-pins-default {
>                 pinctrl-single,pins = <
>                         AM62X_IOPAD(0x01c8, PIN_INPUT, 0) /* (D14) UART0_RXD */
>                         AM62X_IOPAD(0x01cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */
> @@ -736,7 +736,7 @@ wlcore: wlcore@2 {
>
>  &main_uart0 {
>         pinctrl-names = "default";
> -       pinctrl-0 = <&console_pins_default>;
> +       pinctrl-0 = <&main_uart0_pins_default>;
>         status = "okay";
>  };
>
> --
> 2.39.2
>


-- 
Robert Nelson
https://rcn-ee.com/

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-01 19:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-01 18:44 [PATCH] arm64: dts: ti: k3-am625-beagleplay: Use UART name in pinmux name Andrew Davis
2023-06-01 19:17 ` Robert Nelson

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).