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....@ingics.com>
---
Hi Laxman,
My understanding is based on your comment in the code.
        /*
         * When SMPS45 is set to off and LDO8 tracking is enabled, the LDO8
         * output is defined by the LDO8_VOLTAGE.VSEL register divided by two,
         * and can be set from 0.45 to 1.65 V.
         */

Can you confirm if this patch is correct or not?
Axel

 drivers/regulator/palmas-regulator.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/palmas-regulator.c 
b/drivers/regulator/palmas-regulator.c
index d6efaf1..452d987 100644
--- a/drivers/regulator/palmas-regulator.c
+++ b/drivers/regulator/palmas-regulator.c
@@ -886,6 +886,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 {
-- 
1.7.10.4



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to