Syed Rameez Mustafa | 49252cd | 2012-09-21 18:32:29 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2012, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | #ifndef __ASM_ARCH_MSM_IRQS_8910_H |
| 14 | #define __ASM_ARCH_MSM_IRQS_8910_H |
| 15 | |
| 16 | /* MSM ACPU Interrupt Numbers */ |
| 17 | |
| 18 | /* |
| 19 | * 0-15: STI/SGI (software triggered/generated interrupts) |
| 20 | * 16-31: PPI (private peripheral interrupts) |
| 21 | * 32+: SPI (shared peripheral interrupts) |
| 22 | */ |
| 23 | |
| 24 | #define GIC_PPI_START 16 |
| 25 | #define GIC_SPI_START 32 |
| 26 | |
| 27 | #define INT_ARMQC_PERFMON (GIC_PPI_START + 10) |
| 28 | |
| 29 | #define APCC_QGICL2PERFMONIRPTREQ (GIC_SPI_START + 1) |
| 30 | #define SC_SICL2PERFMONIRPTREQ APCC_QGICL2PERFMONIRPTREQ |
| 31 | #define TLMM_MSM_SUMMARY_IRQ (GIC_SPI_START + 208) |
| 32 | |
| 33 | #define NR_MSM_IRQS 256 |
Hanumant Singh | cd888fb | 2012-10-19 16:07:07 -0700 | [diff] [blame] | 34 | #define NR_GPIO_IRQS 102 |
Syed Rameez Mustafa | 49252cd | 2012-09-21 18:32:29 -0700 | [diff] [blame] | 35 | #define NR_QPNP_IRQS 32768 /* SPARSE_IRQ is required to support this */ |
| 36 | #define NR_BOARD_IRQS NR_QPNP_IRQS |
| 37 | #define NR_TLMM_MSM_DIR_CONN_IRQ 8 |
| 38 | #define NR_MSM_GPIOS NR_GPIO_IRQS |
| 39 | |
| 40 | #endif |