2018-08-20 21:09:15

by Tuomas Tynkkynen

[permalink] [raw]
Subject: [PATCH v2] ARM: dts: imx6qdl-wandboard: Add stdout-path

Setting a stdout-path in the .dtb is convenient because then the user
gets a serial console on the RS-232 connector without any extra effort
of figuring out the relevant 'console=' boot parameter.

Reviewed-by: Fabio Estevam <[email protected]>
Signed-off-by: Tuomas Tynkkynen <[email protected]>
---
v2: Make subject line consistent
---
arch/arm/boot/dts/imx6qdl-wandboard.dtsi | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl-wandboard.dtsi b/arch/arm/boot/dts/imx6qdl-wandboard.dtsi
index e1afa54404d0..0ef34c31f7c6 100644
--- a/arch/arm/boot/dts/imx6qdl-wandboard.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-wandboard.dtsi
@@ -8,6 +8,10 @@
#include <dt-bindings/gpio/gpio.h>

/ {
+ chosen {
+ stdout-path = &uart1;
+ };
+
regulators {
compatible = "simple-bus";
#address-cells = <1>;
--
2.16.3



2018-08-27 07:39:20

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH v2] ARM: dts: imx6qdl-wandboard: Add stdout-path

On Tue, Aug 21, 2018 at 12:07:18AM +0300, Tuomas Tynkkynen wrote:
> Setting a stdout-path in the .dtb is convenient because then the user
> gets a serial console on the RS-232 connector without any extra effort
> of figuring out the relevant 'console=' boot parameter.
>
> Reviewed-by: Fabio Estevam <[email protected]>
> Signed-off-by: Tuomas Tynkkynen <[email protected]>

Applied, thanks.