summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-spear6xx/include/mach
diff options
context:
space:
mode:
authorviresh kumar <viresh.kumar@st.com>2010-05-03 10:24:30 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-05-04 17:54:54 +0200
commit4c18e77f718cdda33363132127db4df795eadbd9 (patch)
treebbecdc08f487246049bb6d0c212d338a9056597a /arch/arm/mach-spear6xx/include/mach
parentARM: 6021/1: ST SPEAr: Added ARM PrimeXsys System Controller SP810 header file (diff)
downloadlinux-4c18e77f718cdda33363132127db4df795eadbd9.tar.xz
linux-4c18e77f718cdda33363132127db4df795eadbd9.zip
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/include/mach')
-rw-r--r--arch/arm/mach-spear6xx/include/mach/irqs.h1
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 @@
#define IRQ_VIC_END 64
+/* GPIO pins virtual irqs */
#define SPEAR_GPIO_INT_BASE IRQ_VIC_END
#define SPEAR_GPIO0_INT_BASE SPEAR_GPIO_INT_BASE
#define SPEAR_GPIO1_INT_BASE (SPEAR_GPIO0_INT_BASE + 8)