Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irqchip/renesas-intc-irqpin: r8a7778 IRLM setup support

Works the same as on r8a7779.

Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Link: http://lkml.kernel.org/r/1443607387-19147-1-git-send-email-geert+Brenesas@glider.be
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by

Ulrich Hecht and committed by
Thomas Gleixner
26c21dd9 99c221df

+4 -2
+4 -2
drivers/irqchip/irq-renesas-intc-irqpin.c
··· 361 361 .xlate = irq_domain_xlate_twocell, 362 362 }; 363 363 364 - static const struct intc_irqpin_irlm_config intc_irqpin_irlm_r8a7779 = { 364 + static const struct intc_irqpin_irlm_config intc_irqpin_irlm_r8a777x = { 365 365 .irlm_bit = 23, /* ICR0.IRLM0 */ 366 366 }; 367 367 368 368 static const struct of_device_id intc_irqpin_dt_ids[] = { 369 369 { .compatible = "renesas,intc-irqpin", }, 370 + { .compatible = "renesas,intc-irqpin-r8a7778", 371 + .data = &intc_irqpin_irlm_r8a777x }, 370 372 { .compatible = "renesas,intc-irqpin-r8a7779", 371 - .data = &intc_irqpin_irlm_r8a7779 }, 373 + .data = &intc_irqpin_irlm_r8a777x }, 372 374 {}, 373 375 }; 374 376 MODULE_DEVICE_TABLE(of, intc_irqpin_dt_ids);