]> 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:02:24 +0000 (16:02 +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 d64fb8b1b86c37318a8b63abdd4630b0b954f9fc..2e427f21130d2eb1fb035c6bcdaa6ebd94c98535 100644 (file)
@@ -76,6 +76,7 @@
                        opp-hz = /bits/ 64 <1500000000>;
                        opp-microvolt = <820000>;
                        clock-latency-ns = <300000>;
+                       opp-suspend;
                };
        };
 
index 25d947a81b294a8138ed8a928cd4c787187866d7..634fc8618bbb97b675dc1d018e139525054abc72 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 e8c31ebec09730c41591e09b09e39d9f028ea170..2234a8ee6ed014f2b1161ae4fe922629469bd633 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>;