Re: [PATCH 2/2] gpio: davinci: Do not assume continuous IRQ numbering

From: J, KEERTHY
Date: Thu Jun 14 2018 - 13:32:19 EST




On 6/14/2018 4:48 PM, Linus Walleij wrote:
On Thu, Jun 14, 2018 at 10:51 AM, Keerthy <j-keerthy@xxxxxx> wrote:

I think the idea is to make it possible to use GPIOLIB_IRQCHIP
for banked IRQs but the infrastructure is not yet inside the gpiolib
so it is a bit taped on the side right now.

Okay. I will take a look at that. The key issue that this patch
addresses is that currently driver only calls platform_get_irq once and
assumes the rest are continuous which is wrong hence the key issue
addressed with this patch is to call platform_get_irq for each interrupt.

The version 4 is here:

https://patchwork.kernel.org/patch/10461537/

I will try to follow up with generic gpiochip_irq_map/unmap once i get
that working. Hope that is okay?

Oh that's fine, I'll merge it.

Thanks!


Just wanted you to have a look at Thierry's stuff so we can share
more code, you're a core developer so I wanted some smart people
to look at this.

Sure Linus!


Yours,
Linus Walleij