Skip to content

ARM: Initial SuperH Mobile ARM support

Magnus Damm linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ARM: SuperH Mobile ARM, sh7367 and G3EVM supportarch/arm/Kconfig arch/arm/Makefile arch/arm/mach-shmobile/Kconfig +19 more+724 -06 replies
2/6ARM: Add sh7377 and G4EVM supportarch/arm/mach-shmobile/Kconfig arch/arm/mach-shmobile/Makefile arch/arm/mach-shmobile/board-g4evm.c +2 more+407 -00 replies
3/6ARM: Add sh7372 and AP4EVB supportarch/arm/mach-shmobile/Kconfig arch/arm/mach-shmobile/Makefile arch/arm/mach-shmobile/board-ap4evb.c +3 more+389 -01 reply
4/6sh: Build drivers/sh for SuperH Mobile ARMdrivers/Makefile+1 -00 replies
5/6sh: Let INTC set IRQF_VALID on ARM platformsdrivers/sh/intc.c+5 -01 reply
6/6sh-sci: Preliminary SuperH Mobile ARM supportdrivers/serial/Kconfig drivers/serial/sh-sci.h+19 -61 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/06] ARM: Initial SuperH Mobile ARM support

ARM: Initial SuperH Mobile ARM support

[PATCH 01/06] ARM: SuperH Mobile ARM, sh7367 and G3EVM support [PATCH 02/06] ARM: Add sh7377 and G4EVM support [PATCH 03/06] ARM: Add sh7372 and AP4EVB support [PATCH 04/06] sh: Build drivers/sh for SuperH Mobile ARM [PATCH 05/06] sh: Let INTC set IRQF_VALID on ARM platforms [PATCH 06/06] sh-sci: Preliminary SuperH Mobile ARM support

Here comes a set of SuperH Mobile ARM patches. Nothing ground breaking really, just the bare minimum to get a kernel up and running with serial and timer on G3EVM, G4EVM and AP4EVB.

Features:
- Console: Serial console using drivers/serial/sh-sci.c
- Timer: Early platform driver using drivers/clocksource/sh_cmt.c
- Interrupts: Minimal INTC support using drivers/sh/intc.c
- Clocks: Dummy static implementation to enable above drivers
- Defconfigs: Omitted for now to simplify review

On top of this there will be a bunch of feature patches for the interrupt controller, gpio, clock framework, runtime pm and of course driver support.

I intend to throw this into a git repository at some point, but I may have to rework these patches a bit first depending on feedback.

Please let me know if there is anything you want me to rework and perhaps if you have some shared ARM code that you want me to spend time on. Thanks!

---

 arch/arm/Kconfig                                  |    7 
 arch/arm/Makefile                                 |    1 
 arch/arm/mach-shmobile/Kconfig                    |   81 ++++++
 arch/arm/mach-shmobile/Makefile                   |   16 +
 arch/arm/mach-shmobile/Makefile.boot              |    9 
 arch/arm/mach-shmobile/board-ap4evb.c             |  127 ++++++++++
 arch/arm/mach-shmobile/board-g3evm.c              |  127 ++++++++++
 arch/arm/mach-shmobile/board-g4evm.c              |  127 ++++++++++
 arch/arm/mach-shmobile/clock-sh7367.c             |   89 +++++++
 arch/arm/mach-shmobile/include/mach/clkdev.h      |    7 
 arch/arm/mach-shmobile/include/mach/common.h      |   19 +
 arch/arm/mach-shmobile/include/mach/dma.h         |    1 
 arch/arm/mach-shmobile/include/mach/entry-macro.S |   39 +++
 arch/arm/mach-shmobile/include/mach/gpio.h        |    1 
 arch/arm/mach-shmobile/include/mach/hardware.h    |    7 
 arch/arm/mach-shmobile/include/mach/io.h          |    9 
 arch/arm/mach-shmobile/include/mach/irqs.h        |   10 
 arch/arm/mach-shmobile/include/mach/memory.h      |    7 
 arch/arm/mach-shmobile/include/mach/system.h      |   14 +
 arch/arm/mach-shmobile/include/mach/timex.h       |    6 
 arch/arm/mach-shmobile/include/mach/uncompress.h  |   21 +
 arch/arm/mach-shmobile/include/mach/vmalloc.h     |    6 
 arch/arm/mach-shmobile/setup-sh7367.c             |  241 +++++++++++++++++++
 arch/arm/mach-shmobile/setup-sh7372.c             |  241 +++++++++++++++++++
 arch/arm/mach-shmobile/setup-sh7377.c             |  260 +++++++++++++++++++++
 arch/arm/mach-shmobile/timer.c                    |   46 +++
 arch/arm/tools/mach-types                         |    1 
 drivers/Makefile                                  |    1 
 drivers/serial/Kconfig                            |    2 
 drivers/serial/sh-sci.h                           |   23 +
 drivers/sh/intc.c                                 |    5 
 31 files changed, 1545 insertions(+), 6 deletions(-)