aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv310/include
diff options
context:
space:
mode:
authorJongpill Lee <boyko.lee@samsung.com>2010-10-14 15:52:16 +0900
committerKukjin Kim <kgene.kim@samsung.com>2010-10-25 16:06:33 +0900
commitd2e7eca36dde5ee8979362bed5b27e47b37e94a0 (patch)
treeb9e550b22c6d4bb17ea19e007055b8e3190a64b8 /arch/arm/mach-s5pv310/include
parentARM: S5P: Add initial map for GPIO2 and GPIO3 (diff)
downloadlinux-dev-d2e7eca36dde5ee8979362bed5b27e47b37e94a0.tar.xz
linux-dev-d2e7eca36dde5ee8979362bed5b27e47b37e94a0.zip
ARM: S5PV310: Add support GPIOlib
This patch adds GPIOlib support for S5PV310 and S5PC210. Signed-off-by: Jongpill Lee <boyko.lee@samsung.com> Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> [kgene.kim@samsung.com: Fix NR_IRQS] Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv310/include')
-rw-r--r--arch/arm/mach-s5pv310/include/mach/irqs.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/arch/arm/mach-s5pv310/include/mach/irqs.h b/arch/arm/mach-s5pv310/include/mach/irqs.h
index f301af7127f7..fa7a8a3f463f 100644
--- a/arch/arm/mach-s5pv310/include/mach/irqs.h
+++ b/arch/arm/mach-s5pv310/include/mach/irqs.h
@@ -3,7 +3,7 @@
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
- * S5PV210 - IRQ definitions
+ * S5PV310 - IRQ definitions
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -85,10 +85,15 @@
#define IRQ_ONENAND_AUDI COMBINER_IRQ(34, 0)
-/* Set the default NR_IRQS */
+#define MAX_COMBINER_NR 40
-#define NR_IRQS COMBINER_IRQ(MAX_COMBINER_NR, 0)
+#define S5P_IRQ_EINT_BASE COMBINER_IRQ(MAX_COMBINER_NR, 0)
-#define MAX_COMBINER_NR 40
+#define S5P_EINT_BASE1 (S5P_IRQ_EINT_BASE + 0)
+#define S5P_EINT_BASE2 (S5P_IRQ_EINT_BASE + 16)
+
+/* Set the default NR_IRQS */
+
+#define NR_IRQS (S5P_IRQ_EINT_BASE + 32)
#endif /* __ASM_ARCH_IRQS_H */