Skip to content

sh: timer rewrite V4

Magnus Damm linux-sh 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5clocksource: add read2() callback and warninginclude/linux/clocksource.h kernel/time/clocksource.c kernel/time/jiffies.c+11 -34 replies
2/5clocksource: add enable() and disable() callbacksinclude/linux/clocksource.h kernel/time/timekeeping.c+40 -31 reply
3/5sh: timer base code, early timer supportarch/sh/Kconfig arch/sh/kernel/time_32.c drivers/clocksource/Makefile +2 more+125 -140 replies
4/5sh: CMT platform driver using early timerarch/sh/Kconfig drivers/clocksource/Makefile drivers/clocksource/sh_cmt.c+710 -01 reply
5/5sh: 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+160 -00 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchJohn Stultz
1/5A-b
2/5A-b
3/5
4/5A-b
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] sh: timer rewrite V4

SuperH Timer Rewrite V4:

[PATCH 01/05] clocksource: add read2() callback and warning [PATCH 02/05] clocksource: add enable() and disable() callbacks [PATCH 03/05] sh: timer base code, early timer support [PATCH 04/05] sh: CMT platform driver using early timer [PATCH 05/05] sh: enable CMT on sh7723/sh7722/sh7366/sh7343

This patchset contains the following:
- Clocksource changes - updated read2() patch, same old enable()/disable()
- Add sh_timer - early timer code for SuperH
- Add sh_cmt - platform driver for CMT using sh_timer, now without timer_inc
- Add CMT platform data for SuperH Mobile processors

---

Built on top of the arch_gettimeoffset patches.

 arch/sh/Kconfig                        |   24 -
 arch/sh/kernel/cpu/sh4a/setup-sh7343.c |   39 +
 arch/sh/kernel/cpu/sh4a/setup-sh7366.c |   39 +
 arch/sh/kernel/cpu/sh4a/setup-sh7722.c |   39 +
 arch/sh/kernel/cpu/sh4a/setup-sh7723.c |   39 +
 arch/sh/kernel/time_32.c               |   27 -
 drivers/clocksource/Makefile           |    2 
 drivers/clocksource/sh_cmt.c           |  702 ++++++++++++++++++++++++++++++++
 drivers/clocksource/sh_timer.c         |   72 +++
 include/linux/clocksource.h            |   35 +
 include/linux/sh_timer.h               |   26 +
 kernel/time/clocksource.c              |    6 
 kernel/time/jiffies.c                  |    4 
 kernel/time/timekeeping.c              |   12 
 14 files changed, 1046 insertions(+), 20 deletions(-)