The timer driver requires pclk and sclk clocks
to be present in the device tree node, so add them.
Signed-off-by: Ezequiel Garcia <redacted>
---
arch/arm64/boot/dts/rockchip/rk3368.dtsi | 2 ++
1 file changed, 2 insertions(+)
Fixed order is the device-tree convention.
The timer driver currently gets clocks by name,
so no changes are needed there.
Signed-off-by: Ezequiel Garcia <redacted>
---
arch/arm/boot/dts/rk3188.dtsi | 8 ++++----
arch/arm/boot/dts/rk3288.dtsi | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
@@ -1,27 +0,0 @@-Rockchip rk timer--Required properties:-- compatible: should be:- "rockchip,rv1108-timer", "rockchip,rk3288-timer": for Rockchip RV1108- "rockchip,rk3036-timer", "rockchip,rk3288-timer": for Rockchip RK3036- "rockchip,rk3066-timer", "rockchip,rk3288-timer": for Rockchip RK3066- "rockchip,rk3188-timer", "rockchip,rk3288-timer": for Rockchip RK3188- "rockchip,rk3228-timer", "rockchip,rk3288-timer": for Rockchip RK3228- "rockchip,rk3229-timer", "rockchip,rk3288-timer": for Rockchip RK3229- "rockchip,rk3288-timer": for Rockchip RK3288- "rockchip,rk3368-timer", "rockchip,rk3288-timer": for Rockchip RK3368- "rockchip,rk3399-timer": for Rockchip RK3399-- reg: base address of the timer register starting with TIMERS CONTROL register-- interrupts: should contain the interrupts for Timer0-- clocks : must contain an entry for each entry in clock-names-- clock-names : must include the following entries:- "timer", "pclk"--Example:- timer: timer@ff810000 {- compatible = "rockchip,rk3288-timer";- reg = <0xff810000 0x20>;- interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;- clocks = <&xin24m>, <&cru PCLK_TIMER>;- clock-names = "timer", "pclk";- };
On Thu, 6 May 2021 08:11:33 -0300, Ezequiel Garcia wrote:
Changes from v1:
* Fix the order of clock specifiers.
Ezequiel Garcia (3):
arm64: dts: rockchip: add timer0 clocks on rk3368
arm: dts: rockchip: Fix the timer clocks order
dt-bindings: timer: convert rockchip,rk-timer.txt to YAML
[...]
Applied, thanks!
[1/3] arm64: dts: rockchip: add timer0 clocks on rk3368
commit: 642593eec32571ff9288ddf3fa09792d3efb275f
Best regards,
--
Heiko Stuebner [off-list ref]
On Thu, 6 May 2021 08:11:33 -0300, Ezequiel Garcia wrote:
Changes from v1:
* Fix the order of clock specifiers.
Ezequiel Garcia (3):
arm64: dts: rockchip: add timer0 clocks on rk3368
arm: dts: rockchip: Fix the timer clocks order
dt-bindings: timer: convert rockchip,rk-timer.txt to YAML
[...]
Applied, thanks!
[2/3] arm: dts: rockchip: Fix the timer clocks order
commit: 7b46d674ac000b101fdad92cf16cc11d90b72f86
Best regards,
--
Heiko Stuebner [off-list ref]
@@ -1,27 +0,0 @@-Rockchip rk timer--Required properties:-- compatible: should be:- "rockchip,rv1108-timer", "rockchip,rk3288-timer": for Rockchip RV1108- "rockchip,rk3036-timer", "rockchip,rk3288-timer": for Rockchip RK3036- "rockchip,rk3066-timer", "rockchip,rk3288-timer": for Rockchip RK3066- "rockchip,rk3188-timer", "rockchip,rk3288-timer": for Rockchip RK3188- "rockchip,rk3228-timer", "rockchip,rk3288-timer": for Rockchip RK3228- "rockchip,rk3229-timer", "rockchip,rk3288-timer": for Rockchip RK3229- "rockchip,rk3288-timer": for Rockchip RK3288- "rockchip,rk3368-timer", "rockchip,rk3288-timer": for Rockchip RK3368- "rockchip,rk3399-timer": for Rockchip RK3399-- reg: base address of the timer register starting with TIMERS CONTROL register-- interrupts: should contain the interrupts for Timer0-- clocks : must contain an entry for each entry in clock-names-- clock-names : must include the following entries:- "timer", "pclk"--Example:- timer: timer@ff810000 {- compatible = "rockchip,rk3288-timer";- reg = <0xff810000 0x20>;- interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;- clocks = <&xin24m>, <&cru PCLK_TIMER>;- clock-names = "timer", "pclk";- };