Skip to content

Commit

Permalink
regulator: twl4030 VAUX3 supports 3.0V
Browse files Browse the repository at this point in the history
TWL4030 and TWL5030 support 3.0V on VAUX3.

Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
  • Loading branch information
Adrian Hunter authored and Liam Girdwood committed Mar 31, 2009
1 parent ca72556 commit d6bb69c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/regulator/twl4030-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ static int twl4030reg_set_mode(struct regulator_dev *rdev, unsigned mode)
*
* VSEL values documented as "TI cannot support these values" are flagged
* in these tables as UNSUP() values; we normally won't assign them.
*
* VAUX3 at 3V is incorrectly listed in some TI manuals as unsupported.
* TI are revising the twl5030/tps659x0 specs to support that 3.0V setting.
*/
#ifdef CONFIG_TWL4030_ALLOW_UNSUPPORTED
#define UNSUP_MASK 0x0000
Expand Down Expand Up @@ -223,7 +226,7 @@ static const u16 VAUX2_VSEL_table[] = {
};
static const u16 VAUX3_VSEL_table[] = {
1500, 1800, 2500, 2800,
UNSUP(3000), UNSUP(3000), UNSUP(3000), UNSUP(3000),
3000, 3000, 3000, 3000,
};
static const u16 VAUX4_VSEL_table[] = {
700, 1000, 1200, UNSUP(1300),
Expand Down

0 comments on commit d6bb69c

Please sign in to comment.