]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7cd7927aebb68ef57ebf81661b34a34236b0e2ed
treefc2cddc551c171919b2d149dc6aad63d3d3600c0
parenta2771dc96623d96aeb17c4f599136e643666dcf1
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