aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/samsung/irq.h
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2014-06-25 16:14:44 +0900
committerLee Jones <lee.jones@linaro.org>2014-07-09 14:58:11 +0100
commit54e8827d5f0e66d152ef63e7958030ef4880cd85 (patch)
tree6c8d1f67b3790c53cf00285334607ecc6a705a04 /include/linux/mfd/samsung/irq.h
parentmfd: mc13xxx: Use regmap irq framework for interrupts (diff)
downloadlinux-dev-54e8827d5f0e66d152ef63e7958030ef4880cd85.tar.xz
linux-dev-54e8827d5f0e66d152ef63e7958030ef4880cd85.zip
mfd: sec-core: Add support for S2MPU02 device
Add support for Samsung S2MPU02 PMIC device to the MFD sec-core driver. The S2MPU02 device includes PMIC/RTC/Clock devices. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/samsung/irq.h')
-rw-r--r--include/linux/mfd/samsung/irq.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/mfd/samsung/irq.h b/include/linux/mfd/samsung/irq.h
index 1224f447356b..f35af7361b60 100644
--- a/include/linux/mfd/samsung/irq.h
+++ b/include/linux/mfd/samsung/irq.h
@@ -129,6 +129,30 @@ enum s2mps14_irq {
S2MPS14_IRQ_NR,
};
+enum s2mpu02_irq {
+ S2MPU02_IRQ_PWRONF,
+ S2MPU02_IRQ_PWRONR,
+ S2MPU02_IRQ_JIGONBF,
+ S2MPU02_IRQ_JIGONBR,
+ S2MPU02_IRQ_ACOKBF,
+ S2MPU02_IRQ_ACOKBR,
+ S2MPU02_IRQ_PWRON1S,
+ S2MPU02_IRQ_MRB,
+
+ S2MPU02_IRQ_RTC60S,
+ S2MPU02_IRQ_RTCA1,
+ S2MPU02_IRQ_RTCA0,
+ S2MPU02_IRQ_SMPL,
+ S2MPU02_IRQ_RTC1S,
+ S2MPU02_IRQ_WTSR,
+
+ S2MPU02_IRQ_INT120C,
+ S2MPU02_IRQ_INT140C,
+ S2MPU02_IRQ_TSD,
+
+ S2MPU02_IRQ_NR,
+};
+
/* Masks for interrupts are the same as in s2mps11 */
#define S2MPS14_IRQ_TSD_MASK (1 << 2)