[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240627125713.gnesqkrilb2ihv7u@heritage>
Date: Thu, 27 Jun 2024 07:57:13 -0500
From: Nishanth Menon <nm@...com>
To: Jonathan Humphreys <j-humphreys@...com>
CC: Vignesh Raghavendra <vigneshr@...com>, Conor Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Rob Herring <robh@...nel.org>, <linux-kernel@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
Tero Kristo <kristo@...nel.org>, Andrew Davis <afd@...com>
Subject: Re: [PATCH] arm64: dts: ti: k3-am642-evm/sk: Set serial console
settings for stdout-path
On 15:51-20240617, Jonathan Humphreys wrote:
> Set serial console UART settings in the DT so that generic distros will
> work even if the OS loader doesn't explicitly pass it.
>
> Signed-off-by: Jonathan Humphreys <j-humphreys@...com>
> ---
> arch/arm64/boot/dts/ti/k3-am642-evm.dts | 2 +-
> arch/arm64/boot/dts/ti/k3-am642-sk.dts | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am642-evm.dts b/arch/arm64/boot/dts/ti/k3-am642-evm.dts
> index e20e4ffd0f1f..d63293d85d5f 100644
> --- a/arch/arm64/boot/dts/ti/k3-am642-evm.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am642-evm.dts
> @@ -18,7 +18,7 @@ / {
> model = "Texas Instruments AM642 EVM";
>
> chosen {
> - stdout-path = &main_uart0;
> + stdout-path = "serial2:115200n8";
> };
>
> aliases {
> diff --git a/arch/arm64/boot/dts/ti/k3-am642-sk.dts b/arch/arm64/boot/dts/ti/k3-am642-sk.dts
> index 5b028b3a3192..c23730c395b5 100644
> --- a/arch/arm64/boot/dts/ti/k3-am642-sk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am642-sk.dts
> @@ -18,7 +18,7 @@ / {
> model = "Texas Instruments AM642 SK";
>
> chosen {
> - stdout-path = &main_uart0;
> + stdout-path = "serial2:115200n8";
let the baudrate and uart settings be set by userspace as desired. Also
see commit 6b343136388fe1ef5837e45ab921705de76665ee
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
Powered by blists - more mailing lists