aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMargarita Olaya <magi@slimlogic.co.uk>2011-06-09 15:50:13 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2011-07-31 17:28:22 -0400
commitd49a0f3f14a763242b71244019d7881ee06e0658 (patch)
treefb268d0961fb012c480b8a7557b067a1f40a6753 /include/linux
parent36e52873c6393b569f2befcdd1847929211892b8 (diff)
tps65912: irq: add interrupt controller
This module controls the interrupt handling for the tps65912. The interrupt sources can be the following: - GPIO - PWRON signal - PWRHOLD signal - Temperature detection Signed-off-by: Margarita Olaya Cabrera <magi@slimlogic.co.uk> Acked-by: Samuel Ortiz <sameo@linux.intel.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mfd/tps65912.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mfd/tps65912.h b/include/linux/mfd/tps65912.h
index 48d3b53316a9..be60fb23b583 100644
--- a/include/linux/mfd/tps65912.h
+++ b/include/linux/mfd/tps65912.h
@@ -273,6 +273,8 @@ struct tps65912_board {
273 int is_dcdc2_avs; 273 int is_dcdc2_avs;
274 int is_dcdc3_avs; 274 int is_dcdc3_avs;
275 int is_dcdc4_avs; 275 int is_dcdc4_avs;
276 int irq;
277 int irq_base;
276 struct regulator_init_data *tps65912_pmic_init_data; 278 struct regulator_init_data *tps65912_pmic_init_data;
277}; 279};
278 280
@@ -306,6 +308,7 @@ struct tps65912 {
306}; 308};
307 309
308struct tps65912_platform_data { 310struct tps65912_platform_data {
311 int irq;
309 int irq_base; 312 int irq_base;
310}; 313};
311 314
@@ -317,5 +320,7 @@ int tps65912_reg_read(struct tps65912 *tps65912, u8 reg);
317int tps65912_reg_write(struct tps65912 *tps65912, u8 reg, u8 val); 320int tps65912_reg_write(struct tps65912 *tps65912, u8 reg, u8 val);
318int tps65912_device_init(struct tps65912 *tps65912); 321int tps65912_device_init(struct tps65912 *tps65912);
319void tps65912_device_exit(struct tps65912 *tps65912); 322void tps65912_device_exit(struct tps65912 *tps65912);
323int tps65912_irq_init(struct tps65912 *tps65912, int irq,
324 struct tps65912_platform_data *pdata);
320 325
321#endif /* __LINUX_MFD_TPS65912_H */ 326#endif /* __LINUX_MFD_TPS65912_H */