[PATCH 1/2] gpio: add a driver for the Synopsys DesignWare APB GPIO block

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Dec 21 01:50:17 EST 2011


On Sun, Dec 18, 2011 at 11:01:38PM +0100, Linus Walleij wrote:

> If you check drivers/gpio/gpio-u300.c you can see how I handled
> this on another hardware where triggering on falling and rising
> edges was a binary choice and thus mutually exclusive: I toggle
> for each interrupt.

This seems like a common pattern, ideally we'd be able to factor it out
into genirq (ideally along with the other common issue with simulating
level triggered interrupts using a controller that only does edge,
though that one is more involved).


More information about the devicetree-discuss mailing list