Skip to content

Commit

Permalink
MIPS: jz4740: add jz4780 interrupt controller support
Browse files Browse the repository at this point in the history
Allow the jz4780 interrupt controller to be probed from devicetree,
supporting the 64 interrupts it provides.

Signed-off-by: Paul Burton <[email protected]>
  • Loading branch information
paulburton authored and Zubair Lutfullah Kakakhel committed Jan 23, 2015
1 parent 081852d commit dba26e1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/mips/jz4740/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,13 @@ static int __init jz4740_intc_of_init(struct device_node *node,
}
IRQCHIP_DECLARE(jz4740_intc, "ingenic,jz4740-intc", jz4740_intc_of_init);

static int __init jz4780_intc_of_init(struct device_node *node,
struct device_node *parent)
{
return jz47xx_intc_of_init(node, 2);
}
IRQCHIP_DECLARE(jz4780_intc, "ingenic,jz4780-intc", jz4780_intc_of_init);

#ifdef CONFIG_DEBUG_FS

static inline void intc_seq_reg(struct seq_file *s, const char *name,
Expand Down

0 comments on commit dba26e1

Please sign in to comment.