devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] tty: serial: Add earlycon support to MT8173 SoC
@ 2015-04-28 13:40 Eddie Huang
  2015-04-28 13:40 ` [PATCH v3 1/3] tty: serial: 8250: export early_serial8250_setup function Eddie Huang
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Eddie Huang @ 2015-04-28 13:40 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Matthias Brugger
  Cc: srv_heupstream, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, Catalin Marinas, Will Deacon,
	Jiri Slaby, Eddie Huang, Howard Chen, Ashwin Chaugule,
	Peter Hurley, Wang Long, Kevin Cernekee, Vineet Gupta,
	Rafael J. Wysocki, Alan Cox, devicetree, linux-arm-kernel,
	linux-kernel, linux-serial, linux-mediatek

This patch add earlycon support to MT8173 SoC platform.
To use earlycon, need
1. Add earlycon in boot parameters
2. Add "linux,sdtout-path" property in device tree file

This patch based on 4.1-rc1.

Change in v3:
Remove noinit options, not necessary, because 8250_early.c will not init hardware
if not provide baudrate.

Change v2:
1. Add noinit options.
2. Remove duplicate code in 8250_mtk.c, reuse the 8250_early.c existed function.

Eddie Huang (3):
  tty: serial: 8250: export early_serial8250_setup function
  tty: serial: 8250_mtk: Add earlycon
  arm64: dts: Add mediatek MT8173 earlycon support

 arch/arm64/boot/dts/mediatek/mt8173-evb.dts |  4 +++-
 drivers/tty/serial/8250/8250_early.c        |  2 +-
 drivers/tty/serial/8250/8250_mtk.c          | 13 +++++++++++++
 include/linux/serial_8250.h                 |  2 ++
 4 files changed, 19 insertions(+), 2 deletions(-)

-- 
1.8.1.1.dirty

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

end of thread, other threads:[~2015-04-29  8:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-28 13:40 [PATCH v3 0/3] tty: serial: Add earlycon support to MT8173 SoC Eddie Huang
2015-04-28 13:40 ` [PATCH v3 1/3] tty: serial: 8250: export early_serial8250_setup function Eddie Huang
2015-04-28 13:40 ` [PATCH v3 2/3] tty: serial: 8250_mtk: Add earlycon Eddie Huang
2015-04-28 13:40 ` [PATCH v3 3/3] arm64: dts: Add mediatek MT8173 earlycon support Eddie Huang
2015-04-29  6:44   ` Sascha Hauer
2015-04-29  8:19     ` Vineet Gupta
     [not found] ` <1430228434-31779-1-git-send-email-eddie.huang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2015-04-29  6:46   ` [PATCH v3 0/3] tty: serial: Add earlycon support to MT8173 SoC Sascha Hauer

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).