STOP THE MADNESS

Linus Walleij linus.walleij at linaro.org
Wed Nov 27 02:41:17 EST 2013


On Wed, Nov 27, 2013 at 4:54 AM, Rob Herring <robherring2 at gmail.com> wrote:
> On Tue, Nov 26, 2013 at 4:09 PM, Linus Walleij <linus.walleij at linaro.org> wrote:
>>
>> A pointer to an "ideal" GPIO chip + irq_chip driver would be highly
>> appreciated ...
>
> I'm not sure if one exists. Shouldn't be too hard to find if anything
> uses generic chip and irq domains together. I had done some work to
> address generic chip issues with irq domains and pl061 support[1], but
> Grant was never really happy with it and I never got back to looking
> at it. I think the conclusion was we don't want to add irqdomains into
> generic chip as my series did, but we need to at least make them
> coexist.

Hm I also had the idea of embedding a struct irq_chip into the
struct gpio_chip (w/some config symbol like
GPIOLIB_PROVIDE_IRQCHIP) and use that for all GPIO drivers
doing IRQchips. Embedding a generic chip could be the way
forward.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list