Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 065d7029 authored by Subhendu Sekhar Behera's avatar Subhendu Sekhar Behera Committed by Ralf Baechle
Browse files

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: default avatarSubhendu Sekhar Behera <sbehera@broadcom.com>
Signed-off-by: default avatarJayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8897/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent c982232a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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: