Commit eced9d5e93d560443773b305e897c3698a21f1fa

Authored by Ulf Hansson
Committed by Mark Brown
1 parent 38dbfb59d1

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>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

drivers/regulator/db8500-prcmu.c
... ... @@ -263,6 +263,8 @@
263 263 .ops = &db8500_regulator_ops,
264 264 .type = REGULATOR_VOLTAGE,
265 265 .owner = THIS_MODULE,
  266 + .fixed_uV = 1800000,
  267 + .n_voltages = 1,
266 268 },
267 269 .exclude_from_power_state = true,
268 270 },