Re: [PATCH 1/4] gpio: add IRQ chip helpers in gpiolib

2014-03-25 Thread Alexandre Courbot
On Tue, Mar 25, 2014 at 9:51 PM, Linus Walleij wrote: > This provides a function gpiochip_irqchip_add() to set > up an irqchip for a GPIO controller, and a function > gpiochip_set_chained_irqchip() to chain it to a parent > irqchip. > > Most GPIOs are of the type where a number of lines form > a c

[PATCH 1/4] gpio: add IRQ chip helpers in gpiolib

2014-03-25 Thread Linus Walleij
This provides a function gpiochip_irqchip_add() to set up an irqchip for a GPIO controller, and a function gpiochip_set_chained_irqchip() to chain it to a parent irqchip. Most GPIOs are of the type where a number of lines form a cascaded interrupt controller chained onto the primary system interru