devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: rockchip: add timer0 clocks on rk3368
@ 2021-04-24 19:19 Ezequiel Garcia
  2021-04-24 19:19 ` [PATCH 2/2] dt-bindings: timer: convert rockchip,rk-timer.txt to YAML Ezequiel Garcia
  0 siblings, 1 reply; 6+ messages in thread
From: Ezequiel Garcia @ 2021-04-24 19:19 UTC (permalink / raw)
  To: linux-rockchip, devicetree
  Cc: Heiko Stuebner, Kever Yang, Daniel Lezcano, Rob Herring,
	Ezequiel Garcia, kernel

The timer driver requires pclk and sclk clocks
to be present in the device tree node, so add them.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
---
 arch/arm64/boot/dts/rockchip/rk3368.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
index 242f821a90ba..548be81c9d3f 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
@@ -668,6 +668,8 @@ timer0: timer@ff810000 {
 		compatible = "rockchip,rk3368-timer", "rockchip,rk3288-timer";
 		reg = <0x0 0xff810000 0x0 0x20>;
 		interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&cru PCLK_TIMER0>, <&cru SCLK_TIMER00>;
+		clock-names = "pclk", "timer";
 	};
 
 	spdif: spdif@ff880000 {
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-04-29 20:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-24 19:19 [PATCH 1/2] arm64: dts: rockchip: add timer0 clocks on rk3368 Ezequiel Garcia
2021-04-24 19:19 ` [PATCH 2/2] dt-bindings: timer: convert rockchip,rk-timer.txt to YAML Ezequiel Garcia
2021-04-26 21:04   ` Rob Herring
2021-04-29 16:25   ` Rob Herring
2021-04-29 17:03     ` Ezequiel Garcia
2021-04-29 20:28       ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).