Commit 3df4a81c authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

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: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 51d3a0c9
...@@ -964,6 +964,7 @@ static int palmas_regulators_probe(struct platform_device *pdev) ...@@ -964,6 +964,7 @@ static int palmas_regulators_probe(struct platform_device *pdev)
if (pdata && (id == PALMAS_REG_LDO8) && if (pdata && (id == PALMAS_REG_LDO8) &&
pdata->enable_ldo8_tracking) { pdata->enable_ldo8_tracking) {
palmas_enable_ldo8_track(palmas); palmas_enable_ldo8_track(palmas);
pmic->desc[id].min_uV = 450000;
pmic->desc[id].uV_step = 25000; pmic->desc[id].uV_step = 25000;
} }
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment