linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 -next 00/14] OF earlycon cleanup
@ 2015-03-06 19:25 Peter Hurley
  2015-03-06 19:25 ` [PATCH v2 -next 01/14] of: earlycon: Fix 'stdout-path' with ':' path terminator Peter Hurley
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Peter Hurley @ 2015-03-06 19:25 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Grant Likely
  Cc: linux-serial, linux-kernel, Peter Hurley

I thought I'd respin this to address the bugs in v1.

I'm still having an open conversation with Rob Herring about the
OF_EARLYCON_DECLARE macro and earlycon console names.

* Changes from v1 *

- Rebase on top of device-tree compiler patch submission,
  "libfdt: Add fdt_path_offset_namelen()"
- Fixed x86 build breakage, conditionally compile of_setup_earlycon();
  Note: this should have already been the case since of_setup_earlycon()
  is dead code without CONFIG_OF_EARLY_FLATTREE
- Fixed Geert's suggestion to change the printf specifier for ->mapbase
- Fixed initial console index value for earlycon name without trailing
  numerals


Hi Greg, Grant & Rob,

This patch series builds on my earlier "Extensible console matching &
direct earlycon" to add several useful features to earlycon:
* Proper port i/o configuration from DT node with of_serial properties
  (such as reg-io-width, reg-shift and reg-offset)
* Proper console name & index initialization from earlycon name
  (for both command line and DT-defined earlycons)
* Support for DT 'stdout-path' options pass-through to earlycon setup
* Improved log messages for troubleshooting
* Support for multiple OF earlycon declarations so different
  compatible strings can specify the same OF earlycon

Lastly, this patch series adds an omap8250 OF earlycon. I don't think
the last patch requires the "Split 8250 driver" to work but it won't
apply cleanly without it.

Requires: 1) "libfdt: Add fdt_path_offset_namelen()"
	  2) the last patch which adds omap8250 earlycon requires some
	     kind of fixmap support, such as "ARM: early fixmap support
	     for earlycon", which has not yet been accepted upstream.

Regards,

Peter Hurley (14):
  of: earlycon: Fix 'stdout-path' with ':' path terminator
  serial: earlycon: Fixup earlycon console name and index
  serial: earlycon: Emit earlycon name in the OF table
  of: earlycon: Fixup earlycon console name and index
  of: earlycon: Add options string handling
  of: earlycon: of_setup_earlycon() requires CONFIG_OF_EARLY_FLATTREE
  of: earlycon: Initialize port fields from DT properties
  of: earlycon: Move address translation to of_setup_earlycon()
  serial: earlycon: Common log banner for command line and DT
  serial: earlycon: Show the earlycon "driver" in banner
  of: earlycon: Allow multiple OF_EARLYCON_DECLARE() with same name
  of: earlycon: Log more helpful message if earlycon not found
  serial: 8250_early: Use port->regshift
  serial: 8250_omap: Add omap8250 earlycon

 drivers/of/fdt.c                     |  18 +++----
 drivers/of/fdt_address.c             |  11 +++-
 drivers/tty/serial/8250/8250_early.c |  29 +++++++++-
 drivers/tty/serial/earlycon.c        | 100 ++++++++++++++++++++++++++++-------
 include/linux/of_fdt.h               |   2 +-
 include/linux/serial_core.h          |  20 +++++--
 6 files changed, 144 insertions(+), 36 deletions(-)

-- 
2.3.1

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

end of thread, other threads:[~2015-03-06 19:25 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-06 19:25 [PATCH v2 -next 00/14] OF earlycon cleanup Peter Hurley
2015-03-06 19:25 ` [PATCH v2 -next 01/14] of: earlycon: Fix 'stdout-path' with ':' path terminator Peter Hurley
2015-03-06 19:25 ` [PATCH v2 -next 02/14] serial: earlycon: Fixup earlycon console name and index Peter Hurley
2015-03-06 19:25 ` [PATCH v2 -next 03/14] serial: earlycon: Emit earlycon name in the OF table Peter Hurley
2015-03-06 19:25 ` [PATCH v2 -next 04/14] of: earlycon: Fixup earlycon console name and index Peter Hurley
2015-03-06 19:25 ` [PATCH v2 -next 05/14] of: earlycon: Add options string handling Peter Hurley
2015-03-06 19:25 ` [PATCH v2 -next 06/14] of: earlycon: of_setup_earlycon() requires CONFIG_OF_EARLY_FLATTREE Peter Hurley
2015-03-06 19:25 ` [PATCH v2 -next 07/14] of: earlycon: Initialize port fields from DT properties Peter Hurley
2015-03-06 19:25 ` [PATCH v2 -next 08/14] of: earlycon: Move address translation to of_setup_earlycon() Peter Hurley
2015-03-06 19:25 ` [PATCH v2 -next 09/14] serial: earlycon: Common log banner for command line and DT Peter Hurley
2015-03-06 19:25 ` [PATCH v2 -next 10/14] serial: earlycon: Show the earlycon "driver" in banner Peter Hurley
2015-03-06 19:25 ` [PATCH v2 -next 11/14] of: earlycon: Allow multiple OF_EARLYCON_DECLARE() with same name Peter Hurley
2015-03-06 19:25 ` [PATCH v2 -next 12/14] of: earlycon: Log more helpful message if earlycon not found Peter Hurley
2015-03-06 19:25 ` [PATCH v2 -next 13/14] serial: 8250_early: Use port->regshift Peter Hurley
2015-03-06 19:25 ` [PATCH v2 -next 14/14] serial: 8250_omap: Add omap8250 earlycon Peter Hurley

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