Skip to content

Commit

Permalink
ARM: dts: at91: sama7g5ek: set regulator voltages for standby state
Browse files Browse the repository at this point in the history
Set regulator voltages for standby state to avoid wrong behavior of
system while in standby. The CPU voltage has been chosen as being the
one corresponding to OPP=600MHz. Next commit will set the 600MHz OPP
as the suspend OPP.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220113144900.906370-8-claudiu.beznea@microchip.com
  • Loading branch information
Claudiu Beznea authored and Nicolas Ferre committed Feb 25, 2022
1 parent 279d626 commit 85b1304
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/at91-sama7g5ek.dts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@

regulator-state-standby {
regulator-on-in-suspend;
regulator-suspend-microvolt = <3300000>;
regulator-mode = <4>;
};

Expand Down Expand Up @@ -291,6 +292,7 @@

regulator-state-standby {
regulator-on-in-suspend;
regulator-suspend-voltage = <1150000>;
regulator-mode = <4>;
};

Expand All @@ -311,6 +313,7 @@

regulator-state-standby {
regulator-on-in-suspend;
regulator-suspend-voltage = <1050000>;
regulator-mode = <4>;
};

Expand All @@ -327,6 +330,7 @@
regulator-always-on;

regulator-state-standby {
regulator-suspend-voltage = <1800000>;
regulator-on-in-suspend;
};

Expand All @@ -341,6 +345,7 @@
regulator-max-microvolt = <3700000>;

regulator-state-standby {
regulator-suspend-voltage = <1800000>;
regulator-on-in-suspend;
};

Expand Down

0 comments on commit 85b1304

Please sign in to comment.