Thread (14 messages) 14 messages, 6 authors, 2021-10-13

Re: [RFC PATCH v2 3/4] pinctrl: renesas: pinctrl-rzg2l: Add IRQ domain to handle GPIO interrupt

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2021-10-05 09:56:24
Also in: linux-gpio, linux-renesas-soc, lkml

Hi Linus,

On Thu, Sep 23, 2021 at 11:38 PM Linus Walleij [off-list ref] wrote:
On Tue, Sep 21, 2021 at 9:30 PM Lad Prabhakar
[off-list ref] wrote:
quoted
Add IRQ domian to RZ/G2L pinctrl driver to handle GPIO interrupt.

GPIO0-GPIO122 pins can be used as IRQ lines but only 32 pins can be
used as IRQ lines at given time. Selection of pins as IRQ lines
is handled by IA55 (which is the IRQC block) which sits in between the
GPIO and GIC.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Why can't you just use the hierarchical IRQ domain handling inside
gpiolib?
Out of interest (not related to this patch), does this support multiple
parent domains?

Thanks!

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help