aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorOleksandr Dmytryshyn <oleksandr.dmytryshyn@ti.com>2012-02-06 17:17:24 +0200
committerZiyann <jaraidaniel@gmail.com>2014-10-01 12:59:44 +0200
commit61e6cbba9a161d17787813dc74e2b97369f26346 (patch)
treec2197c604b90f1c0f8c52100359d8e8d9123fa86 /drivers/regulator
parent94aab97ea48ef87128b085e98c03f2beb3371ec1 (diff)
downloadkernel_samsung_tuna-61e6cbba9a161d17787813dc74e2b97369f26346.tar.gz
kernel_samsung_tuna-61e6cbba9a161d17787813dc74e2b97369f26346.tar.bz2
kernel_samsung_tuna-61e6cbba9a161d17787813dc74e2b97369f26346.zip
MFD: TWL: Regulator: Add support for REGEN1
REGEN1 is added to platform data, so that it can be modelled as an regulator and the state of it can be controlled through drivers and board file. Change-Id: I3e3251d95841a8522db530b7826746e375e23ce6 Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@ti.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/twl-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c
index 589448751f1..b75b425c330 100644
--- a/drivers/regulator/twl-regulator.c
+++ b/drivers/regulator/twl-regulator.c
@@ -1120,6 +1120,7 @@ static struct twlreg_info twl_regs[] = {
TWL6032_ADJUSTABLE_SMPS(VIO, 0x16),
TWL6030_EXTERNAL_CONTROL_PIN(SYSEN, 0x83, 0),
+ TWL6030_EXTERNAL_CONTROL_PIN(REGEN1, 0x7d, 0),
};
static u8 twl_get_smps_offset(void)