]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: Remove non-functioning CPU OPPs from RK3576
authorAlexey Charkov <alchark@gmail.com>
Thu, 9 Oct 2025 12:34:01 +0000 (16:34 +0400)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 14 Oct 2025 16:25:50 +0000 (18:25 +0200)
Drop the top-frequency OPPs from both the LITTLE and big CPU clusters on
RK3576, as neither the opensource TF-A [1] nor the recent (after v1.08)
binary BL31 images provided by Rockchip expose those.

This fixes the problem [2] when the cpufreq governor tries to jump
directly to the highest-frequency OPP, which results in a failed SCMI call
leaving the system stuck at the previous OPP before the attempted change.

[1] https://github.com/ARM-software/arm-trusted-firmware/blob/master/plat/rockchip/rk3576/scmi/rk3576_clk.c#L264-L304
[2] https://lore.kernel.org/linux-rockchip/CABjd4Yz4NbqzZH4Qsed3ias56gcga9K6CmYA+BLDBxtbG915Ag@mail.gmail.com/

Fixes: 57b1ce903966 ("arm64: dts: rockchip: Add rk3576 SoC base DT")
Cc: stable@vger.kernel.org
Signed-off-by: Alexey Charkov <alchark@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3576.dtsi

index fc4e9e07f1cf35fb57f132c6d82c48c62bd6265d..f0c3ab00a7f3447a1dbf7874c7bf758e82e04f25 100644 (file)
                        opp-microvolt = <900000 900000 950000>;
                        clock-latency-ns = <40000>;
                };
-
-               opp-2208000000 {
-                       opp-hz = /bits/ 64 <2208000000>;
-                       opp-microvolt = <950000 950000 950000>;
-                       clock-latency-ns = <40000>;
-               };
        };
 
        cluster1_opp_table: opp-table-cluster1 {
                        opp-microvolt = <925000 925000 950000>;
                        clock-latency-ns = <40000>;
                };
-
-               opp-2304000000 {
-                       opp-hz = /bits/ 64 <2304000000>;
-                       opp-microvolt = <950000 950000 950000>;
-                       clock-latency-ns = <40000>;
-               };
        };
 
        gpu_opp_table: opp-table-gpu {