Re: [PATCH/RFC v2] gpio: rcar: Add Runtime PM handling for interrupts

2016-04-12 Thread Linus Walleij
On Mon, Apr 11, 2016 at 7:18 PM, Geert Uytterhoeven wrote: > I'm afraid we'll have to keep gpio-rcar runtime-resumed all the time, > i.e. revert both of > b26a719bdb ("gpio: rcar: Add Runtime PM handling for interrupts") I have reverted this for fixes. > 65194cb174 ("gpio: rcar: Fine-grained Ru

Re: [PATCH/RFC v2] gpio: rcar: Add Runtime PM handling for interrupts

2016-04-11 Thread Geert Uytterhoeven
Hi Marc, On Mon, Apr 11, 2016 at 6:55 PM, Marc Zyngier wrote: > On 11/04/16 17:26, Laurent Pinchart wrote: >> On Friday 19 Feb 2016 11:59:40 Marc Zyngier wrote: >>> On 19/02/16 09:18, Linus Walleij wrote: Top-quoting so everyone on the new To:-line gets the context. I definately ne

Re: [PATCH/RFC v2] gpio: rcar: Add Runtime PM handling for interrupts

2016-04-11 Thread Marc Zyngier
On 11/04/16 17:26, Laurent Pinchart wrote: > On Friday 19 Feb 2016 11:59:40 Marc Zyngier wrote: >> On 19/02/16 09:18, Linus Walleij wrote: >>> Top-quoting so everyone on the new To:-line gets the context. >>> >>> I definately need an indication from an irqchip maintainer like tglx or >>> Marc Z bef

Re: [PATCH/RFC v2] gpio: rcar: Add Runtime PM handling for interrupts

2016-04-11 Thread Laurent Pinchart
On Friday 19 Feb 2016 11:59:40 Marc Zyngier wrote: > On 19/02/16 09:18, Linus Walleij wrote: > > Top-quoting so everyone on the new To:-line gets the context. > > > > I definately need an indication from an irqchip maintainer like tglx or > > Marc Z before I merge this. Also, as in reply to the pr

Re: [PATCH/RFC v2] gpio: rcar: Add Runtime PM handling for interrupts

2016-02-25 Thread Geert Uytterhoeven
Hi Linus, On Thu, Feb 25, 2016 at 3:19 PM, Linus Walleij wrote: > On Thu, Feb 25, 2016 at 10:37 AM, Geert Uytterhoeven > wrote: >> On Thu, Feb 25, 2016 at 10:07 AM, Linus Walleij >> wrote: >>> On Thu, Feb 18, 2016 at 5:06 PM, Geert Uytterhoeven >>> wrote: >>> The R-Car GPIO driver handles

Re: [PATCH/RFC v2] gpio: rcar: Add Runtime PM handling for interrupts

2016-02-25 Thread Linus Walleij
On Thu, Feb 25, 2016 at 10:37 AM, Geert Uytterhoeven wrote: > On Thu, Feb 25, 2016 at 10:07 AM, Linus Walleij > wrote: >> On Thu, Feb 18, 2016 at 5:06 PM, Geert Uytterhoeven >> wrote: >> >>> The R-Car GPIO driver handles Runtime PM for requested GPIOs only. >>> >>> When using a GPIO purely as an

Re: [PATCH/RFC v2] gpio: rcar: Add Runtime PM handling for interrupts

2016-02-25 Thread Geert Uytterhoeven
Hi Linus, On Thu, Feb 25, 2016 at 10:07 AM, Linus Walleij wrote: > On Thu, Feb 18, 2016 at 5:06 PM, Geert Uytterhoeven > wrote: > >> The R-Car GPIO driver handles Runtime PM for requested GPIOs only. >> >> When using a GPIO purely as an interrupt source, no Runtime PM handling >> is done, and th

Re: [PATCH/RFC v2] gpio: rcar: Add Runtime PM handling for interrupts

2016-02-25 Thread Linus Walleij
On Thu, Feb 18, 2016 at 5:06 PM, Geert Uytterhoeven wrote: > The R-Car GPIO driver handles Runtime PM for requested GPIOs only. > > When using a GPIO purely as an interrupt source, no Runtime PM handling > is done, and the GPIO module's clock may not be enabled. > > To fix this: > - Add .irq_re

Re: [PATCH/RFC v2] gpio: rcar: Add Runtime PM handling for interrupts

2016-02-19 Thread Marc Zyngier
Hi Linus, On 19/02/16 09:18, Linus Walleij wrote: > Top-quoting so everyone on the new To:-line gets the context. > > I definately need an indication from an irqchip maintainer like tglx or Marc Z > before I merge this. Also, as in reply to the previous letter, coordinate > efforts with Jon Hunte

Re: [PATCH/RFC v2] gpio: rcar: Add Runtime PM handling for interrupts

2016-02-19 Thread Linus Walleij
Top-quoting so everyone on the new To:-line gets the context. I definately need an indication from an irqchip maintainer like tglx or Marc Z before I merge this. Also, as in reply to the previous letter, coordinate efforts with Jon Hunters similar problem space. Yours, Linus Walleij On Thu, Feb

[PATCH/RFC v2] gpio: rcar: Add Runtime PM handling for interrupts

2016-02-18 Thread Geert Uytterhoeven
The R-Car GPIO driver handles Runtime PM for requested GPIOs only. When using a GPIO purely as an interrupt source, no Runtime PM handling is done, and the GPIO module's clock may not be enabled. To fix this: - Add .irq_request_resources() and .irq_release_resources() callbacks to handle Ru