regulator: db8500-prcmu: Set 1.8V as a fixed voltage for vsmps2
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 21 Mar 2014 12:14:11 +0000 (13:14 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 21 Mar 2014 17:46:40 +0000 (17:46 +0000)
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>
drivers/regulator/db8500-prcmu.c

index 846acf240e486d138319cbf26ce9434b71e6bc6e..617c1adca816160b81edaf3a20b28bc84efca5d1 100644 (file)
@@ -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,
        },