diff options
author | Subhendu Sekhar Behera <sbehera@broadcom.com> | 2015-01-07 16:58:37 +0530 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-04-01 17:21:53 +0200 |
commit | 065d7029a83dab2c4d3947c0c8462e5c4ae5a5a6 (patch) | |
tree | 708bf12e81901f93f0ab486ce6568934ead6cba5 /arch/mips/netlogic/xlp | |
parent | c982232a3c3627d5735fbc1be0ed9a77bf8e3de1 (diff) | |
download | op-kernel-dev-065d7029a83dab2c4d3947c0c8462e5c4ae5a5a6.zip op-kernel-dev-065d7029a83dab2c4d3947c0c8462e5c4ae5a5a6.tar.gz |
MIPS: Netlogic: i2c IRQ mappings for XLP9XX
The new I2C block in XLP9XX has 4 interrupts, add the mapping for
these in nlm_hal.c
Signed-off-by: Subhendu Sekhar Behera <sbehera@broadcom.com>
Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8897/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/netlogic/xlp')
-rw-r--r-- | arch/mips/netlogic/xlp/nlm_hal.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/netlogic/xlp/nlm_hal.c b/arch/mips/netlogic/xlp/nlm_hal.c index 8d743d0..a8f4144 100644 --- a/arch/mips/netlogic/xlp/nlm_hal.c +++ b/arch/mips/netlogic/xlp/nlm_hal.c @@ -71,6 +71,14 @@ static int xlp9xx_irq_to_irt(int irq) switch (irq) { case PIC_GPIO_IRQ: return 12; + case PIC_I2C_0_IRQ: + return 125; + case PIC_I2C_1_IRQ: + return 126; + case PIC_I2C_2_IRQ: + return 127; + case PIC_I2C_3_IRQ: + return 128; case PIC_9XX_XHCI_0_IRQ: return 114; case PIC_9XX_XHCI_1_IRQ: |