Share clock framework code between SH and SH-Mobile ARM
Get series with b4
b4 am 20100325070742.24148.57892.sendpatchset@t400sVersions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | ARM: mach-shmobile: Makefile update for old clock codearch/ | +6 | 0 replies | |
| 2/6 | sh: move sh asm/clock.h contents to linux/sh_clk.harch/ arch/ arch/ +1 more | +174 | 0 replies | |
| 3/6 | sh: move sh clock.c contents to drivers/sh/clk.carch/ drivers/ drivers/ +1 more | +652 | 0 replies | |
| 4/6 | sh: move sh clock-cpg.c contents to drivers/sh/clk-cpg.carch/ arch/ drivers/ +1 more | +297 | 0 replies | |
| 5/6 | ARM: mach-shmobile: SH-Mobile ARM specific clock codearch/ arch/ arch/ | +38 | 0 replies | |
| 6/6 | ARM: mach-shmobile: initial sh7372 clock frameworkarch/ arch/ arch/ +2 more | +314 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/06] Share clock framework code between SH and SH-Mobile ARM
Share clock framework code between SH and SH-Mobile ARM
[PATCH 01/06] ARM: mach-shmobile: Makefile update for old clock code [PATCH 02/06] sh: move sh asm/clock.h contents to linux/sh_clk.h [PATCH 03/06] sh: move sh clock.c contents to drivers/sh/clk.c [PATCH 04/06] sh: move sh clock-cpg.c contents to drivers/sh/clk-cpg.c [PATCH 05/06] ARM: mach-shmobile: SH-Mobile ARM specific clock code [PATCH 06/06] ARM: mach-shmobile: initial sh7372 clock framework
These patches moves the SH clock framework to drivers/sh so it can be shared between SH and SH-Mobile ARM. On top of this initial clock framework support is added for the sh7372 processor.
I expect to have to rework some and rebase most of these patches, let me know if you have any ideas on how to share the code in a better way.
---
arch/arm/mach-shmobile/Kconfig | 5 arch/arm/mach-shmobile/Makefile | 16 arch/arm/mach-shmobile/board-ap4evb.c | 16 arch/arm/mach-shmobile/clock-sh7372.c | 297 +++++++++++ arch/arm/mach-shmobile/clock.c | 33 + arch/arm/mach-shmobile/include/mach/common.h | 1 arch/arm/mach-shmobile/setup-sh7372.c | 2 arch/sh/include/asm/clock.h | 167 ------ arch/sh/kernel/cpu/Makefile | 2 arch/sh/kernel/cpu/clock-cpg.c | 291 ----------- arch/sh/kernel/cpu/clock.c | 629 ------------------------- drivers/sh/Makefile | 3 drivers/sh/clk-cpg.c | 294 +++++++++++ drivers/sh/clk.c | 650 ++++++++++++++++++++++++++ include/linux/sh_clk.h | 172 ++++++ 15 files changed, 1484 insertions(+), 1094 deletions(-)