summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-04-19 00:53:52 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-18 18:35:17 +0100
commit3df4a81c467e1f05188b3d93ebebfd633df58c5e (patch)
tree2e5c4d4df572984dda6fc816e44950785a6a9213 /drivers/regulator
parent51d3a0c999e18a802a654171b5e05952b4630148 (diff)
downloadtalos-obmc-linux-3df4a81c467e1f05188b3d93ebebfd633df58c5e.tar.gz
talos-obmc-linux-3df4a81c467e1f05188b3d93ebebfd633df58c5e.zip
regulator: palmas: Fix min_uV for LDO8 tracking mode
When SMPS45 is set to off and LDO8 tracking is enabled, the output voltage can be set from 0.45 to 1.65 V. Thus set min_uV to be 450000. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/palmas-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c
index 38447ac53cb8..8e5331c0b338 100644
--- a/drivers/regulator/palmas-regulator.c
+++ b/drivers/regulator/palmas-regulator.c
@@ -964,6 +964,7 @@ static int palmas_regulators_probe(struct platform_device *pdev)
if (pdata && (id == PALMAS_REG_LDO8) &&
pdata->enable_ldo8_tracking) {
palmas_enable_ldo8_track(palmas);
+ pmic->desc[id].min_uV = 450000;
pmic->desc[id].uV_step = 25000;
}
} else {
OpenPOWER on IntegriCloud