diff mbox series

arm64: dts: renesas: r8a779h0: Drop "opp-shared" from opp-table-0

Message ID 4e0227ff4388485cdb1ca2855ee6df92754e756e.1718890585.git.geert+renesas@glider.be (mailing list archive)
State New, archived
Headers show
Series arm64: dts: renesas: r8a779h0: Drop "opp-shared" from opp-table-0 | expand

Commit Message

Geert Uytterhoeven June 20, 2024, 1:38 p.m. UTC
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@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 mbox series

Patch

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>;