OSDN Git Service

irqchip/faraday: Fix the trigger types
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 18 Mar 2017 16:53:25 +0000 (17:53 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 7 Apr 2017 09:36:30 +0000 (10:36 +0100)
commitd2d55ab8ad845807311130a40fc87dd5163f7133
treefc2cddc551c171919b2d149dc6aad63d3d3600c0
parent6ee532e2faa9979f0ee00afbfd39cbc034b99153
irqchip/faraday: Fix the trigger types

The triggers in the driver were right for high level triggered
IRQs but the edge detection on edge triggered IRQs was wrong.
After studying a proper driver from Po-Yu Chuang I now know how
to handle these right, and we can properly implement low level
IRQs as well.

The device trees for the Gemini had polarity switched around
so these have been fixed to conform to the right polarity as
well.

Cc: Greentime Hu <green.hu@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-ftintc010.c