diff options
author | Jorge Eduardo Candelaria <jedu@slimlogic.co.uk> | 2011-05-16 19:35:03 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-05-27 05:49:10 -0400 |
commit | a320e3c3d6351814afa5182159df88d2637e0f6f (patch) | |
tree | d098d54817b4363761505e66acf64f555e410a31 /include/linux/mfd | |
parent | 795570561cc9c8dc7f7582ed6c4d07121b1c4831 (diff) |
regulator: tps65911: Add new chip version
The tps65911 chip introduces new features, including changes in
the regulator module.
- VDD1 and VDD2 remain unchanged.
- VDD3 is now named VDDCTRL and has a wider voltage range.
- LDOs are now named LDO1...8 and voltage ranges are sequential,
making LDOs easier to handle.
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/linux/mfd')
-rw-r--r-- | include/linux/mfd/tps65910.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/mfd/tps65910.h b/include/linux/mfd/tps65910.h index 6ceea0dab8d7..20359e669ae7 100644 --- a/include/linux/mfd/tps65910.h +++ b/include/linux/mfd/tps65910.h | |||
@@ -232,7 +232,6 @@ | |||
232 | #define VDD2_OP_SEL_MASK 0x7F | 232 | #define VDD2_OP_SEL_MASK 0x7F |
233 | #define VDD2_OP_SEL_SHIFT 0 | 233 | #define VDD2_OP_SEL_SHIFT 0 |
234 | 234 | ||
235 | |||
236 | /*Register VDD2_SR (0x80) register.RegisterDescription */ | 235 | /*Register VDD2_SR (0x80) register.RegisterDescription */ |
237 | #define VDD2_SR_SEL_MASK 0x7F | 236 | #define VDD2_SR_SEL_MASK 0x7F |
238 | #define VDD2_SR_SEL_SHIFT 0 | 237 | #define VDD2_SR_SEL_SHIFT 0 |
@@ -249,6 +248,8 @@ | |||
249 | #define VDD3_CKINEN_SHIFT 2 | 248 | #define VDD3_CKINEN_SHIFT 2 |
250 | #define VDD3_ST_MASK 0x03 | 249 | #define VDD3_ST_MASK 0x03 |
251 | #define VDD3_ST_SHIFT 0 | 250 | #define VDD3_ST_SHIFT 0 |
251 | #define VDDCTRL_MIN_VOLT 6000 | ||
252 | #define VDDCTRL_OFFSET 125 | ||
252 | 253 | ||
253 | /*Registers VDIG (0x80) to VDAC register.RegisterDescription */ | 254 | /*Registers VDIG (0x80) to VDAC register.RegisterDescription */ |
254 | #define LDO_SEL_MASK 0x0C | 255 | #define LDO_SEL_MASK 0x0C |
@@ -259,6 +260,13 @@ | |||
259 | #define LDO_ST_MODE_BIT 0x02 | 260 | #define LDO_ST_MODE_BIT 0x02 |
260 | 261 | ||
261 | 262 | ||
263 | /* Registers LDO1 to LDO8 in tps65910 */ | ||
264 | #define LDO1_SEL_MASK 0xFC | ||
265 | #define LDO3_SEL_MASK 0x7C | ||
266 | #define LDO_MIN_VOLT 1000 | ||
267 | #define LDO_MAX_VOLT 3300; | ||
268 | |||
269 | |||
262 | /*Register VDIG1 (0x80) register.RegisterDescription */ | 270 | /*Register VDIG1 (0x80) register.RegisterDescription */ |
263 | #define VDIG1_SEL_MASK 0x0C | 271 | #define VDIG1_SEL_MASK 0x0C |
264 | #define VDIG1_SEL_SHIFT 2 | 272 | #define VDIG1_SEL_SHIFT 2 |