diff options
author | Graeme Gregory <gg@slimlogic.co.uk> | 2011-05-02 17:20:08 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-05-27 05:49:08 -0400 |
commit | 518fb721de3685c8326e72746151b534a241feda (patch) | |
tree | 9791db510544af58eadd2f5f2754724df292be9a /include | |
parent | e3471bdc2784ee20a0d636c5904200c2d1148ef9 (diff) |
TPS65910: Add tps65910 regulator driver
The regulator module consists of 3 DCDCs and 8 LDOs. The output
voltages are configurable and are meant to supply power to the
main processor and other components
Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Jorge Eduardo Candelaria <jedu@slimlogic.co.uk>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/tps65910.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/mfd/tps65910.h b/include/linux/mfd/tps65910.h index 8afe91c85587..be08a0c7e7de 100644 --- a/include/linux/mfd/tps65910.h +++ b/include/linux/mfd/tps65910.h | |||
@@ -215,12 +215,26 @@ | |||
215 | #define VDD2_SR_SEL_SHIFT 0 | 215 | #define VDD2_SR_SEL_SHIFT 0 |
216 | 216 | ||
217 | 217 | ||
218 | /*Registers VDD1, VDD2 voltage values definitions */ | ||
219 | #define VDD1_2_NUM_VOLTS 73 | ||
220 | #define VDD1_2_MIN_VOLT 6000 | ||
221 | #define VDD1_2_OFFSET 125 | ||
222 | |||
223 | |||
218 | /*Register VDD3 (0x80) register.RegisterDescription */ | 224 | /*Register VDD3 (0x80) register.RegisterDescription */ |
219 | #define VDD3_CKINEN_MASK 0x04 | 225 | #define VDD3_CKINEN_MASK 0x04 |
220 | #define VDD3_CKINEN_SHIFT 2 | 226 | #define VDD3_CKINEN_SHIFT 2 |
221 | #define VDD3_ST_MASK 0x03 | 227 | #define VDD3_ST_MASK 0x03 |
222 | #define VDD3_ST_SHIFT 0 | 228 | #define VDD3_ST_SHIFT 0 |
223 | 229 | ||
230 | /*Registers VDIG (0x80) to VDAC register.RegisterDescription */ | ||
231 | #define LDO_SEL_MASK 0x0C | ||
232 | #define LDO_SEL_SHIFT 2 | ||
233 | #define LDO_ST_MASK 0x03 | ||
234 | #define LDO_ST_SHIFT 0 | ||
235 | #define LDO_ST_ON_BIT 0x01 | ||
236 | #define LDO_ST_MODE_BIT 0x02 | ||
237 | |||
224 | 238 | ||
225 | /*Register VDIG1 (0x80) register.RegisterDescription */ | 239 | /*Register VDIG1 (0x80) register.RegisterDescription */ |
226 | #define VDIG1_SEL_MASK 0x0C | 240 | #define VDIG1_SEL_MASK 0x0C |