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

2018-06-14 Thread J, KEERTHY
On 6/14/2018 4:48 PM, Linus Walleij wrote: On Thu, Jun 14, 2018 at 10:51 AM, Keerthy 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 l

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

2018-06-14 Thread Linus Walleij
On Thu, Jun 14, 2018 at 10:51 AM, Keerthy 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 p

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

2018-06-14 Thread Keerthy
On Thursday 14 June 2018 01:59 PM, Linus Walleij wrote: > On Wed, Jun 6, 2018 at 11:18 AM, Keerthy wrote: > >> Currently the driver assumes that the interrupts are continuous >> and does platform_get_irq only once and assumes the rest are continuous, >> instead call platform_get_irq for all th

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

2018-06-14 Thread Linus Walleij
On Wed, Jun 6, 2018 at 11:18 AM, Keerthy wrote: > Currently the driver assumes that the interrupts are continuous > and does platform_get_irq only once and assumes the rest are continuous, > instead call platform_get_irq for all the interrupts and store them > in an array for later use. > > Signe

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

2018-06-07 Thread Grygorii Strashko
On 06/06/2018 04:18 AM, Keerthy wrote: Currently the driver assumes that the interrupts are continuous and does platform_get_irq only once and assumes the rest are continuous, instead call platform_get_irq for all the interrupts and store them in an array for later use. Signed-off-by: Keerthy

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

2018-06-06 Thread Keerthy
Currently the driver assumes that the interrupts are continuous and does platform_get_irq only once and assumes the rest are continuous, instead call platform_get_irq for all the interrupts and store them in an array for later use. Signed-off-by: Keerthy --- Tested for GPIO Interrupts on da850-l