diff options
author | Jongpill Lee <boyko.lee@samsung.com> | 2010-10-14 02:52:16 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-10-25 03:06:33 -0400 |
commit | d2e7eca36dde5ee8979362bed5b27e47b37e94a0 (patch) | |
tree | b9e550b22c6d4bb17ea19e007055b8e3190a64b8 /arch/arm/mach-s5pv310/include/mach | |
parent | 37ea63b14bec667957ca3cfaa899c6e103fdb854 (diff) |
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/mach')
-rw-r--r-- | arch/arm/mach-s5pv310/include/mach/irqs.h | 13 |
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 f301af7127f..fa7a8a3f463 100644 --- a/arch/arm/mach-s5pv310/include/mach/irqs.h +++ b/arch/arm/mach-s5pv310/include/mach/irqs.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. | 3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. |
4 | * http://www.samsung.com/ | 4 | * http://www.samsung.com/ |
5 | * | 5 | * |
6 | * S5PV210 - IRQ definitions | 6 | * S5PV310 - IRQ definitions |
7 | * | 7 | * |
8 | * This program is free software; you can redistribute it and/or modify | 8 | * This program is free software; you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License version 2 as | 9 | * it under the terms of the GNU General Public License version 2 as |
@@ -85,10 +85,15 @@ | |||
85 | 85 | ||
86 | #define IRQ_ONENAND_AUDI COMBINER_IRQ(34, 0) | 86 | #define IRQ_ONENAND_AUDI COMBINER_IRQ(34, 0) |
87 | 87 | ||
88 | /* Set the default NR_IRQS */ | 88 | #define MAX_COMBINER_NR 40 |
89 | 89 | ||
90 | #define NR_IRQS COMBINER_IRQ(MAX_COMBINER_NR, 0) | 90 | #define S5P_IRQ_EINT_BASE COMBINER_IRQ(MAX_COMBINER_NR, 0) |
91 | 91 | ||
92 | #define MAX_COMBINER_NR 40 | 92 | #define S5P_EINT_BASE1 (S5P_IRQ_EINT_BASE + 0) |
93 | #define S5P_EINT_BASE2 (S5P_IRQ_EINT_BASE + 16) | ||
94 | |||
95 | /* Set the default NR_IRQS */ | ||
96 | |||
97 | #define NR_IRQS (S5P_IRQ_EINT_BASE + 32) | ||
93 | 98 | ||
94 | #endif /* __ASM_ARCH_IRQS_H */ | 99 | #endif /* __ASM_ARCH_IRQS_H */ |