diff options
author | viresh kumar <viresh.kumar@st.com> | 2010-05-03 04:24:30 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-04 11:54:54 -0400 |
commit | 4c18e77f718cdda33363132127db4df795eadbd9 (patch) | |
tree | bbecdc08f487246049bb6d0c212d338a9056597a /arch/arm/mach-spear6xx | |
parent | ff37f6e5910c4fd7ad42063d89c0687def665941 (diff) |
ARM: 6091/1: ST SPEAr: Adding support for shared irq layer
Multiple peripherals in SPEAr share common hardware interrupt lines.
This patch adds support for a shared irq layer, which registers hardware
irqs by itself and exposes virtual irq numbers to peripherals.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-spear6xx')
-rw-r--r-- | arch/arm/mach-spear6xx/include/mach/irqs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-spear6xx/include/mach/irqs.h b/arch/arm/mach-spear6xx/include/mach/irqs.h index 08a3abced750..8f214b03d75d 100644 --- a/arch/arm/mach-spear6xx/include/mach/irqs.h +++ b/arch/arm/mach-spear6xx/include/mach/irqs.h | |||
@@ -85,6 +85,7 @@ | |||
85 | 85 | ||
86 | #define IRQ_VIC_END 64 | 86 | #define IRQ_VIC_END 64 |
87 | 87 | ||
88 | /* GPIO pins virtual irqs */ | ||
88 | #define SPEAR_GPIO_INT_BASE IRQ_VIC_END | 89 | #define SPEAR_GPIO_INT_BASE IRQ_VIC_END |
89 | #define SPEAR_GPIO0_INT_BASE SPEAR_GPIO_INT_BASE | 90 | #define SPEAR_GPIO0_INT_BASE SPEAR_GPIO_INT_BASE |
90 | #define SPEAR_GPIO1_INT_BASE (SPEAR_GPIO0_INT_BASE + 8) | 91 | #define SPEAR_GPIO1_INT_BASE (SPEAR_GPIO0_INT_BASE + 8) |