ARM: shmobile: shmobile_init_delay() conversion
Get series with b4
b4 am 20140820130201.32075.45257.sendpatchset@w520Versions newest first
- v1 Latest10 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | ARM: shmobile: sh7372: Update DTS to include CPU frequencyarch/ | +1 | 2 replies | |
| 2/10 | ARM: shmobile: sh73a0: Update DTS to include CPU frequencyarch/ | +2 | 0 replies | |
| 3/10 | ARM: shmobile: r8a7778: Update DTS to include CPU frequencyarch/ | +6 | 0 replies | |
| 4/10 | ARM: shmobile: sh7372: Use shmobile_init_delay()arch/ | +1 | 0 replies | |
| 5/10 | ARM: shmobile: sh73a0: Use shmobile_init_delay()arch/ | +1 | 0 replies | |
| 6/10 | ARM: shmobile: r8a7778: Use shmobile_init_delay()arch/ | +1 | 0 replies | |
| 7/10 | ARM: shmobile: r8a73a4: Use shmobile_init_delay()arch/ arch/ | +1 | 0 replies | |
| 8/10 | ARM: shmobile: Remove shmobile_setup_delay()arch/ arch/ | +2 | 0 replies | |
| 9/10 | ARM: shmobile: bockw: Use shmobile_init_delay()arch/ arch/ | +2 | 0 replies | |
| 10/10 | ARM: shmobile: kzm9g: Use shmobile_init_delay()arch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] ARM: shmobile: shmobile_init_delay() conversion
ARM: shmobile: shmobile_init_delay() conversion
[PATCH 01/10] ARM: shmobile: sh7372: Update DTS to include CPU frequency [PATCH 02/10] ARM: shmobile: sh73a0: Update DTS to include CPU frequency [PATCH 03/10] ARM: shmobile: r8a7778: Update DTS to include CPU frequency [PATCH 04/10] ARM: shmobile: sh7372: Use shmobile_init_delay() [PATCH 05/10] ARM: shmobile: sh73a0: Use shmobile_init_delay() [PATCH 06/10] ARM: shmobile: r8a7778: Use shmobile_init_delay() [PATCH 07/10] ARM: shmobile: r8a73a4: Use shmobile_init_delay() [PATCH 08/10] ARM: shmobile: Remove shmobile_setup_delay() [PATCH 09/10] ARM: shmobile: bockw: Use shmobile_init_delay() [PATCH 10/10] ARM: shmobile: kzm9g: Use shmobile_init_delay()
Convert the ARM mach-shmobile subarch to use shmobile_init_delay() together with CPU Frequency information in DTS instead of specifying these things in C. Remove the now redundant shmobile_setup_delay().
Merge-wise, for this to remain bisectable patch 1-3 needs to be merged first (DTS) - any order is however fine. After that patch 4-7 can be applied in any order (SoC) followed by any order of the last patches 8-10 (core + board).
After this one more SoC series is needed to remove local now unused delay functions, but it needs to happen after the board code in patch 9 and 10 are merged, so to avoid cicular dependecy this has been omitted for now.
---
Written on top of renesas-devel-20140820-v3.17-rc1
Untested, but should be safe enough. Seems to build with shmobile_defconfig.
arch/arm/boot/dts/r8a7778.dtsi | 6 ++++++ arch/arm/boot/dts/sh7372.dtsi | 1 + arch/arm/boot/dts/sh73a0.dtsi | 2 ++ arch/arm/mach-shmobile/board-bockw-reference.c | 2 +- arch/arm/mach-shmobile/board-bockw.c | 2 +- arch/arm/mach-shmobile/board-kzm9g-reference.c | 2 +- arch/arm/mach-shmobile/common.h | 2 -- arch/arm/mach-shmobile/r8a73a4.h | 1 - arch/arm/mach-shmobile/setup-r8a73a4.c | 9 +-------- arch/arm/mach-shmobile/setup-r8a7778.c | 2 +- arch/arm/mach-shmobile/setup-sh7372.c | 2 +- arch/arm/mach-shmobile/setup-sh73a0.c | 2 +- arch/arm/mach-shmobile/timer.c | 21 ++------------------- 13 files changed, 18 insertions(+), 36 deletions(-)