regulator: tps65086: Fix 25mV ranges for BUCK regulators 1, 2, and 6
authorAndrew F. Davis <afd@ti.com>
Mon, 5 Dec 2016 16:21:00 +0000 (10:21 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 5 Dec 2016 17:21:22 +0000 (17:21 +0000)
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
drivers/regulator/tps65086-regulator.c

index caf174ffa316fa9965f51b2cf0642805da8b4747..ecb0371780af6d8927a95c5ec61da1849172be40 100644 (file)
@@ -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),
 };