ARM: dts: at91: sama7g5ek: set regulator voltages for standby state
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 13 Jan 2022 14:48:57 +0000 (16:48 +0200)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Fri, 25 Feb 2022 10:32:22 +0000 (11:32 +0100)
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
arch/arm/boot/dts/at91-sama7g5ek.dts

index 40b63a16ba54c9fe3c4e95eee8f304abab3dfe74..08685a10eda1d67ea61e3dd2f03aa770d39c4716 100644 (file)
 
                                        regulator-state-standby {
                                                regulator-on-in-suspend;
+                                               regulator-suspend-microvolt = <3300000>;
                                                regulator-mode = <4>;
                                        };
 
 
                                        regulator-state-standby {
                                                regulator-on-in-suspend;
+                                               regulator-suspend-voltage = <1150000>;
                                                regulator-mode = <4>;
                                        };
 
 
                                        regulator-state-standby {
                                                regulator-on-in-suspend;
+                                               regulator-suspend-voltage = <1050000>;
                                                regulator-mode = <4>;
                                        };
 
                                        regulator-always-on;
 
                                        regulator-state-standby {
+                                               regulator-suspend-voltage = <1800000>;
                                                regulator-on-in-suspend;
                                        };
 
                                        regulator-max-microvolt = <3700000>;
 
                                        regulator-state-standby {
+                                               regulator-suspend-voltage = <1800000>;
                                                regulator-on-in-suspend;
                                        };