ARM: add clock api to sp804 and smp_twd timers
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesNew
- v13 patches 0 repliesSuperseded
Changes in v2 from the cover letter
Implement comments from Russell.
Use clk_get_sys to get twd clock.
Allow independent clocks for timer-sp clocksource and clockevent timers.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ARM: move timer-sp.c from versatile to commonarch/ arch/ arch/ +6 more | +7 | 0 replies | |
| 2/3 | ARM: timer-sp: support timer clock freq other than 1MHzarch/ arch/ arch/ +4 more | +37 | 1 reply | |
| 2/3 | ARM: timer-sp: support timer clock freq other than 1MHz | +0 | 0 replies | |
| 3/3 | ARM: twd_smp: add clock api supportarch/ arch/ | +12 | 1 reply | |
| 3/3 | ARM: twd_smp: add clock api support | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] ARM: add clock api to sp804 and smp_twd timers
From: Rob Herring <[email protected]>
Changes from v1:
Implement comments from Russell.
Use clk_get_sys to get twd clock.
Allow independent clocks for timer-sp clocksource and clockevent timers.
Rob Herring (3):
ARM: move timer-sp.c from versatile to common
ARM: timer-sp: support timer clock freq other than 1MHz
ARM: twd_smp: add clock api support
arch/arm/common/Makefile | 1 +
arch/arm/{plat-versatile => common}/timer-sp.c | 38 +++++++++++++++-------
arch/arm/include/asm/hardware/timer-sp.h | 2 +
arch/arm/include/asm/smp_twd.h | 1 +
arch/arm/kernel/smp_twd.c | 11 ++++++
arch/arm/mach-integrator/integrator_cp.c | 6 ++--
arch/arm/mach-realview/core.c | 6 ++--
arch/arm/mach-versatile/core.c | 6 ++--
arch/arm/mach-vexpress/ct-ca9x4.c | 6 ++--
arch/arm/mach-vexpress/v2m.c | 6 ++--
arch/arm/plat-versatile/Makefile | 1 -
arch/arm/plat-versatile/include/plat/timer-sp.h | 2 -
12 files changed, 56 insertions(+), 30 deletions(-)
rename arch/arm/{plat-versatile => common}/timer-sp.c (81%)
create mode 100644 arch/arm/include/asm/hardware/timer-sp.h
delete mode 100644 arch/arm/plat-versatile/include/plat/timer-sp.h