[PATCH] arm64: dts: rockchip: use SCMI clock id for gpu clock on rk356x

Heiko Stuebner posted 1 patch 1 month, 1 week ago
arch/arm64/boot/dts/rockchip/rk356x-base.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] arm64: dts: rockchip: use SCMI clock id for gpu clock on rk356x
Posted by Heiko Stuebner 1 month, 1 week ago
Instead of hard-coding 1, use the more descriptive ID from the binding
to reference the SCMI clock for the gpu on rk356x.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 arch/arm64/boot/dts/rockchip/rk356x-base.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi b/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
index a1815f8a96e1..16773904ff66 100644
--- a/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
@@ -616,7 +616,7 @@ gpu: gpu@fde60000 {
 			     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
 			     <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
 		interrupt-names = "job", "mmu", "gpu";
-		clocks = <&scmi_clk 1>, <&cru CLK_GPU>;
+		clocks = <&scmi_clk SCMI_CLK_GPU>, <&cru CLK_GPU>;
 		clock-names = "gpu", "bus";
 		#cooling-cells = <2>;
 		power-domains = <&power RK3568_PD_GPU>;
-- 
2.47.2
Re: [PATCH] arm64: dts: rockchip: use SCMI clock id for gpu clock on rk356x
Posted by Heiko Stuebner 1 month ago
On Thu, 06 Nov 2025 00:54:08 +0100, Heiko Stuebner wrote:
> Instead of hard-coding 1, use the more descriptive ID from the binding
> to reference the SCMI clock for the gpu on rk356x.
> 
> 

Applied, thanks!

[1/1] arm64: dts: rockchip: use SCMI clock id for gpu clock on rk356x
      commit: 4c609425988969e46a6d562329f4061c82017945

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>