public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx: Add missing chosen/stdout-path
@ 2018-06-25 20:09 Leonard Crestez
  2018-07-01  9:46 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Leonard Crestez @ 2018-06-25 20:09 UTC (permalink / raw)
  To: linux-arm-kernel

This makes it possible to enable earlycon for debugging by just passing
an empty "earlycon" argument on the kernel command-line.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>

---
 arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 4 ++++
 arch/arm/boot/dts/imx6sl-evk.dts         | 4 ++++
 arch/arm/boot/dts/imx6sll-evk.dts        | 4 ++++
 arch/arm/boot/dts/imx7d-sdb.dts          | 4 ++++
 4 files changed, 16 insertions(+)

This patch adds stdout-path to some of the basic imx6 evaluation boards
which were missing this property.

Patch against shawnguo/imx/dt because it also touches the newly-added
imx6sll-evk.

Let me know if you want me to split this instead.

diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
index a59a0fd1eb02..9f11f1fcc3e6 100644
--- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
@@ -4,10 +4,14 @@
 // Copyright 2011 Linaro Ltd.
 
 #include <dt-bindings/gpio/gpio.h>
 
 / {
+	chosen {
+		stdout-path = &uart4;
+	};
+
 	memory at 10000000 {
 		reg = <0x10000000 0x80000000>;
 	};
 
 	leds {
diff --git a/arch/arm/boot/dts/imx6sl-evk.dts b/arch/arm/boot/dts/imx6sl-evk.dts
index 92ad01f676e3..50bdc65670a3 100644
--- a/arch/arm/boot/dts/imx6sl-evk.dts
+++ b/arch/arm/boot/dts/imx6sl-evk.dts
@@ -10,10 +10,14 @@
 
 / {
 	model = "Freescale i.MX6 SoloLite EVK Board";
 	compatible = "fsl,imx6sl-evk", "fsl,imx6sl";
 
+	chosen {
+		stdout-path = &uart1;
+	};
+
 	memory at 80000000 {
 		reg = <0x80000000 0x40000000>;
 	};
 
 	backlight_display: backlight_display {
diff --git a/arch/arm/boot/dts/imx6sll-evk.dts b/arch/arm/boot/dts/imx6sll-evk.dts
index 4684ac4a816b..25438ea03092 100644
--- a/arch/arm/boot/dts/imx6sll-evk.dts
+++ b/arch/arm/boot/dts/imx6sll-evk.dts
@@ -13,10 +13,14 @@
 
 / {
 	model = "Freescale i.MX6SLL EVK Board";
 	compatible = "fsl,imx6sll-evk", "fsl,imx6sll";
 
+	chosen {
+		stdout-path = &uart1;
+	};
+
 	memory at 80000000 {
 		reg = <0x80000000 0x80000000>;
 	};
 
 	backlight {
diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts
index 9f9e6a1e3b72..fe61218eec6f 100644
--- a/arch/arm/boot/dts/imx7d-sdb.dts
+++ b/arch/arm/boot/dts/imx7d-sdb.dts
@@ -8,10 +8,14 @@
 
 / {
 	model = "Freescale i.MX7 SabreSD Board";
 	compatible = "fsl,imx7d-sdb", "fsl,imx7d";
 
+	chosen {
+		stdout-path = &uart1;
+	};
+
 	memory at 80000000 {
 		reg = <0x80000000 0x80000000>;
 	};
 
 	gpio-keys {
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: dts: imx: Add missing chosen/stdout-path
  2018-06-25 20:09 [PATCH] ARM: dts: imx: Add missing chosen/stdout-path Leonard Crestez
@ 2018-07-01  9:46 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2018-07-01  9:46 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jun 25, 2018 at 11:09:32PM +0300, Leonard Crestez wrote:
> This makes it possible to enable earlycon for debugging by just passing
> an empty "earlycon" argument on the kernel command-line.
> 
> Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-01  9:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-25 20:09 [PATCH] ARM: dts: imx: Add missing chosen/stdout-path Leonard Crestez
2018-07-01  9:46 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox