Re: [PATCH v3 6/8] dt-bindings: soc: renesas: Add the Renesas RZ/N1 GPIO Interrupt Multiplexer

Wolfram Sang
2025-09-19T09:34:54Z

[-- Attachment #1: Type: text/plain, Size: 873 bytes --]

> + interrupt-map:
> + description:
> + Specifies the mapping from external GPIO interrupt lines to the output
> + interrupts. The array items have to be ordered with the first item
> + related to the output line 0 (IRQ 103), the next one to the output line 1
> + (IRQ 104) and so on up to the output line 8 (IRQ 110).

maxItems 8?

> + /*
> + * The child interrupt number is computed using the following formula:
> + * gpio_bank * 32 + gpio_number
> + *
> + * with:
> + * - gpio_bank: The GPIO bank number
> + * - 0 for GPIO0A,
> + * - 1 for GPIO1A,
> + * - 2 for GPIO2A
> + * - gpio_number: Number of the gpio in the bank (0..31)
> + */

I wonder if this comment wouldn't be better in the interrupt-map
description above?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]