Skip to content

early platform patches

Magnus Damm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11early platform driver V3Documentation/driver-model/platform.txt drivers/base/platform.c include/linux/init.h +2 more+347 -10 replies
2/11sh: add plat_early_device_setup() functionarch/sh/include/asm/device.h arch/sh/kernel/setup.c+9 -00 replies
3/11sh: plat_early_device_setup() for sh2arch/sh/kernel/cpu/sh2/setup-sh7619.c+5 -00 replies
4/11sh: plat_early_device_setup() for sh2aarch/sh/kernel/cpu/sh2a/setup-mxg.c arch/sh/kernel/cpu/sh2a/setup-sh7201.c arch/sh/kernel/cpu/sh2a/setup-sh7203.c +1 more+20 -00 replies
5/11sh: plat_early_device_setup() for sh3arch/sh/kernel/cpu/sh3/setup-sh7705.c arch/sh/kernel/cpu/sh3/setup-sh770x.c arch/sh/kernel/cpu/sh3/setup-sh7710.c +1 more+20 -00 replies
6/11sh: plat_early_device_setup() for sh4arch/sh/kernel/cpu/sh4/setup-sh4-202.c arch/sh/kernel/cpu/sh4/setup-sh7750.c arch/sh/kernel/cpu/sh4/setup-sh7760.c+15 -00 replies
7/11sh: plat_early_device_setup() for sh4aarch/sh/kernel/cpu/sh4a/setup-sh7343.c arch/sh/kernel/cpu/sh4a/setup-sh7366.c arch/sh/kernel/cpu/sh4a/setup-sh7722.c +6 more+45 -00 replies
8/11sh: add early platform support for earlyprintkarch/sh/kernel/setup.c+3 -00 replies
9/11sh-sci: add early platform supportarch/sh/Kconfig.debug arch/sh/kernel/early_printk.c drivers/serial/sh-sci.c+41 -1760 replies
10/11sh: add early platform support for earlytimerarch/sh/kernel/time_32.c+11 -00 replies
11/11sh_cmt: add early platform supportdrivers/clocksource/sh_cmt.c+16 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 000/011] early platform patches

early platform patches

[PATCH 001/011] early platform driver V3
[PATCH 002/011] sh: add plat_early_device_setup() function [PATCH 003/011] sh: plat_early_device_setup() for sh2 [PATCH 004/011] sh: plat_early_device_setup() for sh2a [PATCH 005/011] sh: plat_early_device_setup() for sh3 [PATCH 006/011] sh: plat_early_device_setup() for sh4 [PATCH 007/011] sh: plat_early_device_setup() for sh4a [PATCH 008/011] sh: add early platform support for earlyprintk [PATCH 009/011] sh-sci: add early platform support [PATCH 010/011] sh: add early platform support for earlytimer [PATCH 011/011] sh_cmt: add early platform support

These patches add early platform driver support to the serial port driver and the CMT timer driver on the SuperH architecture.

The following patch sets posted to linuxsh-dev are required:

- [PATCH 000/013] sh-sci: platform device, clock and console changes
- [PATCH 00/05] sh: timer patches

The early platform driver V3 patch is a replacement for V2 in -mm.

Thanks for the feedback so far, more is always welcome. =)

---

 Documentation/driver-model/platform.txt |   59 +++++++
 arch/sh/Kconfig.debug                   |   27 ---
 arch/sh/include/asm/device.h            |    2 
 arch/sh/kernel/cpu/sh2/setup-sh7619.c   |    5 
 arch/sh/kernel/cpu/sh2a/setup-mxg.c     |    5 
 arch/sh/kernel/cpu/sh2a/setup-sh7201.c  |    5 
 arch/sh/kernel/cpu/sh2a/setup-sh7203.c  |    5 
 arch/sh/kernel/cpu/sh2a/setup-sh7206.c  |    5 
 arch/sh/kernel/cpu/sh3/setup-sh7705.c   |    5 
 arch/sh/kernel/cpu/sh3/setup-sh770x.c   |    5 
 arch/sh/kernel/cpu/sh3/setup-sh7710.c   |    5 
 arch/sh/kernel/cpu/sh3/setup-sh7720.c   |    5 
 arch/sh/kernel/cpu/sh4/setup-sh4-202.c  |    5 
 arch/sh/kernel/cpu/sh4/setup-sh7750.c   |    5 
 arch/sh/kernel/cpu/sh4/setup-sh7760.c   |    5 
 arch/sh/kernel/cpu/sh4a/setup-sh7343.c  |    5 
 arch/sh/kernel/cpu/sh4a/setup-sh7366.c  |    5 
 arch/sh/kernel/cpu/sh4a/setup-sh7722.c  |    5 
 arch/sh/kernel/cpu/sh4a/setup-sh7723.c  |    5 
 arch/sh/kernel/cpu/sh4a/setup-sh7763.c  |    5 
 arch/sh/kernel/cpu/sh4a/setup-sh7770.c  |    5 
 arch/sh/kernel/cpu/sh4a/setup-sh7780.c  |    5 
 arch/sh/kernel/cpu/sh4a/setup-sh7785.c  |    5 
 arch/sh/kernel/cpu/sh4a/setup-shx3.c    |    5 
 arch/sh/kernel/early_printk.c           |  142 ------------------
 arch/sh/kernel/setup.c                  |   10 +
 arch/sh/kernel/time_32.c                |   11 +
 drivers/base/platform.c                 |  239 +++++++++++++++++++++++++++++++
 drivers/clocksource/sh_cmt.c            |   18 ++
 drivers/serial/sh-sci.c                 |   49 +++++-
 include/linux/init.h                    |    1 
 include/linux/platform_device.h         |   42 +++++
 init/main.c                             |    7 
 33 files changed, 533 insertions(+), 179 deletions(-)