diff options
author | Andrei.Stefanescu@microchip.com <Andrei.Stefanescu@microchip.com> | 2018-12-14 11:09:31 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-12-14 14:39:58 +0300 |
commit | fc401cb98a736fa010aeaf863618a904ca70ba2c (patch) | |
tree | f627b663703e11986d0313265bf006995e767430 /drivers/regulator/axp20x-regulator.c | |
parent | 82b4d99725aedc3de731faa4e23f256fbe2821cf (diff) | |
download | linux-fc401cb98a736fa010aeaf863618a904ca70ba2c.tar.xz |
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: Andrei Stefanescu <andrei.stefanescu@microchip.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/axp20x-regulator.c')
0 files changed, 0 insertions, 0 deletions