[PATCH 1/2] pinctrl: ingenic: Enhance support for IRQ_TYPE_EDGE_BOTH

2020-06-22 Thread Paul Cercueil
Ingenic SoCs don't natively support registering an interrupt for both rising and falling edges. This has to be emulated in software. Until now, this was emulated by switching back and forth between IRQ_TYPE_EDGE_RISING and IRQ_TYPE_EDGE_FALLING according to the level of the GPIO. While this worked

Re: [PATCH 1/2] pinctrl: ingenic: Enhance support for IRQ_TYPE_EDGE_BOTH

2020-07-07 Thread Linus Walleij
On Mon, Jun 22, 2020 at 11:46 PM Paul Cercueil wrote: > Ingenic SoCs don't natively support registering an interrupt for both > rising and falling edges. This has to be emulated in software. > > Until now, this was emulated by switching back and forth between > IRQ_TYPE_EDGE_RISING and IRQ_TYPE_E