Skip to content

Support the timer on RK3368 SoC

Caesar Wang linux-arm-kernel linux-devicetree linux-rockchip lkml 2 versions – Applied

Status from this message: applied this patch to my dts64 branch for 4.5 .

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 13 repliesApplied
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- As Heiko/Daniel comments, let's split it into two patch.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4clocksource: rockchip: Make the driver more compatibledrivers/clocksource/rockchip_timer.c+4 -410 replies
2/4clocksource: rockchip: trivial: Make the driver more readabilitydrivers/clocksource/rockchip_timer.c+10 -91 reply
3/4arm64: Enable the timer on Rockchip architecturearch/arm64/Kconfig.platforms+1 -01 reply
4/4arm64: dts: rockchip: Add the needed timer for RK3368 SoCarch/arm64/boot/dts/rockchip/rk3368.dtsi+6 -01 reply

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchDaniel LezcanoCaesar Wang
1/4A-b T-b
2/4A-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] Support the timer on RK3368 SoC

Timer0~11 count up from zero to a programmed value and generate an interrupt when the count reaches the programmed value.

TIMER0, TIMER1, TIMER2, Timer3, TIMER4 and TIMER5 are in the CPU subsystem, using timer ch0 ~ ch5 respectively. The timer clock is 24MHz OSC.

This series are found on RK3368 SoC, verified on rk3368 evb board.

Changes in v2:
- As Heiko/Daniel comments, let's split it into two patch.

Changes in v1:
- As Russell, Thomas, Daniel comments, let's replace NO_IRQ by '!irq'.
- As the Heiko comments, add the "rockchip,rk3368-timer" for timer. Although the 'rockchip,rk3288-timer' is working for RK3368, need to add the 'rockchip,rk3368-timer' for the rk3368-spec timer in the future.

Caesar Wang (4):
clocksource: rockchip: Make the driver more compatible
clocksource: rockchip: trivial: Make the driver more readability
arm64: Enable the timer on Rockchip architecture
arm64: dts: rockchip: Add the needed timer for RK3368 SoC

 arch/arm64/Kconfig.platforms             |  1 +
 arch/arm64/boot/dts/rockchip/rk3368.dtsi |  6 ++++++
 drivers/clocksource/rockchip_timer.c     | 27 ++++++++++++++-------------
 3 files changed, 21 insertions(+), 13 deletions(-)
Signature · 1 line
1.9.1