Devicetree
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: Jonathan Humphreys <j-humphreys@ti.com>
Cc: Vignesh Raghavendra <vigneshr@ti.com>,
	Conor Dooley <conor+dt@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Rob Herring <robh@kernel.org>, <linux-kernel@vger.kernel.org>,
	<devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	Tero Kristo <kristo@kernel.org>, Andrew Davis <afd@ti.com>
Subject: Re: [PATCH] arm64: dts: ti: k3-am642-evm/sk: Set serial console settings for stdout-path
Date: Thu, 27 Jun 2024 07:57:13 -0500	[thread overview]
Message-ID: <20240627125713.gnesqkrilb2ihv7u@heritage> (raw)
In-Reply-To: <20240617205143.3147509-1-j-humphreys@ti.com>

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@ti.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

      reply	other threads:[~2024-06-27 12:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-17 20:51 [PATCH] arm64: dts: ti: k3-am642-evm/sk: Set serial console settings for stdout-path Jonathan Humphreys
2024-06-27 12:57 ` Nishanth Menon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240627125713.gnesqkrilb2ihv7u@heritage \
    --to=nm@ti.com \
    --cc=afd@ti.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=j-humphreys@ti.com \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox