Skip to contentSkip to conversation

FAILED: patch "[PATCH] regulator: tps65086: Fix 25mV ranges for BUCK regulators 1," failed to apply to 4.9-stable tree

PATCH [email protected] 1 participant 1 message Jan 6, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

The patch below does not apply to the 4.9-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

Quoted 1 line

From f8192880a102849d84fe0f5e27bc8625a33e031c Mon Sep 17 00:00:00 2001

From: "Andrew F. Davis" <[email protected]>
Date: Mon, 5 Dec 2016 10:21:00 -0600
Subject: [PATCH] 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.

drivers/regulator/tps65086-regulator.c +2 -1
index caf174ffa316..ecb0371780af 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),
 };