]> 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)
commitd3bc9298c0a3688176e57c124669d0edb65dfa1e
treefc2cddc551c171919b2d149dc6aad63d3d3600c0
parent3288f823d14ed3ac24c4073c55cf566a347c06e8
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