Re: [PATCH] ARM: at91: pm: change BU Power Switch to automatic mode

From: Nicolas Ferre
Date: Mon Dec 09 2024 - 03:15:47 EST


On 08/12/2024 at 16:48, Claudiu Beznea wrote:
On 25.11.2024 18:56, nicolas.ferre@xxxxxxxxxxxxx wrote:
From: Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx>

Change how the Backup Unit Power is configured and force the
automatic/hardware mode.
This change eliminates the need for software management of the power
switch, ensuring it transitions to the backup power source before
entering low power modes.

This is done in the only locaton where this swich was configured. It's
usually done in the bootloader.

Previously, the loss of the VDDANA (or VDDIN33) power source was not
automatically compensated by an alternative power source. This resulted
in the loss of Backup Unit content, including Backup Self-refresh low
power mode information, OTP emulation configuration, and boot
configuration, for instance.

Signed-off-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx>

I've added the fixes tag, s/locaton/location, s/swich/switch.

Thanks for your help Claudiu. Regards,
Nicolas

Applied to at91-soc, thanks!