Skip to content

Commit f819288

Browse files
glneobroonie
authored andcommitted
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
1 parent d8ca5bd commit f819288

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/regulator/tps65086-regulator.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ static const struct regulator_linear_range tps65086_10mv_ranges[] = {
7777
};
7878

7979
static const struct regulator_linear_range tps65086_buck126_25mv_ranges[] = {
80-
REGULATOR_LINEAR_RANGE(1000000, 0x0, 0x18, 0),
80+
REGULATOR_LINEAR_RANGE(0, 0x0, 0x0, 0),
81+
REGULATOR_LINEAR_RANGE(1000000, 0x1, 0x18, 0),
8182
REGULATOR_LINEAR_RANGE(1025000, 0x19, 0x7F, 25000),
8283
};
8384

0 commit comments

Comments
 (0)