diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-03-07 11:10:51 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-19 13:02:51 +0000 |
commit | 05be09bb5ec8d12051515087a1983745dc93d906 (patch) | |
tree | 7a1ab832c3569546c2b4563aeb19383e53fbf9ac /include/linux/mfd | |
parent | 15f77300c9eedb095c8f4097628af51e8e14de30 (diff) | |
download | linux-stable-05be09bb5ec8d12051515087a1983745dc93d906.tar.gz linux-stable-05be09bb5ec8d12051515087a1983745dc93d906.tar.bz2 linux-stable-05be09bb5ec8d12051515087a1983745dc93d906.zip |
regulator: s2mps11: Add set_suspend_disable for S2MPS14
S2MPS14 regulators support suspend mode where their status is controlled
by PWREN coming from SoC. This patch implements the set_suspend_disable
for S2MPS14 regulators.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/samsung/s2mps14.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/samsung/s2mps14.h b/include/linux/mfd/samsung/s2mps14.h index ec1e0857ddde..4b449b8ac548 100644 --- a/include/linux/mfd/samsung/s2mps14.h +++ b/include/linux/mfd/samsung/s2mps14.h @@ -146,6 +146,8 @@ enum s2mps14_regulators { #define S2MPS14_BUCK_VSEL_MASK 0xFF #define S2MPS14_ENABLE_MASK (0x03 << S2MPS14_ENABLE_SHIFT) #define S2MPS14_ENABLE_SHIFT 6 +/* On/Off controlled by PWREN */ +#define S2MPS14_ENABLE_SUSPEND (0x01 << S2MPS14_ENABLE_SHIFT) #define S2MPS14_LDO_N_VOLTAGES (S2MPS14_LDO_VSEL_MASK + 1) #define S2MPS14_BUCK_N_VOLTAGES (S2MPS14_BUCK_VSEL_MASK + 1) |