aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorAmbresh K <ambresh@ti.com>2012-01-27 17:22:55 +0530
committerZiyann <jaraidaniel@gmail.com>2014-10-01 12:56:42 +0200
commitab8742e8ca0c1538fbc179ac158fa43a683d8e99 (patch)
tree6863cf5d0869b4ae150b94be4e2229298f601994 /include/linux/i2c
parentfd86c4bb1ecffd6b530e79b2cc7c5849091e8cb6 (diff)
downloadkernel_samsung_tuna-ab8742e8ca0c1538fbc179ac158fa43a683d8e99.zip
kernel_samsung_tuna-ab8742e8ca0c1538fbc179ac158fa43a683d8e99.tar.gz
kernel_samsung_tuna-ab8742e8ca0c1538fbc179ac158fa43a683d8e99.tar.bz2
Regulator: TWL6030: Unmask PREQ in MASK_TRANSITION.
Based on board configuration, unmask PREQ so that on de-assertion or assertion on PREQ{1,2,3} transition Executes ACT2SLP and SLP2ACT sleep sequence. By default APPs process group is unmasked, but can be overridden through board file using struct twl4030_power_data. Change-Id: Ib9f561c64210e5997865a4bf7a2203dca9a1d695 Signed-off-by: Ambresh K <ambresh@ti.com>
Diffstat (limited to 'include/linux/i2c')
-rw-r--r--include/linux/i2c/twl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h
index eae3f01..bed388f 100644
--- a/include/linux/i2c/twl.h
+++ b/include/linux/i2c/twl.h
@@ -467,6 +467,7 @@ static inline int twl6030_mmc_card_detect(struct device *dev, int slot)
* TWL6030 PM Master module register offsets (use TWL_MODULE_PM_MASTER)
*/
+#define TWL6030_PM_MASTER_MSK_TRANSITION 0x01
#define TWL6030_VBATMIN_HI_THRESHOLD 0x05
/*