regulator: palmas: Fix min_uV for LDO8 tracking mode
authorAxel Lin <axel.lin@ingics.com>
Thu, 18 Apr 2013 16:53:52 +0000 (00:53 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 18 Apr 2013 17:35:17 +0000 (18:35 +0100)
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>
drivers/regulator/palmas-regulator.c

index 38447ac..8e5331c 100644 (file)
@@ -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 {