Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: m.szyprowski@samsung.com (Marek Szyprowski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] arm: dts: exynos: Add serial path for Rinato board to get earlycon support
Date: Mon, 16 Apr 2018 12:35:35 +0200	[thread overview]
Message-ID: <20180416103537.29518-1-m.szyprowski@samsung.com> (raw)
In-Reply-To: CGME20180416103544eucas1p2c393cdccdb79955b64e57ccc53456479@eucas1p2.samsung.com

Add 'chosen' node with 'stdout-path' property to instruct kernel which
serial driver should be used for kernel console/logs. This allows to
enable earlycon messages by adding just 'earlycon' parameter to kernel
command line.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
---
 arch/arm/boot/dts/exynos3250-rinato.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts
index 2c3460781cc6..2a6b828c01b7 100644
--- a/arch/arm/boot/dts/exynos3250-rinato.dts
+++ b/arch/arm/boot/dts/exynos3250-rinato.dts
@@ -24,6 +24,10 @@
 		i2c7 = &i2c_max77836;
 	};
 
+	chosen {
+		stdout-path = &serial_1;
+	};
+
 	memory at 40000000 {
 		device_type = "memory";
 		reg =  <0x40000000 0x1ff00000>;
-- 
2.15.0

       reply	other threads:[~2018-04-16 10:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20180416103544eucas1p2c393cdccdb79955b64e57ccc53456479@eucas1p2.samsung.com>
2018-04-16 10:35 ` Marek Szyprowski [this message]
2018-04-16 10:35   ` [PATCH 2/3] ARM: exynos_defconfig: enable S6E63J0X03 panel driver Marek Szyprowski
2018-04-16 12:10     ` Krzysztof Kozlowski
2018-04-16 12:10       ` Krzysztof Kozlowski
2018-04-16 18:23     ` Krzysztof Kozlowski
2018-04-16 10:35   ` [PATCH 3/3] ARM: multi_v7_config: " Marek Szyprowski
2018-04-16 18:23     ` Krzysztof Kozlowski
2018-04-16 18:20   ` [PATCH 1/3] arm: dts: exynos: Add serial path for Rinato board to get earlycon support Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180416103537.29518-1-m.szyprowski@samsung.com \
    --to=m.szyprowski@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox