diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-03-18 17:53:26 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2017-04-07 11:36:30 +0200 |
commit | 390d2d490b4618fe147927778a8fdbc8e22f3dc3 (patch) | |
tree | 42226bcb80a59d7309d5a79e067bdafa201482e4 /arch/arm/mach-moxart | |
parent | irqchip/faraday: Fix the trigger types (diff) | |
download | linux-390d2d490b4618fe147927778a8fdbc8e22f3dc3.tar.xz linux-390d2d490b4618fe147927778a8fdbc8e22f3dc3.zip |
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 'arch/arm/mach-moxart')
-rw-r--r-- | arch/arm/mach-moxart/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-moxart/Kconfig b/arch/arm/mach-moxart/Kconfig index f69e28b85e88..70db2abf6163 100644 --- a/arch/arm/mach-moxart/Kconfig +++ b/arch/arm/mach-moxart/Kconfig @@ -3,8 +3,8 @@ menuconfig ARCH_MOXART depends on ARCH_MULTI_V4 select CPU_FA526 select ARM_DMA_MEM_BUFFERABLE + select FARADAY_FTINTC010 select MOXART_TIMER - select GENERIC_IRQ_CHIP select GPIOLIB select PHYLIB if NETDEVICES help |