diff options
author | Andrew F. Davis <afd@ti.com> | 2016-12-05 17:21:00 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-12-05 18:21:22 +0100 |
commit | f8192880a102849d84fe0f5e27bc8625a33e031c (patch) | |
tree | 955a913ccd018d17bd0ab6f492de4425509b05ce | |
parent | regulator: tps65086: Fix 25mV ranges for BUCK regulators (diff) | |
download | linux-f8192880a102849d84fe0f5e27bc8625a33e031c.tar.xz linux-f8192880a102849d84fe0f5e27bc8625a33e031c.zip |
regulator: tps65086: Fix 25mV ranges for BUCK regulators 1, 2, and 6
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
-rw-r--r-- | drivers/regulator/tps65086-regulator.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/tps65086-regulator.c b/drivers/regulator/tps65086-regulator.c index caf174ffa316..ecb0371780af 100644 --- a/drivers/regulator/tps65086-regulator.c +++ b/drivers/regulator/tps65086-regulator.c @@ -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), }; |