Skip to content

dw_apb_timer: osc as sched_clock, clocks and clocksource_of support

Heiko Stübner linux-arm-kernel linux-devicetree lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 11 repliesIn review
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- hopefully improve the patch description of patch 1
after a suggestion by Linus Walleij
- move the selection of DW_APB_TIMER and CLKSRC_OF into DW_APB_TIMER_OF after a suggestion by Baruch Siach

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4clocksource: dw_apb_timer_of: enable the use the clocksource as sched clockdrivers/clocksource/dw_apb_timer_of.c+17 -92 replies
2/4clocksource: dw_apb_timer_of: add clock-handlingDocumentation/devicetree/bindings/rtc/dw-apb.txt drivers/clocksource/dw_apb_timer_of.c+44 -11 reply
3/4clocksource: dw_apb_timer_of: select DW_APB_TIMERarch/arm/mach-picoxcell/Kconfig arch/arm/mach-socfpga/Kconfig drivers/clocksource/Kconfig+1 -21 reply
4/4clocksource: dw_apb_timer_of: use clocksource_of_initarch/arm/mach-picoxcell/common.c arch/arm/mach-socfpga/socfpga.c drivers/clocksource/Kconfig +2 more+21 -262 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRob HerringArnd BergmannLinus WalleijJamie IlesDinh Nguyen
SeriesA-b
1/4A-b A-b
2/4A-b
3/4A-b
4/4A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/4] dw_apb_timer: osc as sched_clock, clocks and clocksource_of support

This is split off of my Rockchip support series from yesterday. It's now a patch more than before, as the third patch enables the timer to be used thru clocksource_of_init and moves picoxcell and socfpga to it.

changes since v1:
- hopefully improve the patch description of patch 1
after a suggestion by Linus Walleij
- move the selection of DW_APB_TIMER and CLKSRC_OF into DW_APB_TIMER_OF after a suggestion by Baruch Siach

Heiko Stuebner (4):
clocksource: dw_apb_timer_of: enable the use the clocksource as sched clock
clocksource: dw_apb_timer_of: add clock-handling
clocksource: dw_apb_timer_of: select DW_APB_TIMER
clocksource: dw_apb_timer_of: use clocksource_of_init

 Documentation/devicetree/bindings/rtc/dw-apb.txt |   19 +++++
 arch/arm/mach-picoxcell/Kconfig                  |    1 -
 arch/arm/mach-picoxcell/common.c                 |    2 -
 arch/arm/mach-socfpga/Kconfig                    |    1 -
 arch/arm/mach-socfpga/socfpga.c                  |    2 -
 drivers/clocksource/Kconfig                      |    2 +
 drivers/clocksource/dw_apb_timer_of.c            |   95 ++++++++++++++-------
 include/linux/dw_apb_timer.h                     |    1 -
 8 files changed, 84 insertions(+), 39 deletions(-)
Signature · 1 line
1.7.2.3