Skip to content

sh: timer rewrite V5

Magnus Damm linux-sh 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sh: CONFIG_SH_TIMER supportarch/sh/Kconfig arch/sh/include/asm/timer.h arch/sh/kernel/time_32.c+44 -140 replies
2/3sh: CMT early platform driverarch/sh/Kconfig drivers/clocksource/Makefile drivers/clocksource/sh_cmt.c +1 more+723 -00 replies
3/3sh: enable CMT on sh7723/sh7722/sh7366/sh7343arch/sh/Kconfig arch/sh/kernel/cpu/sh4a/setup-sh7343.c arch/sh/kernel/cpu/sh4a/setup-sh7366.c +2 more+164 -00 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/03] sh: timer rewrite V5

SuperH Timer Rewrite V5:

[PATCH 01/03] sh: CONFIG_SH_TIMER support
[PATCH 02/03] sh: CMT early platform driver
[PATCH 03/03] sh: enable CMT on sh7723/sh7722/sh7366/sh7343

This patchset is another iteration which simply disconnects the clocksource patches and makes use of early platform drivers. The early platform driver patch and read(), enable/disable() and arch_gettimeoffset clocksource patches can be found on lkml.

---

 arch/sh/Kconfig                        |   24 -
 arch/sh/include/asm/timer.h            |    4 
 arch/sh/kernel/cpu/sh4a/setup-sh7343.c |   40 +
 arch/sh/kernel/cpu/sh4a/setup-sh7366.c |   40 +
 arch/sh/kernel/cpu/sh4a/setup-sh7722.c |   40 +
 arch/sh/kernel/cpu/sh4a/setup-sh7723.c |   40 +
 arch/sh/kernel/time_32.c               |   41 +
 drivers/clocksource/Makefile           |    1 
 drivers/clocksource/sh_cmt.c           |  702 ++++++++++++++++++++++++++++++++
 include/linux/sh_cmt.h                 |   13 
 10 files changed, 931 insertions(+), 14 deletions(-)