diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2010-10-01 22:48:09 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-10-20 18:54:57 -0400 |
commit | 9adf5d222cfbbc4b7e972bfe3472368f9b453091 (patch) | |
tree | 46983cb8aabb55629fe029e47e0d0c7c2ce73f5f /arch/arm/plat-s5p/include | |
parent | 8ce14a221efe8ef9019e2c5b1e06fcd329e66d78 (diff) |
ARM: S5P: Unify defines for both gpio interrupt types
Samsung S5P SoCs have the same interrupt type defines for both
external interrupts and gpio interrupts. This patch removes all
duplicates from S5PC100 and S5PV210 specific includes as well as
gpio interrupt code and put a common defines to plat/irqs.h
NOTE: Do not use this for S5P6440 and S5P6450.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[kgene.kim@samsung.com: add note for S5P64X0]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-s5p/include')
-rw-r--r-- | arch/arm/plat-s5p/include/plat/irqs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/plat-s5p/include/plat/irqs.h b/arch/arm/plat-s5p/include/plat/irqs.h index 23603c7f1943..7f653bce3c13 100644 --- a/arch/arm/plat-s5p/include/plat/irqs.h +++ b/arch/arm/plat-s5p/include/plat/irqs.h | |||
@@ -103,4 +103,11 @@ | |||
103 | #define S5P_GPIOINT_GROUP_SIZE 8 | 103 | #define S5P_GPIOINT_GROUP_SIZE 8 |
104 | #define S5P_GPIOINT_COUNT (S5P_GPIOINT_GROUP_COUNT * S5P_GPIOINT_GROUP_SIZE) | 104 | #define S5P_GPIOINT_COUNT (S5P_GPIOINT_GROUP_COUNT * S5P_GPIOINT_GROUP_SIZE) |
105 | 105 | ||
106 | /* IRQ types common for all s5p platforms */ | ||
107 | #define S5P_IRQ_TYPE_LEVEL_LOW (0x00) | ||
108 | #define S5P_IRQ_TYPE_LEVEL_HIGH (0x01) | ||
109 | #define S5P_IRQ_TYPE_EDGE_FALLING (0x02) | ||
110 | #define S5P_IRQ_TYPE_EDGE_RISING (0x03) | ||
111 | #define S5P_IRQ_TYPE_EDGE_BOTH (0x04) | ||
112 | |||
106 | #endif /* __ASM_PLAT_S5P_IRQS_H */ | 113 | #endif /* __ASM_PLAT_S5P_IRQS_H */ |