projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c982232
)
MIPS: Netlogic: i2c IRQ mappings for XLP9XX
author
Subhendu Sekhar Behera
<
[email protected]
>
Wed, 7 Jan 2015 11:28:37 +0000
(16:58 +0530)
committer
Ralf Baechle
<
[email protected]
>
Wed, 1 Apr 2015 15:21:53 +0000
(17:21 +0200)
The new I2C block in XLP9XX has 4 interrupts, add the mapping for
these in nlm_hal.c
Signed-off-by: Subhendu Sekhar Behera <
[email protected]
>
Signed-off-by: Jayachandran C <
[email protected]
>
Cc:
[email protected]
Patchwork: https://patchwork.linux-mips.org/patch/8897/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/netlogic/xlp/nlm_hal.c
patch
|
blob
|
history
diff --git
a/arch/mips/netlogic/xlp/nlm_hal.c
b/arch/mips/netlogic/xlp/nlm_hal.c
index 8d743d08fd7361e21b1b9d96193a5fa24f29d5d2..a8f4144a0297fce376bb1965a62b8ccc8e33e155 100644
(file)
--- 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: