Skip to contentSkip to conversation

Add rockchip-timer for RK356X

PATCH In review Chris Morgan 3 participants 6 messages Nov 3

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover Add rockchip-timer for RK356X

From: Chris Morgan <[email protected]>

Add the rockchip-timer to the RK356x SoC. The timer for the RK356x is register compatible with the rk3288. Address range taken from BSP device tree and confirmed with rk3568 technical reference manual.

Chris Morgan (2):
dt-bindings: timer: rockchip: Add rk3568 compatible
arm64: dts: rockchip: Add timer node for rk356x

 .../devicetree/bindings/timer/rockchip,rk-timer.yaml      | 1 +
 arch/arm64/boot/dts/rockchip/rk356x-base.dtsi             | 8 ++++++++
 2 files changed, 9 insertions(+)
Signature · 1 line
2.53.0
#1 lore raw

PATCH 1/2 dt-bindings: timer: rockchip: Add rk3568 compatible

From: Chris Morgan <[email protected]>

Add compatible string for Rockchip RK3568 timer.

---
 Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml +1 -0
index 6d0eb0014eee..b245a3051d66 100644
@@ -24,6 +24,7 @@ properties:
               - rockchip,rk3228-timer
               - rockchip,rk3229-timer
               - rockchip,rk3368-timer
+              - rockchip,rk3568-timer
               - rockchip,rk3576-timer
               - rockchip,rk3588-timer
               - rockchip,px30-timer
Signature · 1 line
2.53.0
#5 lore raw

PATCH 2/2 arm64: dts: rockchip: Add timer node for rk356x

In reply to Chris Morgan

From: Chris Morgan <[email protected]>

Add the timer node for the rk356x. The timer is present at the SoC level and is register compatible with the rk3288 timer.

---
 arch/arm64/boot/dts/rockchip/rk356x-base.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/rockchip/rk356x-base.dtsi +8 -0
index 1a4562df20ee..cc3faeb9a86d 100644
@@ -1373,6 +1373,14 @@ i2c5: i2c@fe5e0000 {
 		status = "disabled";
 	};
 
+	timer0: timer@fe5f0000 {
+		compatible = "rockchip,rk3568-timer", "rockchip,rk3288-timer";
+		reg = <0x0 0xfe5f0000 0x0 0x1000>;
+		interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&cru PCLK_TIMER>, <&cru CLK_TIMER0>;
+		clock-names = "pclk", "timer";
+	};
+
 	wdt: watchdog@fe600000 {
 		compatible = "rockchip,rk3568-wdt", "snps,dw-wdt";
 		reg = <0x0 0xfe600000 0x0 0x100>;
Signature · 1 line
2.53.0
maintainer
#2 lore raw

Re: [PATCH 1/2] dt-bindings: timer: rockchip: Add rk3568 compatible

In reply to Chris Morgan

Hi Chris,

Am Dienstag, 3. November 2026, 16:31:43 Mitteleuropäische Normalzeit schrieb Chris Morgan:

Quoted 7 lines

From: Chris Morgan <[email protected]>

Add compatible string for Rockchip RK3568 timer.

---
 Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml | 1 +

Please make sure to check get_maintainers to catch all needed recipients.

# scripts/get_maintainer.pl -f Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml

you're especially missing the clocksource maintainers:
Daniel Lezcano <[email protected]> (maintainer:CLOCKSOURCE, CLOCKEVENT DRIVERS,in file) Thomas Gleixner <[email protected]> (maintainer:CLOCKSOURCE, CLOCKEVENT DRIVERS)

and some additional lists:
[email protected] (open list:CLOCKSOURCE, CLOCKEVENT DRIVERS) [email protected] (moderated list:ARM/Rockchip SoC support)

the clocksource part does not seem to have a dedicated list, so linux-kernel should be included.

Heiko

#3 lore raw

Re: [PATCH 1/2] dt-bindings: timer: rockchip: Add rk3568 compatible

Quoted 23 lines · Heiko Stübner

Hi Chris,

Am Dienstag, 3. November 2026, 16:31:43 Mitteleuropäische Normalzeit schrieb Chris Morgan:

Quoted 7 lines

From: Chris Morgan <[email protected]>

Add compatible string for Rockchip RK3568 timer.

---
 Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml | 1 +

Please make sure to check get_maintainers to catch all needed recipients.

# scripts/get_maintainer.pl -f Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml

you're especially missing the clocksource maintainers:
Daniel Lezcano <[email protected]> (maintainer:CLOCKSOURCE, CLOCKEVENT DRIVERS,in file) Thomas Gleixner <[email protected]> (maintainer:CLOCKSOURCE, CLOCKEVENT DRIVERS)

and some additional lists:
[email protected] (open list:CLOCKSOURCE, CLOCKEVENT DRIVERS) [email protected] (moderated list:ARM/Rockchip SoC support)

Quoted 7 lines

the clocksource part does not seem to have a dedicated list, so linux-kernel should be included.

Heiko

I apologize, sorry about that. I assumed since I was only modifying the device-tree and bindings I didn't need to copy the rest of the teams.

Should I resubmit with the additional names?

Thank you,
Chris

maintainer
#4 lore raw

Re: [PATCH 1/2] dt-bindings: timer: rockchip: Add rk3568 compatible

Am Dienstag, 3. November 2026, 19:07:19 Mitteleuropäische Normalzeit schrieb Chris Morgan:

Quoted 28 lines · Heiko Stübner
Quoted 27 lines

Hi Chris,

Am Dienstag, 3. November 2026, 16:31:43 Mitteleuropäische Normalzeit schrieb Chris Morgan:

Quoted 7 lines

From: Chris Morgan <[email protected]>

Add compatible string for Rockchip RK3568 timer.

---
 Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml | 1 +

Please make sure to check get_maintainers to catch all needed recipients.

# scripts/get_maintainer.pl -f Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml

you're especially missing the clocksource maintainers:
Daniel Lezcano <[email protected]> (maintainer:CLOCKSOURCE, CLOCKEVENT DRIVERS,in file) Thomas Gleixner <[email protected]> (maintainer:CLOCKSOURCE, CLOCKEVENT DRIVERS)

and some additional lists:
[email protected] (open list:CLOCKSOURCE, CLOCKEVENT DRIVERS) [email protected] (moderated list:ARM/Rockchip SoC support)

the clocksource part does not seem to have a dedicated list, so linux-kernel should be included.

Quoted 8 lines
Quoted 3 lines

Heiko

I apologize, sorry about that. I assumed since I was only modifying the device-tree and bindings I didn't need to copy the rest of the teams.

Should I resubmit with the additional names?

very likely ... i.e. the binding is generally going through the driver-tree here the tree holding the clocksource drivers.

For me to apply the binding, I'd definitly need an Ack from the clocksource people.

Heiko