diff options
author | Steve Muckle <smuckle@codeaurora.org> | 2009-11-28 13:00:13 -0800 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-10-08 15:12:34 -0700 |
commit | ed1f31b4b742647e2ec18c885e65fbef484eaf58 (patch) | |
tree | cba9217cf50bfce09f9046d7a26d0eb91c9d8f8e | |
parent | 6cf6dfefe1f07f309998df8734fdc0961dbae38c (diff) | |
download | op-kernel-dev-ed1f31b4b742647e2ec18c885e65fbef484eaf58.zip op-kernel-dev-ed1f31b4b742647e2ec18c885e65fbef484eaf58.tar.gz |
msm: initial irq definitions for MSM8X60
IRQ assignments are different for MSM8X60 than other existing MSMs.
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
-rw-r--r-- | arch/arm/mach-msm/include/mach/irqs-8x60.h | 28 | ||||
-rw-r--r-- | arch/arm/mach-msm/include/mach/irqs.h | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/include/mach/irqs-8x60.h b/arch/arm/mach-msm/include/mach/irqs-8x60.h new file mode 100644 index 0000000..cd9c8dc --- /dev/null +++ b/arch/arm/mach-msm/include/mach/irqs-8x60.h @@ -0,0 +1,28 @@ +/* Copyright (c) 2010 Code Aurora Forum. All rights reserved. + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef __ASM_ARCH_MSM_IRQS_8X60_H +#define __ASM_ARCH_MSM_IRQS_8X60_H + +/* MSM ACPU Interrupt Numbers */ + +/* 0-15: STI/SGI (software triggered/generated interrupts) + * 16-31: PPI (private peripheral interrupts) + * 32+: SPI (shared peripheral interrupts) + */ + +#define NR_GPIO_IRQS 173 +#define NR_MSM_IRQS 256 +#define NR_BOARD_IRQS 0 + +#endif diff --git a/arch/arm/mach-msm/include/mach/irqs.h b/arch/arm/mach-msm/include/mach/irqs.h index 164d355..8679a45 100644 --- a/arch/arm/mach-msm/include/mach/irqs.h +++ b/arch/arm/mach-msm/include/mach/irqs.h @@ -24,6 +24,8 @@ #elif defined(CONFIG_ARCH_QSD8X50) #include "irqs-8x50.h" #include "sirc.h" +#elif defined(CONFIG_ARCH_MSM8X60) +#include "irqs-8x60.h" #elif defined(CONFIG_ARCH_MSM_ARM11) #include "irqs-7x00.h" #else |