mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
irqchip: atmel-aic5: Add sama5d4 support
Add sama5d4 support to irq-atmel-aic5. Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lkml.kernel.org/r/1410536587-24607-2-git-send-email-alexandre.belloni@free-electrons.com Signed-off-by: Jason Cooper <[email protected]>
This commit is contained in:
parent
0cae165ffc
commit
20afdeb812
2 changed files with 11 additions and 1 deletions
|
|
@ -297,6 +297,7 @@ static void __init sama5d3_aic_irq_fixup(struct device_node *root)
|
|||
|
||||
static const struct of_device_id __initdata aic5_irq_fixups[] = {
|
||||
{ .compatible = "atmel,sama5d3", .data = sama5d3_aic_irq_fixup },
|
||||
{ .compatible = "atmel,sama5d4", .data = sama5d3_aic_irq_fixup },
|
||||
{ /* sentinel */ },
|
||||
};
|
||||
|
||||
|
|
@ -351,3 +352,12 @@ static int __init sama5d3_aic5_of_init(struct device_node *node,
|
|||
return aic5_of_init(node, parent, NR_SAMA5D3_IRQS);
|
||||
}
|
||||
IRQCHIP_DECLARE(sama5d3_aic5, "atmel,sama5d3-aic", sama5d3_aic5_of_init);
|
||||
|
||||
#define NR_SAMA5D4_IRQS 68
|
||||
|
||||
static int __init sama5d4_aic5_of_init(struct device_node *node,
|
||||
struct device_node *parent)
|
||||
{
|
||||
return aic5_of_init(node, parent, NR_SAMA5D4_IRQS);
|
||||
}
|
||||
IRQCHIP_DECLARE(sama5d4_aic5, "atmel,sama5d4-aic", sama5d4_aic5_of_init);
|
||||
|
|
|
|||
Loading…
Reference in a new issue