From: John Crispin Date: Tue, 17 Apr 2012 08:18:32 +0000 (+0200) Subject: OF: MIPS: lantiq: implement irq_domain support X-Git-Tag: v3.5-rc1~47^2^6~13 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3645da0276ae9f6938ff29b13904b803ecb68424;p=pandora-kernel.git 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 Cc: devicetree-discuss@lists.ozlabs.org Cc: Grant Likely Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3802/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed