2024-02-09 11:29:28

by Ole Orhagen

[permalink] [raw]
Subject: [PATCH 1/1] ARM: dts: vexpress: Set stdout-path to serial0 in the chosen node

Specify v2m_serial0 as the device for boot console output through the
stdout-path in the chosen node.

Signed-off-by: Ole P. Orhagen <[email protected]>
---
arch/arm/boot/dts/arm/vexpress-v2p-ca9.dts | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/arm/vexpress-v2p-ca9.dts b/arch/arm/boot/dts/arm/vexpress-v2p-ca9.dts
index 5916e4877eac..8bf35666412b 100644
--- a/arch/arm/boot/dts/arm/vexpress-v2p-ca9.dts
+++ b/arch/arm/boot/dts/arm/vexpress-v2p-ca9.dts
@@ -20,7 +20,9 @@ / {
#address-cells = <1>;
#size-cells = <1>;

- chosen { };
+ chosen {
+ stdout-path = &v2m_serial0;
+ };

aliases {
serial0 = &v2m_serial0;
--
2.43.0



2024-02-09 13:05:01

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH 1/1] ARM: dts: vexpress: Set stdout-path to serial0 in the chosen node

On Fri, Feb 9, 2024 at 12:29 PM Ole P. Orhagen
<[email protected]> wrote:

> Specify v2m_serial0 as the device for boot console output through the
> stdout-path in the chosen node.
>
> Signed-off-by: Ole P. Orhagen <[email protected]>

It's also the right way to do it.
Reviewed-by: Linus Walleij <[email protected]>

Sudeep: are you queueing Vexpress DTS changes or do you want me
to handle it with other Versatile-ish ARM DTS stuff?

Yours,
Linus Walleij

2024-02-20 07:31:33

by Ole Orhagen

[permalink] [raw]
Subject: Re: [PATCH 1/1] ARM: dts: vexpress: Set stdout-path to serial0 in the chosen node

On Fri, Feb 9, 2024 at 2:02 PM Linus Walleij <[email protected]> wrote:
>
> On Fri, Feb 9, 2024 at 12:29 PM Ole P. Orhagen
> <[email protected]> wrote:
>
> > Specify v2m_serial0 as the device for boot console output through the
> > stdout-path in the chosen node.
> >
> > Signed-off-by: Ole P. Orhagen <[email protected]>
>
> It's also the right way to do it.
> Reviewed-by: Linus Walleij <[email protected]>
>
> Sudeep: are you queueing Vexpress DTS changes or do you want me
> to handle it with other Versatile-ish ARM DTS stuff?
>
> Yours,
> Linus Walleij


Is there anything else I need to do here, or can I consider this a
valid handoff and forget about it?

Yours,
Ole P.

2024-02-22 07:05:06

by Sudeep Holla

[permalink] [raw]
Subject: Re: [PATCH 1/1] ARM: dts: vexpress: Set stdout-path to serial0 in the chosen node

On Fri, 09 Feb 2024 12:28:01 +0100, Ole P. Orhagen wrote:
> Specify v2m_serial0 as the device for boot console output through the
> stdout-path in the chosen node.

Applied to sudeep.holla/linux (for-next/vexpress/updates), thanks!

[1/1] ARM: dts: vexpress: Set stdout-path to serial0 in the chosen node
https://git.kernel.org/sudeep.holla/c/bd2cb11fd765
--
Regards,
Sudeep