diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-03-07 05:10:51 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-19 09:02:51 -0400 |
commit | 05be09bb5ec8d12051515087a1983745dc93d906 (patch) | |
tree | 7a1ab832c3569546c2b4563aeb19383e53fbf9ac /include/linux/mfd | |
parent | 15f77300c9eedb095c8f4097628af51e8e14de30 (diff) |
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 { | |||
146 | #define S2MPS14_BUCK_VSEL_MASK 0xFF | 146 | #define S2MPS14_BUCK_VSEL_MASK 0xFF |
147 | #define S2MPS14_ENABLE_MASK (0x03 << S2MPS14_ENABLE_SHIFT) | 147 | #define S2MPS14_ENABLE_MASK (0x03 << S2MPS14_ENABLE_SHIFT) |
148 | #define S2MPS14_ENABLE_SHIFT 6 | 148 | #define S2MPS14_ENABLE_SHIFT 6 |
149 | /* On/Off controlled by PWREN */ | ||
150 | #define S2MPS14_ENABLE_SUSPEND (0x01 << S2MPS14_ENABLE_SHIFT) | ||
149 | #define S2MPS14_LDO_N_VOLTAGES (S2MPS14_LDO_VSEL_MASK + 1) | 151 | #define S2MPS14_LDO_N_VOLTAGES (S2MPS14_LDO_VSEL_MASK + 1) |
150 | #define S2MPS14_BUCK_N_VOLTAGES (S2MPS14_BUCK_VSEL_MASK + 1) | 152 | #define S2MPS14_BUCK_N_VOLTAGES (S2MPS14_BUCK_VSEL_MASK + 1) |
151 | 153 | ||