mx31ads: Provide an IRQ range to the WM835x on the 1133-EV1 module
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 5 Jan 2010 16:05:16 +0000 (16:05 +0000)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 5 Jan 2010 16:08:54 +0000 (17:08 +0100)
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.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx3/mx31ads.c
arch/arm/plat-mxc/include/mach/irqs.h

index e2054563027f9824301bf5b5f82c8e647eafc0f2..938c549767dcf3d018a201c5f5f4b9177f7d64c5 100644 (file)
@@ -462,6 +462,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
 
index ead9d592168da7fb57494409d772d551968c7d02..0cb347645db49cc8e9265b548eb1df3de37102f2 100644 (file)
  * 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)