Re: [PATCH v5 0/8] gpio: renesas: Add support for GPIO and related interrupts in RZ/N1 SoC

From: Linus Walleij

Date: Tue Oct 21 2025 - 03:13:48 EST


Hi Herve,

On Mon, Oct 20, 2025 at 10:07 AM Herve Codina (Schneider Electric)
<herve.codina@xxxxxxxxxxx> wrote:

> The first patches in this series are related to a new helper introduced
> to parse an interrupt-map property.
> - patch 1: Introduce the helper (for_each_of_imap_item)
> - patch 2: Add a unittest for the new helper
> - patch 3 and 4: convert existing drivers to use this new helper
>
> Patch 5 adds support for GPIO (device-tree description)
>
> The last patches (6, 7 and 8) of the series are related to GPIO
> interrupts and GPIO IRQ multiplexer.
>
> In the RZ/N1 SoCs, GPIO interrupts are wired to a GPIO IRQ multiplexer.
>
> This multiplexer does nothing but select 8 GPIO IRQ lines out of the 96
> available to wire them to the GIC input lines.

I had my worries about the multiplexer but seeing the whole picture
and the nice refactoring with for_each_of_imap_item() I have to
say the patch series looks very nice.
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij