aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mfd/wm8994/pdata.h
diff options
context:
space:
mode:
authorMark Brown2013-05-06 16:12:56 +0100
committerSamuel Ortiz2013-06-11 19:27:52 +0200
commit7c8844481a1c16c10fa9be4ce95be5725aed6ce3 (patch)
tree7533110930172ae82fa38ee8531a70ecd50ed8ca /include/linux/mfd/wm8994/pdata.h
parentfc83f586adf3b86ff7046478497b4a53b2220be8 (diff)
mfd: wm8994: Emulate level triggered interrupts if required
The interrupt controller on the wm8994 series of devices requires a level triggered parent. If one is not available but a GPIO is available for the interrupt then emulate. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/wm8994/pdata.h')
-rw-r--r--include/linux/mfd/wm8994/pdata.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8994/pdata.h b/include/linux/mfd/wm8994/pdata.h
index 68e776594889..90e9bf86e643 100644
--- a/include/linux/mfd/wm8994/pdata.h
+++ b/include/linux/mfd/wm8994/pdata.h
@@ -223,6 +223,11 @@ struct wm8994_pdata {
* lines is mastered.
*/
int max_channels_clocked[WM8994_NUM_AIF];
+
+ /**
+ * GPIO for the IRQ pin if host only supports edge triggering
+ */
+ int irq_gpio;
};
#endif