]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: rockchip: use SCMI clock id for cpu clock on rk356x
authorHeiko Stuebner <heiko@sntech.de>
Mon, 3 Nov 2025 23:49:25 +0000 (00:49 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 5 Nov 2025 23:24:48 +0000 (00:24 +0100)
Instead of hard-coding 0, use the more descriptive ID from the binding
to reference the SCMI clock for the cpu on rk356x.

Reviewed-by: Diederik de Haas <diederik@cknow-tech.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20251103234926.416137-3-heiko@sntech.de
arch/arm64/boot/dts/rockchip/rk356x-base.dtsi

index fd2214b6fad408f9a5a6998adc67447a8160e6ed..60adc3897fd515db2baf3bc51ff845e18ba6b6d7 100644 (file)
@@ -53,7 +53,7 @@
                        device_type = "cpu";
                        compatible = "arm,cortex-a55";
                        reg = <0x0 0x0>;
-                       clocks = <&scmi_clk 0>;
+                       clocks = <&scmi_clk SCMI_CLK_CPU>;
                        #cooling-cells = <2>;
                        enable-method = "psci";
                        i-cache-size = <0x8000>;