diff options
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2011-04-05 14:40:53 -0700 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-05-26 19:45:28 +0200 |
commit | c013f0a56c56b88ac63c4037f2dfaaf2422fa863 (patch) | |
tree | 54d8e003ba72caf0cc9ff4fcf12cea2eb8727ea9 /include/linux/mfd/pm8xxx/pm8921.h | |
parent | cbdb53e1f33baf60ded045dc79cd0dd4e9705fa5 (diff) |
mfd: Add pm8xxx irq support
Add support for the irq controller in Qualcomm 8xxx pmic. The 8xxx
interrupt controller provides control for gpio and mpp configured as
interrupts in addition to other subdevice interrupts. The interrupt
controller also provides a way to read the real time status of an
interrupt. This real time status is the only way one can get the
input values of gpio and mpp lines.
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/pm8xxx/pm8921.h')
-rw-r--r-- | include/linux/mfd/pm8xxx/pm8921.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/pm8xxx/pm8921.h b/include/linux/mfd/pm8xxx/pm8921.h index 33fbe9c960a..d5517fd32d1 100644 --- a/include/linux/mfd/pm8xxx/pm8921.h +++ b/include/linux/mfd/pm8xxx/pm8921.h @@ -19,9 +19,13 @@ #define __MFD_PM8921_H #include <linux/device.h> +#include <linux/mfd/pm8xxx/irq.h> + +#define PM8921_NR_IRQS 256 struct pm8921_platform_data { int irq_base; + struct pm8xxx_irq_platform_data *irq_pdata; }; #endif |