Thread (7 messages) 7 messages, 4 authors, 2018-03-21

[PATCH] pinctrl: armada-37xx: Add edge both type gpio irq support

From: Linus Walleij <hidden>
Date: 2017-10-31 12:08:00
Also in: linux-gpio, lkml

On Thu, Oct 19, 2017 at 3:10 PM, Gregory CLEMENT
[off-list ref] wrote:
From: Ken Ma <redacted>

Current edge both type gpio irqs which need to swap polarity in each
interrupt are not supported, this patch adds edge both type gpio irq
support.

Signed-off-by: Ken Ma <redacted>
Signed-off-by: Gregory CLEMENT <redacted>
Patch applied.

The discussion here is interesting, it is customary for GPIO drivers
to implement double-edge detection emulation by swapping the
edge detector around like this.

It might be possible to collect some generic information about
this in the Documentation/gpio/driver.txt document.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help