summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-06-12 17:18:49 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-13 17:34:45 +0800
commit0ff472467a04dfecffbf44d2414c756c83212cbe (patch)
tree7f44e7529e4d9a1f64e1b01773a6671c04a47cd1
parent578df8babf3b1895d562e1ea0d3a81d1e77e0182 (diff)
downloadop-kernel-dev-0ff472467a04dfecffbf44d2414c756c83212cbe.zip
op-kernel-dev-0ff472467a04dfecffbf44d2414c756c83212cbe.tar.gz
regulator: wm8350: Add missing min_uV and uV_step settings for DCDC4
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--drivers/regulator/wm8350-regulator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/regulator/wm8350-regulator.c b/drivers/regulator/wm8350-regulator.c
index ca678ee..53bf3df 100644
--- a/drivers/regulator/wm8350-regulator.c
+++ b/drivers/regulator/wm8350-regulator.c
@@ -1105,6 +1105,8 @@ static const struct regulator_desc wm8350_reg[NUM_WM8350_REGULATORS] = {
.irq = WM8350_IRQ_UV_DC4,
.type = REGULATOR_VOLTAGE,
.n_voltages = WM8350_DCDC_MAX_VSEL + 1,
+ .min_uV = 850000,
+ .uV_step = 25000,
.vsel_reg = WM8350_DCDC4_CONTROL,
.vsel_mask = WM8350_DC4_VSEL_MASK,
.enable_reg = WM8350_DCDC_LDO_REQUESTED,
OpenPOWER on IntegriCloud