Skip to content

stm32 clocksource driver rework

Benjamin Gaignard linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4clocksource: stm32: convert driver to timer_ofdrivers/clocksource/Kconfig drivers/clocksource/timer-stm32.c+72 -1080 replies
2/4clocksource: stm32: use prescaler to adjust the resolutiondrivers/clocksource/timer-stm32.c+16 -74 replies
3/4clocksource: stm32: add clocksource supportdrivers/clocksource/timer-stm32.c+86 -280 replies
4/4clocksource: stm32: Update license and copyrightdrivers/clocksource/timer-stm32.c+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] stm32 clocksource driver rework

version 10:
- do not remove 16 bits timer support
- use prescaler to get a 10KHz clock

version 9:
- rebased on timer/master where timer_of_cleanup() exist
- fix the comments done by Daniel on v8
- reword commits message to be more explicit about 16 bits counter issue
- add one patch about copyrights and licences

version 8:
- rebased on timers/core
- change timer_of_exit() name to timer_of_cleanup()
- update stm32 clocksource driver to use this function

version 7:
- reword "clocksource: stm32: only use 32 bits timers" commit message to give more details about why 16 bits are problematics.

version 6:
- add dedicated patch min delta change
- rework commit messages, I hope it will be better now
- change new function name from timer_of_deinit to timer_of_exit
- make stm32_clock_event_set_next_event() safer like done in other drivers

version 6:
- add timer_of_deinit function in core
- rework failure cases in probe function

version 5:
- rebase on top of timer/core branch
- rework commit message of the first patch

version 4:
- split patch in 3 parts
- convert code to timer_of
- only use 32 bits timers
- add clocksource support

version 3:
- fix comments done by Daniel
- use timer_of helper functions

version 2:
- fix uninitialized variable

Benjamin Gaignard (4):
clocksource: stm32: convert driver to timer_of
clocksource: stm32: use prescaler to adjust the resolution
clocksource: stm32: add clocksource support
clocksource: stm32: Update license and copyright

 drivers/clocksource/Kconfig       |   1 +
 drivers/clocksource/timer-stm32.c | 258 +++++++++++++++++++++-----------------
 2 files changed, 146 insertions(+), 113 deletions(-)
Signature · 1 line
2.15.0