Skip to content
Unverified Commit fc401cb9 authored by Andrei.Stefanescu@microchip.com's avatar Andrei.Stefanescu@microchip.com Committed by Mark Brown
Browse files

regulator: mcp16502: add support for suspend



This patch adds support for entering/resuming suspend states.
It does this by setting the LPM pin of the PMIC.

When suspending the PMIC will enter the Low-power mode
when the LPM pin will be set to high. If the suspend target state
is suspend-to-mem, the PMIC will transition to Hibernate mode,
otherwise, if it is standby, it will remain in Low-power mode.

Signed-off-by: default avatarAndrei Stefanescu <andrei.stefanescu@microchip.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 82b4d997
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment