* [PATCH v1] arm64: dts: k3-am625-verdin: enable Verdin UART2
@ 2023-11-21 16:04 Parth Pancholi
2023-11-23 7:12 ` Nishanth Menon
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Parth Pancholi @ 2023-11-21 16:04 UTC (permalink / raw)
To: devicetree, linux-arm-kernel, linux-kernel
Cc: Francesco Dolcini, Marcel Ziswiler, Parth Pancholi, Conor Dooley,
Krzysztof Kozlowski, Nishanth Menon, Rob Herring, Tero Kristo,
Vignesh Raghavendra
From: Parth Pancholi <parth.pancholi@toradex.com>
Enable UART2 for AM62 based SOM's Verdin carrier boards Dahlia,
Development and Yavia.
Earlier Verdin UART2 was reserved by R5 DM firmware which can be now
configured using boardcfg during U-boot compilation in the latest TI
SDKs. In a default config, no one writes to this UART.
Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
---
arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi | 3 +--
arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi | 3 +--
arch/arm64/boot/dts/ti/k3-am62-verdin-yavia.dtsi | 3 +--
3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi b/arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi
index 013357d17d48..bf6d27e70bc4 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi
@@ -214,6 +214,5 @@ &verdin_gpio_keys {
/* Verdin UART_2 */
&wkup_uart0 {
- /* FIXME: WKUP UART0 is used by DM firmware */
- status = "reserved";
+ status = "okay";
};
diff --git a/arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi b/arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi
index 6701cb8974bb..680071688dcb 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi
@@ -235,6 +235,5 @@ &verdin_gpio_keys {
/* Verdin UART_2 */
&wkup_uart0 {
- /* FIXME: WKUP UART0 is used by DM firmware */
- status = "reserved";
+ status = "okay";
};
diff --git a/arch/arm64/boot/dts/ti/k3-am62-verdin-yavia.dtsi b/arch/arm64/boot/dts/ti/k3-am62-verdin-yavia.dtsi
index c685df7deaee..997dfafd27eb 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-verdin-yavia.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-verdin-yavia.dtsi
@@ -207,6 +207,5 @@ &verdin_gpio_keys {
/* Verdin UART_2 */
&wkup_uart0 {
- /* FIXME: WKUP UART0 is used by DM firmware */
- status = "reserved";
+ status = "okay";
};
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v1] arm64: dts: k3-am625-verdin: enable Verdin UART2
2023-11-21 16:04 [PATCH v1] arm64: dts: k3-am625-verdin: enable Verdin UART2 Parth Pancholi
@ 2023-11-23 7:12 ` Nishanth Menon
2023-11-23 8:58 ` Francesco Dolcini
2023-11-23 9:00 ` Francesco Dolcini
2023-12-04 21:13 ` Nishanth Menon
2 siblings, 1 reply; 5+ messages in thread
From: Nishanth Menon @ 2023-11-23 7:12 UTC (permalink / raw)
To: Parth Pancholi
Cc: devicetree, linux-arm-kernel, linux-kernel, Francesco Dolcini,
Marcel Ziswiler, Parth Pancholi, Conor Dooley,
Krzysztof Kozlowski, Rob Herring, Tero Kristo,
Vignesh Raghavendra
On 17:04-20231121, Parth Pancholi wrote:
> From: Parth Pancholi <parth.pancholi@toradex.com>
>
> Enable UART2 for AM62 based SOM's Verdin carrier boards Dahlia,
> Development and Yavia.
> Earlier Verdin UART2 was reserved by R5 DM firmware which can be now
> configured using boardcfg during U-boot compilation in the latest TI
> SDKs. In a default config, no one writes to this UART.
>
> Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
>
> ---
>
> arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi | 3 +--
> arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi | 3 +--
> arch/arm64/boot/dts/ti/k3-am62-verdin-yavia.dtsi | 3 +--
> 3 files changed, 3 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi b/arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi
> index 013357d17d48..bf6d27e70bc4 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi
> @@ -214,6 +214,5 @@ &verdin_gpio_keys {
>
> /* Verdin UART_2 */
> &wkup_uart0 {
> - /* FIXME: WKUP UART0 is used by DM firmware */
> - status = "reserved";
> + status = "okay";
> };
> diff --git a/arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi b/arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi
> index 6701cb8974bb..680071688dcb 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi
> @@ -235,6 +235,5 @@ &verdin_gpio_keys {
>
> /* Verdin UART_2 */
> &wkup_uart0 {
> - /* FIXME: WKUP UART0 is used by DM firmware */
> - status = "reserved";
> + status = "okay";
> };
> diff --git a/arch/arm64/boot/dts/ti/k3-am62-verdin-yavia.dtsi b/arch/arm64/boot/dts/ti/k3-am62-verdin-yavia.dtsi
> index c685df7deaee..997dfafd27eb 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62-verdin-yavia.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62-verdin-yavia.dtsi
> @@ -207,6 +207,5 @@ &verdin_gpio_keys {
>
> /* Verdin UART_2 */
> &wkup_uart0 {
> - /* FIXME: WKUP UART0 is used by DM firmware */
> - status = "reserved";
> + status = "okay";
> };
> --
> 2.34.1
>
Do the &pinctrl_wkup_uart0 in verdin.dtsi hold good through these
variants?
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1] arm64: dts: k3-am625-verdin: enable Verdin UART2
2023-11-23 7:12 ` Nishanth Menon
@ 2023-11-23 8:58 ` Francesco Dolcini
0 siblings, 0 replies; 5+ messages in thread
From: Francesco Dolcini @ 2023-11-23 8:58 UTC (permalink / raw)
To: Nishanth Menon
Cc: Parth Pancholi, devicetree, linux-arm-kernel, linux-kernel,
Francesco Dolcini, Marcel Ziswiler, Parth Pancholi, Conor Dooley,
Krzysztof Kozlowski, Rob Herring, Tero Kristo,
Vignesh Raghavendra
Hello Nishanth,
On Thu, Nov 23, 2023 at 01:12:35AM -0600, Nishanth Menon wrote:
> On 17:04-20231121, Parth Pancholi wrote:
> > /* Verdin UART_2 */
> > &wkup_uart0 {
> > - /* FIXME: WKUP UART0 is used by DM firmware */
> > - status = "reserved";
> > + status = "okay";
> > };
> > --
> > 2.34.1
> >
>
> Do the &pinctrl_wkup_uart0 in verdin.dtsi hold good through these
> variants?
Yes.
Let me add a little bit of context.
In general the way the Verdin AM62 (and Toradex SOM) is designed is that
we have a standard pinmuxing on the module edge connector (SODIMM) and
normally the carrier board that is mated with just implements it.
It's absolutely possible to redefine it all, but to maximize
compatibility across the family what we do at most is to reconfigure
some pins as GPIO.
Francesco
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1] arm64: dts: k3-am625-verdin: enable Verdin UART2
2023-11-21 16:04 [PATCH v1] arm64: dts: k3-am625-verdin: enable Verdin UART2 Parth Pancholi
2023-11-23 7:12 ` Nishanth Menon
@ 2023-11-23 9:00 ` Francesco Dolcini
2023-12-04 21:13 ` Nishanth Menon
2 siblings, 0 replies; 5+ messages in thread
From: Francesco Dolcini @ 2023-11-23 9:00 UTC (permalink / raw)
To: Parth Pancholi
Cc: devicetree, linux-arm-kernel, linux-kernel, Francesco Dolcini,
Marcel Ziswiler, Parth Pancholi, Conor Dooley,
Krzysztof Kozlowski, Nishanth Menon, Rob Herring, Tero Kristo,
Vignesh Raghavendra
On Tue, Nov 21, 2023 at 05:04:36PM +0100, Parth Pancholi wrote:
> From: Parth Pancholi <parth.pancholi@toradex.com>
>
> Enable UART2 for AM62 based SOM's Verdin carrier boards Dahlia,
> Development and Yavia.
> Earlier Verdin UART2 was reserved by R5 DM firmware which can be now
> configured using boardcfg during U-boot compilation in the latest TI
> SDKs. In a default config, no one writes to this UART.
>
> Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Francesco
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1] arm64: dts: k3-am625-verdin: enable Verdin UART2
2023-11-21 16:04 [PATCH v1] arm64: dts: k3-am625-verdin: enable Verdin UART2 Parth Pancholi
2023-11-23 7:12 ` Nishanth Menon
2023-11-23 9:00 ` Francesco Dolcini
@ 2023-12-04 21:13 ` Nishanth Menon
2 siblings, 0 replies; 5+ messages in thread
From: Nishanth Menon @ 2023-12-04 21:13 UTC (permalink / raw)
To: devicetree, linux-arm-kernel, linux-kernel, Parth Pancholi
Cc: Nishanth Menon, Francesco Dolcini, Marcel Ziswiler,
Parth Pancholi, Conor Dooley, Krzysztof Kozlowski, Rob Herring,
Tero Kristo, Vignesh Raghavendra
Hi Parth Pancholi,
On Tue, 21 Nov 2023 17:04:36 +0100, Parth Pancholi wrote:
> Enable UART2 for AM62 based SOM's Verdin carrier boards Dahlia,
> Development and Yavia.
> Earlier Verdin UART2 was reserved by R5 DM firmware which can be now
> configured using boardcfg during U-boot compilation in the latest TI
> SDKs. In a default config, no one writes to this UART.
>
>
> [...]
I have applied the following to branch ti-k3-dts-next on [1].
Thank you!
[1/1] arm64: dts: k3-am625-verdin: enable Verdin UART2
commit: 26e0124683c000c2a197204e0fdc68e553298bff
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-12-04 21:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-21 16:04 [PATCH v1] arm64: dts: k3-am625-verdin: enable Verdin UART2 Parth Pancholi
2023-11-23 7:12 ` Nishanth Menon
2023-11-23 8:58 ` Francesco Dolcini
2023-11-23 9:00 ` Francesco Dolcini
2023-12-04 21:13 ` Nishanth Menon
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).