Re: [PATCH v4 2/4] gpio: brcmstb: Add interrupt and wakeup source support

2015-08-14 Thread Linus Walleij
On Fri, Aug 14, 2015 at 1:49 AM, Gregory Fong wrote: > On Thu, Aug 13, 2015 at 4:11 AM, Linus Walleij > wrote: >> On Sat, Aug 1, 2015 at 3:17 AM, Gregory Fong wrote: >> This patch does not apply cleanly because the version in my >> tree has INIT_LIST_HEAD(&priv->bank_list); >> before the sanit

Re: [PATCH v4 2/4] gpio: brcmstb: Add interrupt and wakeup source support

2015-08-13 Thread Gregory Fong
On Thu, Aug 13, 2015 at 4:11 AM, Linus Walleij wrote: > On Sat, Aug 1, 2015 at 3:17 AM, Gregory Fong wrote: > >> Uses the gpiolib irqchip helpers. For this to work, the irq setup >> function is called once per bank instead of once per device. Note >> that all known uses of this block have a BCM

Re: [PATCH v4 2/4] gpio: brcmstb: Add interrupt and wakeup source support

2015-08-13 Thread Linus Walleij
On Sat, Aug 1, 2015 at 3:17 AM, Gregory Fong wrote: > Uses the gpiolib irqchip helpers. For this to work, the irq setup > function is called once per bank instead of once per device. Note > that all known uses of this block have a BCM7120 L2 interrupt > controller as a parent. Supports interru

[PATCH v4 2/4] gpio: brcmstb: Add interrupt and wakeup source support

2015-07-31 Thread Gregory Fong
Uses the gpiolib irqchip helpers. For this to work, the irq setup function is called once per bank instead of once per device. Note that all known uses of this block have a BCM7120 L2 interrupt controller as a parent. Supports interrupts for all GPIOs. In the IRQ handler, we check for raised IR