summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2012-07-19 17:09:27 +0800
committerAndy Green <andy.green@linaro.org>2012-07-19 17:09:27 +0800
commit3e5844d3abd4703d2019b83d72986362dc2713d3 (patch)
tree1c80035e697de8b4c38ab0295d0cad5f4137b639
parent0fd116a3958124fc2abdb4b30a5536fddf2726d8 (diff)
downloadpanda-3e5844d3abd4703d2019b83d72986362dc2713d3.tar.gz
-rw-r--r--arch/arm/plat-omap/include/plat/irqs.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/irqs.h b/arch/arm/plat-omap/include/plat/irqs.h
index aa827a56492..c6135958d7e 100644
--- a/arch/arm/plat-omap/include/plat/irqs.h
+++ b/arch/arm/plat-omap/include/plat/irqs.h
@@ -378,8 +378,17 @@
#endif
#define OMAP_FPGA_IRQ_END (OMAP_FPGA_IRQ_BASE + OMAP_FPGA_NR_IRQS)
+/* TCA6424A I2C and SMBus I/O expander */
+#define OMAP_TCA6424_IRQ_BASE (OMAP_FPGA_IRQ_END)
+#ifdef CONFIG_GPIO_PCA953X
+#define OMAP_TCA6424_NR_IRQS 24
+#else
+#define OMAP_TCA6424_NR_IRQS 0
+#endif
+#define OMAP_TCA6424_IRQ_END (OMAP_TCA6424_IRQ_BASE + OMAP_TCA6424_NR_IRQS)
+
/* External TWL4030 can handle interrupts on 2430 and 34xx boards */
-#define TWL4030_IRQ_BASE (OMAP_FPGA_IRQ_END)
+#define TWL4030_IRQ_BASE (OMAP_TCA6424_IRQ_END)
#ifdef CONFIG_TWL4030_CORE
#define TWL4030_BASE_NR_IRQS 8
#define TWL4030_PWR_NR_IRQS 8