Skip to content

Commit

Permalink
regulator: tps65086: Fix 25mV ranges for BUCK regulators 1, 2, and 6
Browse files Browse the repository at this point in the history
These regualtors output 0v when vsel is 0. The datasheet will be updated
to reflect this.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
  • Loading branch information
Andrew F. Davis authored and Mark Brown committed Dec 5, 2016
1 parent d8ca5bd commit f819288
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/regulator/tps65086-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ static const struct regulator_linear_range tps65086_10mv_ranges[] = {
};

static const struct regulator_linear_range tps65086_buck126_25mv_ranges[] = {
REGULATOR_LINEAR_RANGE(1000000, 0x0, 0x18, 0),
REGULATOR_LINEAR_RANGE(0, 0x0, 0x0, 0),
REGULATOR_LINEAR_RANGE(1000000, 0x1, 0x18, 0),
REGULATOR_LINEAR_RANGE(1025000, 0x19, 0x7F, 25000),
};

Expand Down

0 comments on commit f819288

Please sign in to comment.