devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Cc: Grant Likely
	<grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	benh-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org,
	Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>,
	Greg Kroah-Hartman
	<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>,
	Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Subject: [PATCH 0/6] DT early console initialization
Date: Thu,  8 May 2014 17:23:37 -0500	[thread overview]
Message-ID: <1399587823-17701-1-git-send-email-robherring2@gmail.com> (raw)

From: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>

This series adds support for early serial console initialization using 
DT. This enables determining the serial port type and address using the 
FDT and allows enabling the console before platform specific 
initialization runs. I've tested this on arm64. ARM support is dependent 
on adding fixmap support.

Currently, the earlycon is only enabled if "earlycon" is present on the 
kernel command line. The FDT needs to have /chosen/stdout-path set to 
the path of the serial port.

This series is dependent on generic earlycon[1], libfdt support[2], and 
vmlinux.lds.h clean-ups[3]. The first 2 are in linux-next already. A git 
branch is available here:

git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git earlycon-dt

Rob

[1] https://lkml.org/lkml/2014/4/18/573
[2] https://lkml.org/lkml/2014/4/22/1202
[3] https://lkml.org/lkml/2014/3/27/285

Rob Herring (6):
  of: align RESERVEDMEM_OF_DECLARE function callbacks to other callbacks
  of: consolidate linker section OF match table declarations
  serial: earlycon: add DT support
  of/fdt: add FDT address translation support
  of/fdt: add FDT serial scanning for earlycon
  tty/serial: pl011: add DT based earlycon support

 drivers/clocksource/clksrc-of.c   |   2 +-
 drivers/irqchip/irqchip.h         |   7 +-
 drivers/of/Makefile               |   2 +
 drivers/of/fdt.c                  |  56 +++++++++
 drivers/of/fdt_address.c          | 241 ++++++++++++++++++++++++++++++++++++++
 drivers/of/of_reserved_mem.c      |   2 +-
 drivers/tty/serial/amba-pl011.c   |   1 +
 drivers/tty/serial/earlycon.c     |  27 +++++
 include/asm-generic/vmlinux.lds.h |   4 +-
 include/linux/clk-provider.h      |   5 +-
 include/linux/clocksource.h       |  16 +--
 include/linux/of.h                |  22 ++++
 include/linux/of_fdt.h            |   1 +
 include/linux/of_reserved_mem.h   |  22 +---
 include/linux/serial_core.h       |   6 +
 15 files changed, 372 insertions(+), 42 deletions(-)
 create mode 100644 drivers/of/fdt_address.c

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2014-05-08 22:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-08 22:23 Rob Herring [this message]
2014-05-08 22:23 ` [PATCH 1/6] of: align RESERVEDMEM_OF_DECLARE function callbacks to other callbacks Rob Herring
     [not found]   ` <1399587823-17701-2-git-send-email-robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-05-09 10:46     ` Marek Szyprowski
2014-05-08 22:23 ` [PATCH 2/6] of: consolidate linker section OF match table declarations Rob Herring
2014-05-14 14:24   ` Grant Likely
2014-05-08 22:23 ` [PATCH 3/6] serial: earlycon: add DT support Rob Herring
2014-05-08 22:23 ` [PATCH 4/6] of/fdt: add FDT address translation support Rob Herring
2014-05-08 22:23 ` [PATCH 5/6] of/fdt: add FDT serial scanning for earlycon Rob Herring
2014-05-08 22:23 ` [PATCH 6/6] tty/serial: pl011: add DT based earlycon support Rob Herring
     [not found] ` <1399587823-17701-1-git-send-email-robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-05-14 14:26   ` [PATCH 0/6] DT early console initialization Grant Likely
     [not found]     ` <20140514142644.1C922C4153D-WNowdnHR2B42iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2014-05-28 16:30       ` Rob Herring
     [not found]         ` <CAL_JsqK9nifPWW5jnzYifsMuvRjhD9wTT+YbE0sPM6N4xaj1yA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-05-28 20:30           ` Greg Kroah-Hartman

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=1399587823-17701-1-git-send-email-robherring2@gmail.com \
    --to=robherring2-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=arnd-r2nGTMty4D4@public.gmane.org \
    --cc=benh-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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;
as well as URLs for NNTP newsgroup(s).