]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Dec 2025 10:45:33 +0000 (11:45 +0100)
commit 05b80cd1f37db042e074ecc7ee0d39869fed2f52 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/rockchip/rk3576.dtsi

index f236edcac37678a1a1d93979d3866e8222cfc484..2d1aae26672c5867e70209d5fdb668ac9db4ea46 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 {