]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: rockchip: use SCMI clock id for gpu clock on rk356x
authorHeiko Stuebner <heiko@sntech.de>
Wed, 5 Nov 2025 23:54:08 +0000 (00:54 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 13 Nov 2025 22:25:24 +0000 (23:25 +0100)
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>
Link: https://patch.msgid.link/20251105235408.163282-1-heiko@sntech.de
arch/arm64/boot/dts/rockchip/rk356x-base.dtsi

index d0dc7f8d035107c0301810f1dee0e176cc6d51a1..c005135089d465d30a3bc8d59d37c532e3d4fdd3 100644 (file)
                             <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>;