[PATCH 14/20] regulator: db8500-prcmu: Set 1.8V as a fixed voltage for vsmps2

Ulf Hansson ulf.hansson at linaro.org
Fri Mar 21 08:14:11 EDT 2014


This regulator is used for system IO and is fixed to 1.8V. Let's give
consumers the option to fetch the voltage level.

Cc: Liam Girdwood <lgirdwood at gmail.com>
Cc: Mark Brown <broonie at kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson at linaro.org>
---

Hi Mark and Liam,

Then intent is to merge this complete patchset all together to not break
anything. Thus I only request for an ack for this particular patch.

Kind regards
Ulf Hansson 

---
 drivers/regulator/db8500-prcmu.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/regulator/db8500-prcmu.c b/drivers/regulator/db8500-prcmu.c
index 846acf2..617c1ad 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,
 	},
-- 
1.7.9.5




More information about the linux-arm-kernel mailing list