]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
irqchip: atmel-aic: Add irq fixups for at91sam926x SoCs
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Mon, 3 Nov 2014 08:31:01 +0000 (09:31 +0100)
committerJason Cooper <jason@lakedaemon.net>
Sun, 9 Nov 2014 04:36:53 +0000 (04:36 +0000)
The at91sam9260, at91sam9261, at91sam9263 and at91sam9g20 embed an RTT
(Real Time Timer) block and thus need to call the aic_common_rtt_irq_fixup
function.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Link: https://lkml.kernel.org/r/1415003464-29239-3-git-send-email-boris.brezillon@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-atmel-aic.c

index 9a2cf3c1a3a57810f283fd55fd3bd15d78323f81..637d6000712f9c88e7e8f02546a2dcfe4c115291 100644 (file)
@@ -214,11 +214,20 @@ static void __init at91sam9_aic_irq_fixup(struct device_node *root)
        aic_common_rtc_irq_fixup(root);
 }
 
+static void __init at91sam9260_aic_irq_fixup(struct device_node *root)
+{
+       aic_common_rtt_irq_fixup(root);
+}
+
 static const struct of_device_id __initdata aic_irq_fixups[] = {
        { .compatible = "atmel,at91sam9g45", .data = at91sam9_aic_irq_fixup },
        { .compatible = "atmel,at91sam9n12", .data = at91sam9_aic_irq_fixup },
        { .compatible = "atmel,at91sam9rl", .data = at91sam9_aic_irq_fixup },
        { .compatible = "atmel,at91sam9x5", .data = at91sam9_aic_irq_fixup },
+       { .compatible = "atmel,at91sam9260", .data = at91sam9260_aic_irq_fixup },
+       { .compatible = "atmel,at91sam9261", .data = at91sam9260_aic_irq_fixup },
+       { .compatible = "atmel,at91sam9263", .data = at91sam9260_aic_irq_fixup },
+       { .compatible = "atmel,at91sam9g20", .data = at91sam9260_aic_irq_fixup },
        { /* sentinel */ },
 };