irqchip/faraday: Replace moxa with ftintc010
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 18 Mar 2017 16:53:26 +0000 (17:53 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 7 Apr 2017 09:36:30 +0000 (10:36 +0100)
commit390d2d490b4618fe147927778a8fdbc8e22f3dc3
tree42226bcb80a59d7309d5a79e067bdafa201482e4
parentd2d55ab8ad845807311130a40fc87dd5163f7133
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>
arch/arm/mach-moxart/Kconfig
drivers/irqchip/Makefile
drivers/irqchip/irq-ftintc010.c
drivers/irqchip/irq-moxart.c [deleted file]