]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2974452d65bf4fe66d3e4a527b1a32567af8c739
tree034fd71d5f611bed423e0811409f6aa39826717e
parentb1b9066ed2017af422e97dc84067f4a94033da62
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