From: Ulf Hansson Date: Fri, 21 Mar 2014 12:14:11 +0000 (+0100) Subject: regulator: db8500-prcmu: Set 1.8V as a fixed voltage for vsmps2 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=eced9d5e93d560443773b305e897c3698a21f1fa;p=linux.git 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 Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/db8500-prcmu.c b/drivers/regulator/db8500-prcmu.c index 846acf240e486..617c1adca8161 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, },