Skip to content

Commit 3081e43

Browse files
wildea01Russell King
authored andcommitted
ARM: 5890/1: Fix incorrect Realview board IRQs for L220 and PMU
In anticipation of PMU support for Realview boards, the IRQs defined for some of these boards need updating. This patch removes incorrect L220 IRQ definitions, corrects incorrect PMU IRQs and adds any missing IRQs that are required. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent d1914c7 commit 3081e43

3 files changed

Lines changed: 7 additions & 16 deletions

File tree

‎arch/arm/mach-realview/include/mach/irqs-pb1176.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#define IRQ_DC1176_SOFTINT (IRQ_DC1176_GIC_START + 1) /* Software interrupt */
3232
#define IRQ_DC1176_COMMRx (IRQ_DC1176_GIC_START + 2) /* Debug Comm Rx interrupt */
3333
#define IRQ_DC1176_COMMTx (IRQ_DC1176_GIC_START + 3) /* Debug Comm Tx interrupt */
34+
#define IRQ_DC1176_CORE_PMU (IRQ_DC1176_GIC_START + 7) /* Core PMU interrupt */
3435
#define IRQ_DC1176_TIMER0 (IRQ_DC1176_GIC_START + 8) /* Timer 0 */
3536
#define IRQ_DC1176_TIMER1 (IRQ_DC1176_GIC_START + 9) /* Timer 1 */
3637
#define IRQ_DC1176_TIMER2 (IRQ_DC1176_GIC_START + 10) /* Timer 2 */

‎arch/arm/mach-realview/include/mach/irqs-pba8.h‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@
2323

2424
#define IRQ_PBA8_GIC_START 32
2525

26-
/* L220
27-
#define IRQ_PBA8_L220_EVENT (IRQ_PBA8_GIC_START + 29)
28-
#define IRQ_PBA8_L220_SLAVE (IRQ_PBA8_GIC_START + 30)
29-
#define IRQ_PBA8_L220_DECODE (IRQ_PBA8_GIC_START + 31)
30-
*/
31-
3226
/*
3327
* PB-A8 on-board gic irq sources
3428
*/
@@ -65,6 +59,8 @@
6559
#define IRQ_PBA8_TSPEN (IRQ_PBA8_GIC_START + 30) /* Touchscreen pen */
6660
#define IRQ_PBA8_TSKPAD (IRQ_PBA8_GIC_START + 31) /* Touchscreen keypad */
6761

62+
#define IRQ_PBA8_PMU (IRQ_PBA8_GIC_START + 47) /* Cortex-A8 PMU */
63+
6864
/* ... */
6965
#define IRQ_PBA8_PCI0 (IRQ_PBA8_GIC_START + 50)
7066
#define IRQ_PBA8_PCI1 (IRQ_PBA8_GIC_START + 51)

‎arch/arm/mach-realview/include/mach/irqs-pbx.h‎

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@
2222

2323
#define IRQ_PBX_GIC_START 32
2424

25-
/* L220
26-
#define IRQ_PBX_L220_EVENT (IRQ_PBX_GIC_START + 29)
27-
#define IRQ_PBX_L220_SLAVE (IRQ_PBX_GIC_START + 30)
28-
#define IRQ_PBX_L220_DECODE (IRQ_PBX_GIC_START + 31)
29-
*/
30-
3125
/*
3226
* PBX on-board gic irq sources
3327
*/
@@ -77,10 +71,10 @@
7771
#define IRQ_PBX_TIMER4_5 (IRQ_PBX_GIC_START + 41) /* Timer 0/1 (default timer) */
7872
#define IRQ_PBX_TIMER6_7 (IRQ_PBX_GIC_START + 42) /* Timer 2/3 */
7973
/* ... */
80-
#define IRQ_PBX_PMU_CPU3 (IRQ_PBX_GIC_START + 44) /* CPU PMU Interrupts */
81-
#define IRQ_PBX_PMU_CPU2 (IRQ_PBX_GIC_START + 45)
82-
#define IRQ_PBX_PMU_CPU1 (IRQ_PBX_GIC_START + 46)
83-
#define IRQ_PBX_PMU_CPU0 (IRQ_PBX_GIC_START + 47)
74+
#define IRQ_PBX_PMU_CPU0 (IRQ_PBX_GIC_START + 44) /* CPU PMU Interrupts */
75+
#define IRQ_PBX_PMU_CPU1 (IRQ_PBX_GIC_START + 45)
76+
#define IRQ_PBX_PMU_CPU2 (IRQ_PBX_GIC_START + 46)
77+
#define IRQ_PBX_PMU_CPU3 (IRQ_PBX_GIC_START + 47)
8478

8579
/* ... */
8680
#define IRQ_PBX_PCI0 (IRQ_PBX_GIC_START + 50)

0 commit comments

Comments
 (0)