devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Chanwoo Choi <cw00.choi@samsung.com>
Cc: Chanwoo Choi <cwchoi00@gmail.com>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	Mark Rutland <mark.rutland@arm.com>,
	devicetree <devicetree@vger.kernel.org>,
	linux-samsung-soc <linux-samsung-soc@vger.kernel.org>,
	Marc Zyngier <marc.zyngier@arm.com>,
	"catalin.marinas@arm.com" <catalin.marinas@arm.com>,
	Olof Johansson <olof@lixom.net>,
	"will.deacon@arm.com" <will.deacon@arm.com>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	"jh80.chung@samsung.com" <jh80.chung@samsung.com>,
	Seung-Woo Kim <sw0312.kim@samsung.com>,
	Kukjin Kim <kgene@kernel.org>,
	Abhilash Kesavan <a.kesavan@samsung.com>,
	"chanho61.park@samsung.com" <chanho61.park@samsung.com>,
	"inki.dae@samsung.com" <inki.dae@samsung.com>,
	ideal.song@samsung.com
Subject: Re: [PATCH v4 2/8] arm64: dts: exynos: Add dts files for 64-bit Exynos5433 SoC
Date: Wed, 04 Mar 2015 10:38:06 +0100	[thread overview]
Message-ID: <2449954.zWisnqDpUA@wuerfel> (raw)
In-Reply-To: <54F6AD6B.70007@samsung.com>

On Wednesday 04 March 2015 15:59:55 Chanwoo Choi wrote:
> On 03/02/2015 06:22 AM, Arnd Bergmann wrote:
> > On Saturday 28 February 2015 09:47:01 Chanwoo Choi wrote:
> >> "earlycon=exynos4210,0x14C20000" is correct bootparam. You can check
> >> it on Documentation/kernel-parameters.txt as following.
> >>
> >>      exynos4210,<addr>
> >>                 Use early console provided by serial driver available
> >>                 on Samsung SoCs, requires selecting proper type and
> >>                 a correct base address of the selected UART port. The
> >>                 serial port must already be setup and configured.
> >>                 Options are not yet supported.
> >>
> >>
> > 
> > But it's crazy to do this when you have a DT. Please fix the existing
> > devicetree files that use this to just list 'earlycon'.
> > 
> > The syntax above only makes sense for classic board files that we
> > do not support for exynos any more.
> 
> Following earlycon patch for exynos soc was merged in Linux 4.0-rc1.
> - commit-id: b94ba0328d3b36ff95f5074c0e9b44f90dc56bb5 (serial: samsung: Add support for early console)
> Almost Exynos SoC use the same UART IP of Exynos4210.
> 
> If you mean that "earlycon=exynos4210" naming will be changed to "earlycon=exynos",
> we have to modify the drivers/tty/serial/samsung.c.

No, what I mean is that you should use just "earlycon" instead of "earlycon=..."
when you have a DTB. You have the OF_EARLYCON_DECLARE() in the driver as
well, so that should just work.

EARLYCON_DECLARE() is really just a hack that allows users to override the
early console from the command line without modifying the stdout-path
property. Don't put that into a dts file.

	Arnd

  reply	other threads:[~2015-03-04  9:38 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-24  5:16 [PATCH v4 0/8] arm64: Add the support for new Exynos5433 SoC Chanwoo Choi
2015-02-24  5:16 ` [PATCH v4 1/8] arm64: exynos5433: Enable ARMv8 based Exynos5433 (SoC) support Chanwoo Choi
2015-02-24  8:31   ` Arnd Bergmann
2015-02-26  8:28     ` Chanwoo Choi
     [not found]       ` <54EED910.4010603-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-02-28  0:51         ` Chanwoo Choi
2015-02-24  5:16 ` [PATCH v4 2/8] arm64: dts: exynos: Add dts files for 64-bit Exynos5433 SoC Chanwoo Choi
2015-02-24  8:33   ` Arnd Bergmann
2015-02-24  9:01     ` Chanwoo Choi
2015-02-24  9:50       ` Arnd Bergmann
2015-02-24 12:15         ` Chanwoo Choi
2015-02-24  8:35   ` Arnd Bergmann
2015-02-24  8:52     ` Chanwoo Choi
2015-02-24  9:48       ` Arnd Bergmann
2015-02-24 11:04         ` Chanwoo Choi
2015-02-24 11:59           ` Arnd Bergmann
2015-02-26  8:18             ` Chanwoo Choi
2015-02-26  8:42               ` Chanwoo Choi
2015-02-26 15:42               ` Arnd Bergmann
2015-02-28  0:47                 ` Chanwoo Choi
2015-03-01 21:22                   ` Arnd Bergmann
2015-03-04  6:59                     ` Chanwoo Choi
2015-03-04  9:38                       ` Arnd Bergmann [this message]
2015-03-04 10:11                         ` Chanwoo Choi
2015-02-24  5:16 ` [PATCH v4 3/8] arm64: dts: exynos: Add MSHC dt node for Exynos5433 Chanwoo Choi
2015-02-24  5:16 ` [PATCH v4 4/8] arm64: dts: exynos: Add SPI/PDMA " Chanwoo Choi
2015-02-24  5:16 ` [PATCH v4 5/8] arm64: dts: exynos: Add PMU " Chanwoo Choi
2015-02-24  5:16 ` [PATCH v4 6/8] arm64: dts: exynos: Add RTC and ADC dt node for Exynos5433 SoC Chanwoo Choi
2015-02-24  5:16 ` [PATCH v4 7/8] arm64: dts: exynos: Add ADMA " Chanwoo Choi
2015-02-24  5:16 ` [PATCH v4 8/8] arm64: dts: exynos: Add I2S " Chanwoo Choi

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=2449954.zWisnqDpUA@wuerfel \
    --to=arnd@arndb.de \
    --cc=a.kesavan@samsung.com \
    --cc=catalin.marinas@arm.com \
    --cc=chanho61.park@samsung.com \
    --cc=cw00.choi@samsung.com \
    --cc=cwchoi00@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=ideal.song@samsung.com \
    --cc=inki.dae@samsung.com \
    --cc=jh80.chung@samsung.com \
    --cc=kgene@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=marc.zyngier@arm.com \
    --cc=mark.rutland@arm.com \
    --cc=olof@lixom.net \
    --cc=sw0312.kim@samsung.com \
    --cc=will.deacon@arm.com \
    /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;
as well as URLs for NNTP newsgroup(s).