* [PATCH] arm64: dts: arm: Add stdout-path
@ 2024-07-30 10:37 Debbie Martin
2024-07-31 12:14 ` Andre Przywara
2024-08-09 13:33 ` Sudeep Holla
0 siblings, 2 replies; 3+ messages in thread
From: Debbie Martin @ 2024-07-30 10:37 UTC (permalink / raw)
To: liviu.dudau, sudeep.holla, lpieralisi, robh, krzk+dt, conor+dt
Cc: linux-arm-kernel, devicetree, linux-kernel
Add stdout-path to the Arm devicetrees to specify the primary console.
This means that distributions can boot without the need for
platform-specific command line parameters i.e. they can use earlycon
with no parameters and no console argument is needed at all.
Signed-off-by: Debbie Martin <Debbie.Martin@arm.com>
---
arch/arm64/boot/dts/arm/foundation-v8.dtsi | 4 +++-
arch/arm64/boot/dts/arm/fvp-base-revc.dts | 4 +++-
arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts | 4 +++-
3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dtsi b/arch/arm64/boot/dts/arm/foundation-v8.dtsi
index 93f1e7c026b8..083be35495b3 100644
--- a/arch/arm64/boot/dts/arm/foundation-v8.dtsi
+++ b/arch/arm64/boot/dts/arm/foundation-v8.dtsi
@@ -18,7 +18,9 @@ / {
#address-cells = <2>;
#size-cells = <2>;
- chosen { };
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
aliases {
serial0 = &v2m_serial0;
diff --git a/arch/arm64/boot/dts/arm/fvp-base-revc.dts b/arch/arm64/boot/dts/arm/fvp-base-revc.dts
index 85f1c15cc65d..19973ab4ea6b 100644
--- a/arch/arm64/boot/dts/arm/fvp-base-revc.dts
+++ b/arch/arm64/boot/dts/arm/fvp-base-revc.dts
@@ -24,7 +24,9 @@ / {
#address-cells = <2>;
#size-cells = <2>;
- chosen { };
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
aliases {
serial0 = &v2m_serial0;
diff --git a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
index afdf954206f1..7f7226711d4b 100644
--- a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
+++ b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
@@ -23,7 +23,9 @@ / {
#address-cells = <2>;
#size-cells = <2>;
- chosen { };
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
aliases {
serial0 = &v2m_serial0;
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] arm64: dts: arm: Add stdout-path
2024-07-30 10:37 [PATCH] arm64: dts: arm: Add stdout-path Debbie Martin
@ 2024-07-31 12:14 ` Andre Przywara
2024-08-09 13:33 ` Sudeep Holla
1 sibling, 0 replies; 3+ messages in thread
From: Andre Przywara @ 2024-07-31 12:14 UTC (permalink / raw)
To: Debbie Martin
Cc: liviu.dudau, sudeep.holla, lpieralisi, robh, krzk+dt, conor+dt,
linux-arm-kernel, devicetree, linux-kernel
On Tue, 30 Jul 2024 11:37:58 +0100
Debbie Martin <Debbie.Martin@arm.com> wrote:
> Add stdout-path to the Arm devicetrees to specify the primary console.
> This means that distributions can boot without the need for
> platform-specific command line parameters i.e. they can use earlycon
> with no parameters and no console argument is needed at all.
Looks good to me, and aligns with what the other DTs do:
> Signed-off-by: Debbie Martin <Debbie.Martin@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Cheers,
Andre
> ---
> arch/arm64/boot/dts/arm/foundation-v8.dtsi | 4 +++-
> arch/arm64/boot/dts/arm/fvp-base-revc.dts | 4 +++-
> arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts | 4 +++-
> 3 files changed, 9 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dtsi b/arch/arm64/boot/dts/arm/foundation-v8.dtsi
> index 93f1e7c026b8..083be35495b3 100644
> --- a/arch/arm64/boot/dts/arm/foundation-v8.dtsi
> +++ b/arch/arm64/boot/dts/arm/foundation-v8.dtsi
> @@ -18,7 +18,9 @@ / {
> #address-cells = <2>;
> #size-cells = <2>;
>
> - chosen { };
> + chosen {
> + stdout-path = "serial0:115200n8";
> + };
>
> aliases {
> serial0 = &v2m_serial0;
> diff --git a/arch/arm64/boot/dts/arm/fvp-base-revc.dts b/arch/arm64/boot/dts/arm/fvp-base-revc.dts
> index 85f1c15cc65d..19973ab4ea6b 100644
> --- a/arch/arm64/boot/dts/arm/fvp-base-revc.dts
> +++ b/arch/arm64/boot/dts/arm/fvp-base-revc.dts
> @@ -24,7 +24,9 @@ / {
> #address-cells = <2>;
> #size-cells = <2>;
>
> - chosen { };
> + chosen {
> + stdout-path = "serial0:115200n8";
> + };
>
> aliases {
> serial0 = &v2m_serial0;
> diff --git a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
> index afdf954206f1..7f7226711d4b 100644
> --- a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
> +++ b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts
> @@ -23,7 +23,9 @@ / {
> #address-cells = <2>;
> #size-cells = <2>;
>
> - chosen { };
> + chosen {
> + stdout-path = "serial0:115200n8";
> + };
>
> aliases {
> serial0 = &v2m_serial0;
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] arm64: dts: arm: Add stdout-path
2024-07-30 10:37 [PATCH] arm64: dts: arm: Add stdout-path Debbie Martin
2024-07-31 12:14 ` Andre Przywara
@ 2024-08-09 13:33 ` Sudeep Holla
1 sibling, 0 replies; 3+ messages in thread
From: Sudeep Holla @ 2024-08-09 13:33 UTC (permalink / raw)
To: liviu.dudau, lpieralisi, robh, krzk+dt, conor+dt, Debbie Martin
Cc: Sudeep Holla, linux-arm-kernel, devicetree, linux-kernel
On Tue, 30 Jul 2024 11:37:58 +0100, Debbie Martin wrote:
> Add stdout-path to the Arm devicetrees to specify the primary console.
> This means that distributions can boot without the need for
> platform-specific command line parameters i.e. they can use earlycon
> with no parameters and no console argument is needed at all.
>
Applied to sudeep.holla/linux (for-next/juno/updates), thanks!
[1/1] arm64: dts: arm: Add stdout-path
https://git.kernel.org/sudeep.holla/c/9d4a984a53be
--
Regards,
Sudeep
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-09 13:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-30 10:37 [PATCH] arm64: dts: arm: Add stdout-path Debbie Martin
2024-07-31 12:14 ` Andre Przywara
2024-08-09 13:33 ` Sudeep Holla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®