Skip to contentSkip to conversation

regulator: tps65086: Fix 25mV ranges for BUCK regulators 1, 2, and 6

PATCH New Andrew F. Davis 1 participant 1 message Dec 5, 2016 Voltage and current regulator framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

Hi Mark,

This applies to fix/tps65086 on your regulator tree. It could probably be squashed in with the existing fix patch if you would like.

Thanks,
Andrew

 drivers/regulator/tps65086-regulator.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/regulator/tps65086-regulator.c +2 -1
index caf174f..ecb0371 100644
@@ -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),
 };
 
Signature · 1 line
2.10.2