From eced9d5e93d560443773b305e897c3698a21f1fa Mon Sep 17 00:00:00 2001 From: Ulf Hansson Date: Fri, 21 Mar 2014 13:14:11 +0100 Subject: 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 --- drivers/regulator/db8500-prcmu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/regulator/db8500-prcmu.c') diff --git a/drivers/regulator/db8500-prcmu.c b/drivers/regulator/db8500-prcmu.c index 846acf240e48..617c1adca816 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, }, -- cgit