From ab8742e8ca0c1538fbc179ac158fa43a683d8e99 Mon Sep 17 00:00:00 2001 From: Ambresh K Date: Fri, 27 Jan 2012 17:22:55 +0530 Subject: 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 --- include/linux/i2c/twl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux/i2c') 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 /* -- cgit v1.1