summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-ftintc010.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-03-18 17:53:26 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2017-04-07 10:36:30 +0100
commit390d2d490b4618fe147927778a8fdbc8e22f3dc3 (patch)
tree42226bcb80a59d7309d5a79e067bdafa201482e4 /drivers/irqchip/irq-ftintc010.c
parentd2d55ab8ad845807311130a40fc87dd5163f7133 (diff)
irqchip/faraday: Replace moxa with ftintc010
The Moxa Art interrupt controller is very very likely just an instance of the Faraday FTINTC010 interrupt controller from Faraday Technology. An indication would be its close association with the FA526 ARM core and the fact that the register layout is the same. The implementation in irq-moxart.c can probably be right off replaced with the irq-ftintc010.c driver by adding a compatible string, selecting this irqchip from the machine and run. As a bonus we have an irqchip driver supporting high/low and rising/falling edges for the Moxa Art, and shared code with the Gemini platform. Acked-by: Olof Johansson <olof@lixom.net> Tested-by: Jonas Jensen <jonas.jensen@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/irqchip/irq-ftintc010.c')
-rw-r--r--drivers/irqchip/irq-ftintc010.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-ftintc010.c b/drivers/irqchip/irq-ftintc010.c
index 0cc81df6f743..cd2dc8bbbe9c 100644
--- a/drivers/irqchip/irq-ftintc010.c
+++ b/drivers/irqchip/irq-ftintc010.c
@@ -190,3 +190,5 @@ IRQCHIP_DECLARE(faraday, "faraday,ftintc010",
ft010_of_init_irq);
IRQCHIP_DECLARE(gemini, "cortina,gemini-interrupt-controller",
ft010_of_init_irq);
+IRQCHIP_DECLARE(moxa, "moxa,moxart-ic",
+ ft010_of_init_irq);