summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinyu Chen <xinyu.chen@freescale.com>2010-12-08 15:55:43 +0800
committerXinyu Chen <xinyu.chen@freescale.com>2010-12-08 15:55:43 +0800
commit1e453ad5b660d4e4f001011a6f415ed72b6ce9b8 (patch)
tree169bc77042f283eb5b49b065bb1d35d769c953fa
parent50459664ec1e90cc0a890d1453207b84aa5b19b0 (diff)
ENGR00136097-1 pmic mc13892: Add PWRON3 power event support
Enable the PWRON3 event in mc13892. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
-rw-r--r--drivers/mxc/pmic/core/mc13892.c2
-rw-r--r--include/linux/pmic_external.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mxc/pmic/core/mc13892.c b/drivers/mxc/pmic/core/mc13892.c
index b21039bc666c..a2cbb1645901 100644
--- a/drivers/mxc/pmic/core/mc13892.c
+++ b/drivers/mxc/pmic/core/mc13892.c
@@ -229,7 +229,7 @@ unsigned int pmic_get_active_events(unsigned int *active_events)
}
#define EVENT_MASK_0 0x387fff
-#define EVENT_MASK_1 0x1177eb
+#define EVENT_MASK_1 0x1177ef
int pmic_event_unmask(type_event event)
{
diff --git a/include/linux/pmic_external.h b/include/linux/pmic_external.h
index b632eafac624..23aa37e1bfa2 100644
--- a/include/linux/pmic_external.h
+++ b/include/linux/pmic_external.h
@@ -215,6 +215,7 @@ typedef enum {
EVENT_CKDETI = 22,
EVENT_1HZI = 24,
EVENT_TODAI = 25,
+ EVENT_PWRON3I = 26,
EVENT_PWRONI = 27,
EVENT_WDIRESETI = 29,
EVENT_SYSRSTI = 30,