Skip to content

ARM: rockchip: provide the watchdog with a clock

Heiko Stübner linux-arm-kernel 1 version New

Get series with b4
b4 am 1736604.toH3biuFW2@phil

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3clk: rockchip: add id for watchdog pclk on rk3288include/dt-bindings/clock/rk3288-cru.h+1 -01 reply
2/3clk: rockchip: add a dummy clock for the watchdog pclk on rk3288drivers/clk/rockchip/clk-rk3288.c+8 -01 reply
3/3ARM: dts: rockchip: add rk3288 watchdog clockarch/arm/boot/dts/rk3288.dtsi+1 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDoug Anderson
1/3R-b
2/3R-b T-b
3/3R-b T-b

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 0/3] ARM: rockchip: provide the watchdog with a clock

The snps,dw-wdt needs to read the clock-rate of its supplying clock for some operations. The clock itself is based on pclk_pd_alive and is indeed gateable. The caveat is that the gate is living in the so-called secure-GRF, which isn't even writeable in some boot-modes.

But to have an actual clock reference to the correct clock, implement a fixed-factor clock, to be substituted when we can control the actual gate safely.

Heiko Stuebner (3):
clk: rockchip: add id for watchdog pclk on rk3288
clk: rockchip: add a dummy clock for the watchdog pclk on rk3288
ARM: dts: rockchip: add rk3288 watchdog clock

 arch/arm/boot/dts/rk3288.dtsi          | 1 +
 drivers/clk/rockchip/clk-rk3288.c      | 8 ++++++++
 include/dt-bindings/clock/rk3288-cru.h | 1 +
 3 files changed, 10 insertions(+)
Signature · 1 line
2.1.1