Skip to content

mach-shmobile: Emma Mobile EV2 support V2

Magnus Damm linux-arm-kernel linux-sh lkml 1 version New

Get series with b4
b4 am 20120511194151.6567.53888.sendpatchset@w520

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6mach-shmobile: Emma Mobile EV2 SoC base support V2arch/arm/mach-shmobile/Kconfig arch/arm/mach-shmobile/Makefile arch/arm/mach-shmobile/clock-emev2.c +2 more+421 -00 replies
2/6mach-shmobile: KZM9D board support V2arch/arm/mach-shmobile/Kconfig arch/arm/mach-shmobile/Makefile arch/arm/mach-shmobile/board-kzm9d.c+41 -00 replies
3/6mach-shmobile: Emma Mobile EV2 SMP support V2arch/arm/mach-shmobile/Makefile arch/arm/mach-shmobile/board-kzm9d.c arch/arm/mach-shmobile/clock-emev2.c +4 more+165 -00 replies
4/6mach-shmobile: Emma Mobile EV2 GPIO support V2arch/arm/mach-shmobile/Kconfig arch/arm/mach-shmobile/include/mach/emev2.h arch/arm/mach-shmobile/setup-emev2.c+207 -00 replies
5/6mach-shmobile: KZM9D board Ethernet support V2arch/arm/mach-shmobile/board-kzm9d.c+43 -10 replies
6/6mach-shmobile: Emma Mobile EV2 DT support V2arch/arm/boot/dts/emev2-kzm9d.dts arch/arm/mach-shmobile/clock-emev2.c arch/arm/mach-shmobile/setup-emev2.c+117 -10 replies

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] mach-shmobile: Emma Mobile EV2 support V2

mach-shmobile: Emma Mobile EV2 support V2

[PATCH 01/06] mach-shmobile: Emma Mobile EV2 SoC base support V2 [PATCH 02/06] mach-shmobile: KZM9D board support V2 [PATCH 03/06] mach-shmobile: Emma Mobile EV2 SMP support V2 [PATCH 04/06] mach-shmobile: Emma Mobile EV2 GPIO support V2 [PATCH 05/06] mach-shmobile: KZM9D board Ethernet support V2 [PATCH 06/06] mach-shmobile: Emma Mobile EV2 DT support V2

This series are the second iteration of Emma Mobile EV2 support for mach-shmobile. Yet another dual core Cortex-A9 SoC.

At this point serial, timer and gpio are supported as platform devices. Serial and timer also come with DT bindings.

Basic SMP support is in place, but CPU hotplug and TWD needs more work.

Clocks are enabled in the case of the KZM9D board support via platform devices. In the DT case there are no clocks enabled. SMP is also missing from DT. So anyone playing around with DT will have to accept the fact that it is very limited at tis point. All features with upstream support can however be enabled via regular platform devices.

Many thanks to Arnd for his endless reviews and helpful suggestions and a lot of patience!

To build this you also need whatever included in linux-next as of 20120511 plus the following patches:

[PATCH 01/03] clockevents: Make clockevents_config() a global symbol [PATCH 02/03] clocksource: em_sti: Emma Mobile STI driver V2 [PATCH 03/03] clocksource: em_sti: Add DT support
[PATCH] gpio: Emma Mobile GPIO driver

Also, the KZM9D mach-type entry seems gone in linux-next, so I suppose we need to deal with that as well somehow.

---

Applies to linux-next 20120511

 arch/arm/boot/dts/emev2-kzm9d.dts           |   66 +++
 arch/arm/mach-shmobile/Kconfig              |   10 
 arch/arm/mach-shmobile/Makefile             |    3 
 arch/arm/mach-shmobile/board-kzm9d.c        |   81 ++++
 arch/arm/mach-shmobile/clock-emev2.c        |  249 ++++++++++++++
 arch/arm/mach-shmobile/include/mach/emev2.h |   19 +
 arch/arm/mach-shmobile/platsmp.c            |   17 +
 arch/arm/mach-shmobile/setup-emev2.c        |  454 ++++++++++++++++++++++++++-
 arch/arm/mach-shmobile/smp-emev2.c          |   97 +++++
 9 files changed, 994 insertions(+), 2 deletions(-)