ARM: at91: pm: switch backup area to vbat in backup mode
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Mon, 30 Aug 2021 10:09:27 +0000 (13:09 +0300)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Tue, 14 Sep 2021 15:05:40 +0000 (17:05 +0200)
commitac809e7879b15643105795a5f9becb5ef44abd93
tree034fd71d5f611bed423e0811409f6aa39826717e
parent6f34662284511a04643b25ad3032adc6fe4689ab
ARM: at91: pm: switch backup area to vbat in backup mode

Backup area is now switched to VDDIN33 at boot (with the help of
bootloader). When switching to backup mode we need to switch backup area
to VBAT as all the other power sources are cut off. The resuming from
backup mode is done with the help of bootloader, so there is no need to
do something particular in Linux to restore backup area power source.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20210830100927.22711-1-claudiu.beznea@microchip.com
arch/arm/mach-at91/pm.c