arm64: dts: renesas: Add missing opp-suspend properties
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 27 May 2021 13:42:42 +0000 (15:42 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 31 May 2021 08:42:15 +0000 (10:42 +0200)
Tag the highest "Power Optimized" (1.5 GHz) Cortex-A57 operating point
table entries for the RZ/G2M, R-Car M3-W and M3-W+ SoCs with the
"opp-suspend" property.  This makes sure the system will enter suspend
in the same performance state as it will be resumed by the firmware
later, avoiding state inconsistencies after resume.

Based on a patch for R-Car M3-W in the BSP by Takeshi Kihara
<takeshi.kihara.df@renesas.com>.

Fixes: 800037e815b91d8c ("arm64: dts: renesas: r8a774a1: Add operating points")
Fixes: da7e3113344fda50 ("arm64: dts: renesas: r8a7796: Add OPPs table for cpu devices")
Fixes: f51746ad7d1ff6b4 ("arm64: dts: renesas: Add Renesas R8A77961 SoC support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/45a061c3b0463aac7d10664f47c4afdd999da50d.1619699721.git.geert+renesas@glider.be
arch/arm64/boot/dts/renesas/r8a774a1.dtsi
arch/arm64/boot/dts/renesas/r8a77960.dtsi
arch/arm64/boot/dts/renesas/r8a77961.dtsi

index c3d312a..78c121a 100644 (file)
@@ -76,6 +76,7 @@
                        opp-hz = /bits/ 64 <1500000000>;
                        opp-microvolt = <820000>;
                        clock-latency-ns = <300000>;
+                       opp-suspend;
                };
        };
 
index d21be2f..63bb395 100644 (file)
@@ -75,6 +75,7 @@
                        opp-hz = /bits/ 64 <1500000000>;
                        opp-microvolt = <820000>;
                        clock-latency-ns = <300000>;
+                       opp-suspend;
                };
                opp-1600000000 {
                        opp-hz = /bits/ 64 <1600000000>;
index 941f18e..c8b7310 100644 (file)
@@ -64,6 +64,7 @@
                        opp-hz = /bits/ 64 <1500000000>;
                        opp-microvolt = <820000>;
                        clock-latency-ns = <300000>;
+                       opp-suspend;
                };
                opp-1600000000 {
                        opp-hz = /bits/ 64 <1600000000>;