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

Message ID 20240209112807.1345164-2-ole.orhagen@northern.tech
State New
Headers
Series [1/1] ARM: dts: vexpress: Set stdout-path to serial0 in the chosen node |

Commit Message

Ole Orhagen Feb. 9, 2024, 11:28 a.m. UTC
  Specify v2m_serial0 as the device for boot console output through the
stdout-path in the chosen node.

Signed-off-by: Ole P. Orhagen <ole.orhagen@northern.tech>
---
 arch/arm/boot/dts/arm/vexpress-v2p-ca9.dts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
  

Comments

Linus Walleij Feb. 9, 2024, 1:02 p.m. UTC | #1
On Fri, Feb 9, 2024 at 12:29 PM Ole P. Orhagen
<ole.orhagen@northern.tech> 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 <ole.orhagen@northern.tech>

It's also the right way to do it.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

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
  
Ole Orhagen Feb. 20, 2024, 7:30 a.m. UTC | #2
On Fri, Feb 9, 2024 at 2:02 PM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> On Fri, Feb 9, 2024 at 12:29 PM Ole P. Orhagen
> <ole.orhagen@northern.tech> 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 <ole.orhagen@northern.tech>
>
> It's also the right way to do it.
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
>
> 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.
  
Sudeep Holla Feb. 22, 2024, 7:04 a.m. UTC | #3
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
  

Patch

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;