]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:05:55 +0000 (16:05 +0200)
[ Upstream commit 44b615ac9fab16d1552cd8360454077d411e3c35 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/renesas/r8a774a1.dtsi
arch/arm64/boot/dts/renesas/r8a77960.dtsi
arch/arm64/boot/dts/renesas/r8a77961.dtsi

index c15f1c571eb0d6f7fd97396fef9158b9fe8ae50c..db091fa7511519513ab0eafc7fd39927873ffb29 100644 (file)
@@ -76,6 +76,7 @@
                        opp-hz = /bits/ 64 <1500000000>;
                        opp-microvolt = <820000>;
                        clock-latency-ns = <300000>;
+                       opp-suspend;
                };
        };
 
index f379c8d1511d91e526d0dbaf17dfe25b96a0480b..5e2bd09b134bc34e6022403705b4be7b9fa3c5af 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 1ba30313c8b82ac56454046411c30ee684833bf0..5d030b300662c1f77e2e70e5828479b88e922e39 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>;