Skip to content

Commit

Permalink
arm64: dts: renesas: Add missing opp-suspend properties
Browse files Browse the repository at this point in the history
[ Upstream commit 44b615a ]

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: 800037e ("arm64: dts: renesas: r8a774a1: Add operating points")
Fixes: da7e311 ("arm64: dts: renesas: r8a7796: Add OPPs table for cpu devices")
Fixes: f51746a ("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>
  • Loading branch information
geertu authored and gregkh committed Jul 20, 2021
1 parent 55fd1d3 commit 305df11
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/renesas/r8a774a1.dtsi
Expand Up @@ -76,6 +76,7 @@
opp-hz = /bits/ 64 <1500000000>;
opp-microvolt = <820000>;
clock-latency-ns = <300000>;
opp-suspend;
};
};

Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/renesas/r8a77960.dtsi
Expand Up @@ -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>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/renesas/r8a77961.dtsi
Expand Up @@ -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>;
Expand Down

0 comments on commit 305df11

Please sign in to comment.