Skip to content

clocksource: dw_apb_timer: support for timer variant used in rk3188 SoCs

Heiko Stübner linux-arm-kernel linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9clocksource: dw_apb_timer: infrastructure to handle quirksarch/x86/kernel/apb_timer.c drivers/clocksource/dw_apb_timer.c drivers/clocksource/dw_apb_timer_of.c +1 more+13 -80 replies
2/9clocksource: dw_apb_timer: flexible register addressesdrivers/clocksource/dw_apb_timer.c include/linux/dw_apb_timer.h+56 -320 replies
3/9clocksource: dw_apb_timer: quirk for variants with 64bit counterdrivers/clocksource/dw_apb_timer.c include/linux/dw_apb_timer.h+33 -02 replies
4/9clocksource: dw_apb_timer: use the eoi callback to clear pending interruptsdrivers/clocksource/dw_apb_timer.c+7 -41 reply
5/9clocksource: dw_apb_timer: quirk for variants without EOI registerdrivers/clocksource/dw_apb_timer.c include/linux/dw_apb_timer.h+14 -12 replies
6/9clocksource: dw_apb_timer: quirk for inverted int maskdrivers/clocksource/dw_apb_timer.c include/linux/dw_apb_timer.h+24 -52 replies
7/9clocksource: dw_apb_timer: quirk for inverted timer mode settingdrivers/clocksource/dw_apb_timer.c include/linux/dw_apb_timer.h+15 -20 replies
8/9clocksource: dw_apb_timer_of: add quirk handlingdrivers/clocksource/dw_apb_timer_of.c+15 -60 replies
9/9clocksource: dw_apb_timer: special variant for rockchip rk3188 timersDocumentation/devicetree/bindings/arm/rockchip/rk3188-timer.txt drivers/clocksource/dw_apb_timer_of.c+26 -04 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/9] clocksource: dw_apb_timer: support for timer variant used in rk3188 SoCs

The Rockchip rk3188 SoCs use a variant of the timer with some slight modifications. This series implements them as quirks for the dw_apb_timer.

Tested on a rk3188 for the quirk handling and on a rk3066a to check that nothing broke.

Heiko Stuebner (5):
clocksource: dw_apb_timer: infrastructure to handle quirks
clocksource: dw_apb_timer: flexible register addresses
clocksource: dw_apb_timer: quirk for variants with 64bit counter
clocksource: dw_apb_timer_of: add quirk handling
clocksource: dw_apb_timer: special variant for rockchip rk3188 timers

Ulrich Prinz (4):
clocksource: dw_apb_timer: use the eoi callback to clear pending interrupts
clocksource: dw_apb_timer: quirk for variants without EOI register
clocksource: dw_apb_timer: quirk for inverted int mask
clocksource: dw_apb_timer: quirk for inverted timer mode setting

 .../bindings/arm/rockchip/rk3188-timer.txt         |   20 +++
 arch/x86/kernel/apb_timer.c                        |    4 +-
 drivers/clocksource/dw_apb_timer.c                 |  166 +++++++++++++++-----
 drivers/clocksource/dw_apb_timer_of.c              |   27 +++-
 include/linux/dw_apb_timer.h                       |   34 +++-
 5 files changed, 198 insertions(+), 53 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/rockchip/rk3188-timer.txt
Signature · 1 line
1.7.10.4