Re: [PATCH v9 00/22] pinctrl: add BCM63XX pincontrol support

From: Linus Walleij
Date: Thu Apr 08 2021 - 09:56:13 EST


On Tue, Mar 30, 2021 at 10:57 AM Álvaro Fernández Rojas
<noltari@xxxxxxxxx> wrote:

> > Now, what about a patch set for the IRQ support? :)
>
> If you could give me some guidance on that matter it would be much
> appreciated, because your comments [1] are now outdated since I switched
> to GPIO_REGMAP
> [1]
> http://patchwork.ozlabs.org/project/linux-gpio/patch/20210225164216.21124-3-noltari@xxxxxxxxx/

I think it mostly holds: GPIOLIB_IRQCHIP should always be used if there
is a reasonably straight-forward interrupts whether cascaded or hierarchical.
Very few exceptions there. If there is one IRQ line per GPIO
line, the hierarchical support should be used as outlined. GPIO_REGMAP
should be mostly (famous last words) orthogonal.

Yours,
Linus Walleij