diff options
-rw-r--r-- | drivers/regulator/palmas-regulator.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index cb65c6f6b0b3..fba4faa422b8 100644 --- a/drivers/regulator/palmas-regulator.c +++ b/drivers/regulator/palmas-regulator.c | |||
@@ -979,6 +979,7 @@ static int palmas_regulators_probe(struct platform_device *pdev) | |||
979 | pmic->desc[id].min_uV = 900000; | 979 | pmic->desc[id].min_uV = 900000; |
980 | pmic->desc[id].uV_step = 50000; | 980 | pmic->desc[id].uV_step = 50000; |
981 | pmic->desc[id].linear_min_sel = 1; | 981 | pmic->desc[id].linear_min_sel = 1; |
982 | pmic->desc[id].enable_time = 500; | ||
982 | pmic->desc[id].vsel_reg = | 983 | pmic->desc[id].vsel_reg = |
983 | PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, | 984 | PALMAS_BASE_TO_REG(PALMAS_LDO_BASE, |
984 | palmas_regs_info[id].vsel_addr); | 985 | palmas_regs_info[id].vsel_addr); |
@@ -997,6 +998,11 @@ static int palmas_regulators_probe(struct platform_device *pdev) | |||
997 | pmic->desc[id].min_uV = 450000; | 998 | pmic->desc[id].min_uV = 450000; |
998 | pmic->desc[id].uV_step = 25000; | 999 | pmic->desc[id].uV_step = 25000; |
999 | } | 1000 | } |
1001 | |||
1002 | /* LOD6 in vibrator mode will have enable time 2000us */ | ||
1003 | if (pdata && pdata->ldo6_vibrator && | ||
1004 | (id == PALMAS_REG_LDO6)) | ||
1005 | pmic->desc[id].enable_time = 2000; | ||
1000 | } else { | 1006 | } else { |
1001 | pmic->desc[id].n_voltages = 1; | 1007 | pmic->desc[id].n_voltages = 1; |
1002 | pmic->desc[id].ops = &palmas_ops_extreg; | 1008 | pmic->desc[id].ops = &palmas_ops_extreg; |