Commit 05b80cd1 authored by Alexey Charkov's avatar Alexey Charkov Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: Remove non-functioning CPU OPPs from RK3576

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: 57b1ce90 ("arm64: dts: rockchip: Add rk3576 SoC base DT")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarAlexey Charkov <alchark@gmail.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent e179de73
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -276,12 +276,6 @@ opp-2016000000 {
			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 {
@@ -348,12 +342,6 @@ opp-2208000000 {
			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 {