aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAmbresh K <ambresh@ti.com>2011-12-16 17:26:40 +0530
committerPraneeth Bajjuri <praneeth@ti.com>2011-12-23 00:01:47 -0600
commitf3592a96a9c1dbfb5d73fcd8bd0e9b69ce82b162 (patch)
tree767da6f7eb8495a636672715cfb79a4ae90f016d /drivers/regulator
parentc7f10d1c4cd385e846001ed2e99d5e601ba2e342 (diff)
downloadkernel_samsung_espresso10-f3592a96a9c1dbfb5d73fcd8bd0e9b69ce82b162.zip
kernel_samsung_espresso10-f3592a96a9c1dbfb5d73fcd8bd0e9b69ce82b162.tar.gz
kernel_samsung_espresso10-f3592a96a9c1dbfb5d73fcd8bd0e9b69ce82b162.tar.bz2
MFD: TWL: 6030: Regulator: Add support for VCORE1 and VCORE2
VCORE1 and VCORE2 are added to platform data, so that it can be modelled as an SMPS adjustable regulator and the state of it can be controlled through drivers and board file. Change-Id: I070f7196879c4e989e401044761b02c9d4a067f3 Signed-off-by: Ambresh K <ambresh@ti.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/twl-regulator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c
index f34ae3a..86822e8 100644
--- a/drivers/regulator/twl-regulator.c
+++ b/drivers/regulator/twl-regulator.c
@@ -1066,6 +1066,8 @@ static struct twlreg_info twl_regs[] = {
TWL6030_FIXED_LDO(VUSB, 0x70, 3300, 0),
TWL6030_FIXED_RESOURCE(CLK32KG, 0x8C, 0),
TWL6030_FIXED_RESOURCE(CLK32KAUDIO, 0x8F, 0),
+ TWL6030_ADJUSTABLE_SMPS(VDD1, 0x22, 600, 4000),
+ TWL6030_ADJUSTABLE_SMPS(VDD2, 0x28, 600, 4000),
TWL6030_ADJUSTABLE_SMPS(VDD3, 0x2e, 600, 4000),
TWL6030_ADJUSTABLE_SMPS(VMEM, 0x34, 600, 4000),
TWL6030_ADJUSTABLE_SMPS(V2V1, 0x1c, 1800, 2100),