[PATCH v2 2/3] ARM: at91: PM: implement selection of LPM
Claudiu Beznea
claudiu.beznea at tuxon.dev
Wed Sep 17 09:51:06 PDT 2025
On 9/16/25 22:50, Ryan.Wanner at microchip.com wrote:
> From: Claudiu Beznea <claudiu.beznea at microchip.com>
>
> The LPM shutdown controller output could signal the transition to PM
> state for different devices connected on board. On different boards
> LPM could be connected to different devices (e.g. on SAMA7G5-EK REV4
> the LPM is connected to on main crystal oscillator, KSZ8081 PHY and
> to MCP16502 PMIC). Toggling LPM on BSR PM mode is done unconditionally
> and it helps PMIC to transition to a power saving mode. Toggling LPM
> on ULP0 and ULP1 should be done conditionally based on user defined
> wakeup sources, available wakeup source for PM mode and connections to
> SHDWC's LPM pin. On ULP0 any device could act as wakeup sources. On ULP1
> only some of the on SoC controllers could act as wakeup sources. For this
> the architecture specific PM code parses board specific LPM devices,
> check them against possible wakeup source (in case of ULP1) and tells
> assembly code to act properly on SHDWC's LPM pin.
>
> Signed-off-by: Claudiu Beznea <claudiu.beznea at microchip.com>
> [ryan.wanner at microchip.com: Fixed conflicts when applying.]
> Signed-off-by: Ryan Wanner <Ryan.Wanner at microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea at tuxon.dev>
More information about the linux-arm-kernel
mailing list