[PATCH] arm64: dts: renesas: r8a779h0: Drop "opp-shared" from opp-table-0
Geert Uytterhoeven
geert+renesas at glider.be
Thu Jun 20 06:38:45 PDT 2024
The four Cortex-A76 CPU cores on R-Car V4M share their Operating
Performance Points (OPP) table, but they have independent clocks.
All cores in the cluster can switch DVFS states independently, hence
the cluster's OPP table should not have an "opp-shared" property.
Fixes: 6bd8b0bc444eae56 ("arm64: dts: renesas: r8a779h0: Add CA76 operating points")
Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
---
Before, only a single CPU frequency policy is created:
cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 999999 KHz, changing to: 1000000 KHz
/sys/devices/system/cpu/cpu0/cpufreq -> ../cpufreq/policy0
/sys/devices/system/cpu/cpu1/cpufreq -> ../cpufreq/policy0
/sys/devices/system/cpu/cpu2/cpufreq -> ../cpufreq/policy0
/sys/devices/system/cpu/cpu3/cpufreq -> ../cpufreq/policy0
After, four independent CPU frequency policies are created:
cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 999999 KHz, changing to: 1000000 KHz
cpufreq: cpufreq_online: CPU1: Running at unlisted initial frequency: 999999 KHz, changing to: 1000000 KHz
cpufreq: cpufreq_online: CPU2: Running at unlisted initial frequency: 999999 KHz, changing to: 1000000 KHz
cpufreq: cpufreq_online: CPU3: Running at unlisted initial frequency: 999999 KHz, changing to: 1000000 KHz
/sys/devices/system/cpu/cpu0/cpufreq -> ../cpufreq/policy0
/sys/devices/system/cpu/cpu1/cpufreq -> ../cpufreq/policy1
/sys/devices/system/cpu/cpu2/cpufreq -> ../cpufreq/policy2
/sys/devices/system/cpu/cpu3/cpufreq -> ../cpufreq/policy3
To be queued in renesas-devel for v6.11.
---
arch/arm64/boot/dts/renesas/r8a779h0.dtsi | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a779h0.dtsi b/arch/arm64/boot/dts/renesas/r8a779h0.dtsi
index 00ac730c26cb7202..163bbcbccc9fcde4 100644
--- a/arch/arm64/boot/dts/renesas/r8a779h0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779h0.dtsi
@@ -23,7 +23,6 @@ can_clk: can-clk {
cluster0_opp: opp-table-0 {
compatible = "operating-points-v2";
- opp-shared;
opp-500000000 {
opp-hz = /bits/ 64 <500000000>;
--
2.34.1
More information about the linux-arm-kernel
mailing list