aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s5p
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2010-02-24 02:40:40 -0500
committerBen Dooks <ben-linux@fluff.org>2010-02-24 17:47:22 -0500
commit2c798557b9e0961e545e526197654d9437a6330e (patch)
tree4394c94c4016861c919135f5e51b19dac830dcf1 /arch/arm/plat-s5p
parent0c1945d336116e82454b5461238618ef81696669 (diff)
ARM: S5PV210: Add IRQ support
This patch adds IRQ support for S5PV210. This patch adds interrupt register definitions, IRQ definitions for various interrupt sources and new VIC base for VIC2 and VIC3 in plat-s5p common irq code. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s5p')
-rw-r--r--arch/arm/plat-s5p/include/plat/irqs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-s5p/include/plat/irqs.h b/arch/arm/plat-s5p/include/plat/irqs.h
index 9daad19ccd0d..42e757f2e40c 100644
--- a/arch/arm/plat-s5p/include/plat/irqs.h
+++ b/arch/arm/plat-s5p/include/plat/irqs.h
@@ -29,6 +29,7 @@
29#define S5P_VIC0_BASE S5P_IRQ(0) 29#define S5P_VIC0_BASE S5P_IRQ(0)
30#define S5P_VIC1_BASE S5P_IRQ(32) 30#define S5P_VIC1_BASE S5P_IRQ(32)
31#define S5P_VIC2_BASE S5P_IRQ(64) 31#define S5P_VIC2_BASE S5P_IRQ(64)
32#define S5P_VIC3_BASE S5P_IRQ(96)
32 33
33#define VIC_BASE(x) (S5P_VIC0_BASE + ((x)*32)) 34#define VIC_BASE(x) (S5P_VIC0_BASE + ((x)*32))
34 35
@@ -76,6 +77,7 @@
76#define S5P_IRQ_VIC0(x) (S5P_VIC0_BASE + (x)) 77#define S5P_IRQ_VIC0(x) (S5P_VIC0_BASE + (x))
77#define S5P_IRQ_VIC1(x) (S5P_VIC1_BASE + (x)) 78#define S5P_IRQ_VIC1(x) (S5P_VIC1_BASE + (x))
78#define S5P_IRQ_VIC2(x) (S5P_VIC2_BASE + (x)) 79#define S5P_IRQ_VIC2(x) (S5P_VIC2_BASE + (x))
80#define S5P_IRQ_VIC3(x) (S5P_VIC3_BASE + (x))
79 81
80#define S5P_TIMER_IRQ(x) S5P_IRQ(11 + (x)) 82#define S5P_TIMER_IRQ(x) S5P_IRQ(11 + (x))
81 83