Skip to content

ARM: shmobile: KZM9D Multiplatform update

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

Get series with b4
b4 am 20131001103255.813.65710.sendpatchset@w520

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ARM: shmobile: Sync KZM9D DTS with KZM9D reference DTSarch/arm/boot/dts/emev2-kzm9d.dts+32 -13 replies
2/5ARM: shmobile: Use KZM9D without reference for multiplatformarch/arm/mach-shmobile/Kconfig arch/arm/mach-shmobile/Makefile+6 -81 reply
3/5ARM: shmobile: Remove non-multiplatform KZM9D reference supportarch/arm/mach-shmobile/Kconfig arch/arm/mach-shmobile/Makefile arch/arm/mach-shmobile/Makefile.boot+0 -141 reply
4/5ARM: shmobile: Let KZM9D multiplatform boot with KZM9D DTBarch/arm/mach-shmobile/board-kzm9d-reference.c+1 -01 reply
5/5ARM: shmobile: Remove KDM9D reference DTSarch/arm/boot/dts/Makefile arch/arm/boot/dts/emev2-kzm9d-reference.dts+1 -591 reply

Reviews trailers per patch

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

PatchLaurent Pinchart
SeriesA-b
1/5
2/5
3/5
4/5
5/5

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

Read the v1 thread

Cover letter [PATCH 00/05] ARM: shmobile: KZM9D Multiplatform update

ARM: shmobile: KZM9D Multiplatform update

[PATCH 01/05] ARM: shmobile: Sync KZM9D DTS with KZM9D reference DTS [PATCH 02/05] ARM: shmobile: Use KZM9D without reference for multiplatform [PATCH 03/05] ARM: shmobile: Remove non-multiplatform KZM9D reference support [PATCH 04/05] ARM: shmobile: Let KZM9D multiplatform boot with KZM9D DTB [PATCH 05/05] ARM: shmobile: Remove KDM9D reference DTS

This series updates mach-shmobile and the KZM9D board code to propose a way forward for future CCF-enabled multiplatform board support.

With this series applied the following rules apply:

- CONFIG_ARCH_MULTIPLATFORM=y is used to enable multiplatform
- CONFIG_ARCH_SHMOBILE_MULTI=y is used in case of multiplatform build
- CONFIG_ARCH SHMOBILE=y is used in case of legacy non-multiplatform build
- CONFIG_MACH_KZM9D=y enables KZM9D board support regardless of multiplatform
- In case of multiplatform build board-kzm9d-reference.c is used
- In case of legacy non-multiplatform build board-kzm9d.c is used
- KZM9D reference can no longer be built for non-multiplatform
- CONFIG_MACH_KZM9D_REFERENCE actually no longer exists
- emev2-kzm9d-reference.dts has been removed, use emev2-kzm9d.dts instead
- The same emev2-kzm9d.dts is used regardless of kernel configuration
- emev2-kzm9d.dtb can be used with legacy non-multiplatform
- emev2-kzm9d.dtb can be used with multiplatform

In practice the above means that legacy board code users can keep on using existing emev2-kzm9d.dtb as-is, but when updating to multiplatform kernel the DTB needs to be updated as well and from that point the DTB needs to be updated whenever new hardware is added.

The above seems pretty straight forward from my point of view, so I propose that we follow the same style for future multiplatform board support.

Before merging this series I'd like to see Yoshii-san's CCF patches for KZM9D and EMEV2 to be finalized and picked up.

---

Written against renesas.git tag renesas-devel-20131001 and [PATCH 00/10] ARM: shmobile: r8a7791 SoC and Koelsch update V2 plus selected CCF patches from Yoshii-san.

 arch/arm/boot/dts/Makefile                     |    3 -
 arch/arm/boot/dts/emev2-kzm9d-reference.dts    |   57 ------------------------
 arch/arm/boot/dts/emev2-kzm9d.dts              |   33 +++++++++++++
 arch/arm/mach-shmobile/Kconfig                 |   22 ---------
 arch/arm/mach-shmobile/Makefile                |    5 +-
 arch/arm/mach-shmobile/Makefile.boot           |    1 
 arch/arm/mach-shmobile/board-kzm9d-reference.c |    1