summaryrefslogtreecommitdiffstats
path: root/arch/mips/pci
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-04-17 10:18:32 +0200
committerRalf Baechle <ralf@linux-mips.org>2012-05-21 15:31:50 +0200
commit3645da0276ae9f6938ff29b13904b803ecb68424 (patch)
tree3a4a3a6314c5613a613d794f3b4ea12e4881ecbc /arch/mips/pci
parentOF: MIPS: lantiq: implement OF support (diff)
downloadlinux-3645da0276ae9f6938ff29b13904b803ecb68424.tar.xz
linux-3645da0276ae9f6938ff29b13904b803ecb68424.zip
OF: MIPS: lantiq: implement irq_domain support
Add support for irq_domain on lantiq socs. The conversion is straight forward as the ICU found inside the socs allows the usage of irq_domain_add_linear. Harware IRQ 0->7 are the generic MIPS IRQs. 8->199 are the Lantiq IRQ Modules. Our irq_chip callbacks need to substract 8 (MIPS_CPU_IRQ_CASCADE) from d->hwirq to find out the correct offset into the Interrupt Modules register range. Signed-off-by: John Crispin <blogic@openwrt.org> Cc: devicetree-discuss@lists.ozlabs.org Cc: Grant Likely <grant.likely@secretlab.ca> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3802/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci')
0 files changed, 0 insertions, 0 deletions