Skip to content

Generic earlyconsole for ARC UART Driver

Vineet Gupta linux-devicetree linux-serial lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 6 repliesIn review
  2. v19 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10serial/arc: use uart_console_write() helperdrivers/tty/serial/arc_uart.c+4 -140 replies
2/10serial/arc: Refactor by referencing to uart_port where possibledrivers/tty/serial/arc_uart.c+69 -860 replies
3/10serial/arc: Remove the workaround for legacy ISSdrivers/tty/serial/arc_uart.c+0 -140 replies
4/10serial/arc: Use generic earlycon infrastructuredrivers/tty/serial/Kconfig drivers/tty/serial/arc_uart.c+31 -00 replies
5/10serial/arc: remove earlyprintk support and switch to earlyconarch/arc/boot/dts/angel4.dts drivers/tty/serial/arc_uart.c+13 -760 replies
6/10serial/arc: remove last remanants of platform datadrivers/tty/serial/arc_uart.c+6 -163 replies
7/10serial/arc: inline the probe helperdrivers/tty/serial/arc_uart.c+40 -500 replies
8/10ARC: [arcfpga] RIP early uart platform device stuffarch/arc/plat-arcfpga/Kconfig arch/arc/plat-arcfpga/platform.c+2 -1020 replies
9/10serial/arc: Enable DT based earlycondrivers/tty/serial/arc_uart.c+1 -00 replies
10/10ARC: [arcfpga] stdout-path now suffices for earlycon/consolearch/arc/boot/dts/angel4.dts+2 -10 replies

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRob Herring
SeriesR-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 REBASED 00/10] Generic earlyconsole for ARC UART Driver

Hi,

This is slightly modified repost of series posted last week
http://www.spinics.net/lists/linux-serial/msg12884.html

This series switches ARC UART from custom earlyprintk support to generic earlycon (many thanks to Rob for doing that). And also build on Grant's recent work for using DT stdout-path as default console.

The motivation is to get rid of the early platform code, which in turn would help consolidate the init code across several ARC platforms.

First 3 patches are general cleanup/refactoring, not necesarily related to earlycon.

v2 <- v1
--------
* Rebased on linux-next: 20140623
* Patch 9 split into 9 and 10 for driver/platform changes
* Patch 10 also uses the DT stdout-path so no need for console=

Thx,
-Vineet

Vineet Gupta (10):
serial/arc: use uart_console_write() helper serial/arc: Refactor by referencing to uart_port where possible serial/arc: Remove the workaround for legacy ISS serial/arc: Use generic earlycon infrastructure serial/arc: remove earlyprintk support and switch to earlycon serial/arc: remove last remanants of platform data serial/arc: inline the probe helper
ARC: [arcfpga] RIP early uart platform device stuff serial/arc: Enable DT based earlycon
ARC: [arcfpga] stdout-path now suffices for earlycon/console

 arch/arc/boot/dts/angel4.dts     |   3 +-
 arch/arc/plat-arcfpga/Kconfig    |   7 -
 arch/arc/plat-arcfpga/platform.c |  97 +-----------
 drivers/tty/serial/Kconfig       |   1 +
 drivers/tty/serial/arc_uart.c    | 329 ++++++++++++++-------------------------
 5 files changed, 123 insertions(+), 314 deletions(-)
Signature · 1 line
1.8.3.2