Skip to contentSkip to conversation

mx31ads: Provide a name for EXPIO interrupt chip

PATCH New Mark Brown 1 participant 2 messages Jan 5, 2010

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/2 mx31ads: Provide a name for EXPIO interrupt chip

This makes it a bit more obvious in genirq diagnostics that they aren't handled by the i.MX interrupt controller.

---
 arch/arm/mach-mx3/mx31ads.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-mx3/mx31ads.c +1 -0
index a579f4c..c486c2f 100644
@@ -173,6 +173,7 @@ static void expio_unmask_irq(u32 irq)
 }
 
 static struct irq_chip expio_irq_chip = {
+	.name = "EXPIO(CPLD)",
 	.ack = expio_ack_irq,
 	.mask = expio_mask_irq,
 	.unmask = expio_unmask_irq,
Signature · 1 line
1.6.5.7
author
#1 lore raw

PATCH 2/2 mx31ads: Provide an IRQ range to the WM835x on the 1133-EV1 module

The WM8350 core won't actually use the range yet, but it will in future and the platform data to configure it is there now.

---
 arch/arm/mach-mx3/mx31ads.c           |    1 +
 arch/arm/plat-mxc/include/mach/irqs.h |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)
arch/arm/mach-mx3/mx31ads.c +1 -0
index c486c2f..ed8498a 100644
@@ -452,6 +452,7 @@ static int mx31_wm8350_init(struct wm8350 *wm8350)
 
 static struct wm8350_platform_data __initdata mx31_wm8350_pdata = {
 	.init = mx31_wm8350_init,
+	.irq_base = MXC_BOARD_IRQ_START + MXC_MAX_EXP_IO_LINES,
 };
 #endif
 
arch/arm/plat-mxc/include/mach/irqs.h +5 -0
index ead9d59..0cb3476 100644
@@ -37,7 +37,12 @@
  * within sensible limits.
  */
 #define MXC_BOARD_IRQ_START	(MXC_INTERNAL_IRQS + MXC_GPIO_IRQS)
+
+#ifdef CONFIG_MACH_MX31ADS_WM1133_EV1
+#define MXC_BOARD_IRQS  80
+#else
 #define MXC_BOARD_IRQS	16
+#endif
 
 #define MXC_IPU_IRQ_START	(MXC_BOARD_IRQ_START + MXC_BOARD_IRQS)
 
Signature · 1 line
1.6.5.7