aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-u300/include
diff options
context:
space:
mode:
authorMattias Wallin <mattias.wallin@stericsson.com>2010-05-01 18:26:40 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-05-28 01:37:47 +0200
commitd162251d1b8860ef489aecb712e5f06c33763ef3 (patch)
tree5904f7726990c3a7f6914d34daf52e95bc23f6b4 /arch/arm/mach-u300/include
parentmfd: AB3550 core driver (diff)
downloadlinux-dev-d162251d1b8860ef489aecb712e5f06c33763ef3.tar.xz
linux-dev-d162251d1b8860ef489aecb712e5f06c33763ef3.zip
ARM: AB3550 board configuration and irq for U300
This patch adds the i2c board configuration needed for the Mixed Signal chip AB3550. It also adds the irq numbers needed for the irq_chip implementation. Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'arch/arm/mach-u300/include')
-rw-r--r--arch/arm/mach-u300/include/mach/irqs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-u300/include/mach/irqs.h b/arch/arm/mach-u300/include/mach/irqs.h
index a6867b12773e..09b1b28fa8fd 100644
--- a/arch/arm/mach-u300/include/mach/irqs.h
+++ b/arch/arm/mach-u300/include/mach/irqs.h
@@ -109,6 +109,13 @@
#define U300_NR_IRQS 48
#endif
+#ifdef CONFIG_AB3550_CORE
+#define IRQ_AB3550_BASE (U300_NR_IRQS)
+#define IRQ_AB3550_END (IRQ_AB3550_BASE + 37)
+
+#define NR_IRQS (IRQ_AB3550_END + 1)
+#else
#define NR_IRQS U300_NR_IRQS
+#endif
#endif