[PATCH v2 1/2] at91: gpio: use gpiolib API to mark a GPIO used as an IRQ

Nicolas Ferre nicolas.ferre at atmel.com
Wed Mar 12 13:29:26 EDT 2014


On 12/03/2014 15:38, Nicolas Ferre :
> On 31/01/2014 09:57, Nicolas Ferre :
>> On 31/01/2014 08:55, Linus Walleij :
>>> On Thu, Jan 23, 2014 at 11:37 AM, Jean-Jacques Hiblot
>>> <jjhiblot at traphandler.com> wrote:
>>>
>>>> When an IRQ is started on a GPIO line, mark this GPIO as IRQ in
>>>> the gpiolib so we can keep track of the usage centrally.
>>>>
>>>> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at traphandler.com>
>>>
>>> Acked-by: Linus Walleij <linus.walleij at linaro.org>
>>>
>>> Nicolas, are you queueing this patch?
>>
>> Yes, I will.
> 
> stacked on at91-3.15-cleanup branch.

... And immediately removed thanks to Boris' advice: it seems that you
will move to a gpio_irq_request/release_resources() model.

So, we might wait for the solution to settle in 3.15-rc before building
on top of it.

Thanks, bye,

>>> I guess this custom GPIO implementation is going away with
>>> the transition to pinctrl else I'd requested that it be moved to
>>> drivers/gpio...
>>
>> Absolutely. But I suspect it will still be around for some time...
>>
>> Thanks for your review. Bye,
>>
> 
> 


-- 
Nicolas Ferre



More information about the linux-arm-kernel mailing list