Re: [RFT PATCH v2] gpiolib: allow gpio irqchip to map irqs dynamically

From: Bartosz Golaszewski
Date: Tue Aug 01 2017 - 05:53:50 EST


2017-08-01 9:52 GMT+02:00 Linus Walleij <linus.walleij@xxxxxxxxxx>:
>
> Applied this rather than v1.
>
> But maybe we should get rid of ->irq_base from gpio-mockup.c
> and delete it, as the base is irqchip-internal.
>
> Bartosz what do you say? Do we need this in the mockup?
>
> Yours,
> Linus Walleij

Hi Linus,

a while ago I submitted a series[1] adding a simple framework for
simulating interrupts with the intention of removing most of the
irq_work code from gpio-mockup and iio-dummy-evgen. The third patch in
that series[2] does that for the mockup driver. I'll send a v2 shortly
and I hope to get it merged for v4.14.

Best regards,
Bartosz Golaszewski

[1] https://lkml.org/lkml/2017/7/19/698
[2] https://lkml.org/lkml/2017/7/19/696