summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-03-21 13:14:11 +0100
committerMark Brown <broonie@linaro.org>2014-03-21 17:46:40 +0000
commiteced9d5e93d560443773b305e897c3698a21f1fa (patch)
treeb1be01d2c7de2de40ee9af4dba8405e5dd01a4e2 /drivers/regulator
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
regulator: db8500-prcmu: Set 1.8V as a fixed voltage for vsmps2
This regulator is used for system IO and is fixed to 1.8V. Let's give consumers the option to fetch the voltage level. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/db8500-prcmu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/regulator/db8500-prcmu.c b/drivers/regulator/db8500-prcmu.c
index 846acf240e4..617c1adca81 100644
--- a/drivers/regulator/db8500-prcmu.c
+++ b/drivers/regulator/db8500-prcmu.c
@@ -263,6 +263,8 @@ dbx500_regulator_info[DB8500_NUM_REGULATORS] = {
.ops = &db8500_regulator_ops,
.type = REGULATOR_VOLTAGE,
.owner = THIS_MODULE,
+ .fixed_uV = 1800000,
+ .n_voltages = 1,
},
.exclude_from_power_state = true,
},