diff mbox

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

Message ID 1395404057-27835-15-git-send-email-ulf.hansson@linaro.org
State Accepted
Commit eced9d5e93d560443773b305e897c3698a21f1fa
Headers show

Commit Message

Ulf Hansson March 21, 2014, 12:14 p.m. UTC
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@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@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(+)

Comments

Mark Brown March 21, 2014, 12:25 p.m. UTC | #1
On Fri, Mar 21, 2014 at 01:14:11PM +0100, Ulf Hansson wrote:

> 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.

TBH given that we're at -rc7 and you're unlikely to get the rest of
whatever this is merged before the merge window it's as easy for me to
just apply it.  Make sense?
Mark Brown March 21, 2014, 5:47 p.m. UTC | #2
On Fri, Mar 21, 2014 at 01:14:11PM +0100, Ulf Hansson wrote:
> This regulator is used for system IO and is fixed to 1.8V. Let's give
> consumers the option to fetch the voltage level.

Applied, thanks.  If the rest of the series can get applied I can
easily drop this one.
diff mbox

Patch

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,
 	},