From: Herve Codina <herve.codina@bootlin.com>
To: Ioana Ciornei <ioana.ciornei@nxp.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Wolfram Sang <wsa+renesas@sang-engineering.com>,
Linus Walleij <linus.walleij@linaro.org>,
Bartosz Golaszewski <brgl@bgdev.pl>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
Saravana Kannan <saravanak@kernel.org>,
linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
Pascal Eberhard <pascal.eberhard@se.com>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [PATCH v8 3/8] irqchip/ls-extirq: Use for_each_of_imap_item iterator
Date: Wed, 11 Feb 2026 17:12:52 +0100 [thread overview]
Message-ID: <20260211171252.34e4e6a1@bootlin.com> (raw)
In-Reply-To: <zlgj2xi72amihcs3r3vzifci6hrce7rio4bqx23aet6bo2f624@2qnwemabjlql>
Hi Ioana,
On Wed, 11 Feb 2026 12:03:00 +0200
Ioana Ciornei <ioana.ciornei@nxp.com> wrote:
> On Wed, Jan 14, 2026 at 10:39:32AM +0100, Herve Codina (Schneider Electric) wrote:
> > The ls-extirq driver parses the interrupt-map property. It does it using
> > open code.
> >
> > Recently for_each_of_imap_item iterator has been introduce to help
> > drivers in this parsing.
> >
> > Convert the ls-extirq driver to use the for_each_of_imap_item
> > iterator instead of open code.
> >
>
> The ls-extirq uses interrupt-map but it's a non-standard use documented
> in fsl,ls-extirq.yaml:
>
> # The driver(drivers/irqchip/irq-ls-extirq.c) have not use standard DT
> # function to parser interrupt-map. So it doesn't consider '#address-size'
> # in parent interrupt controller, such as GIC.
> #
> # When dt-binding verify interrupt-map, item data matrix is spitted at
> # incorrect position. Remove interrupt-map restriction because it always
> # wrong.
>
> This means that by using for_each_of_imap_item and the underlying
> of_irq_parse_imap_parent() on its interrupt-map property will
> effectively break its functionality.
>
> Unfortunatelly, I am not sure how this can be fixed other than with a
> revert.
>
Well, if this is the only solution due to non compliance with interrupt-map,
I am not opposed to the revert of the following patch:
3ac6dfe3d7a23 ("irqchip/ls-extirq: Use for_each_of_imap_item iterator")
(SHA taken from next-20260205 tag)
Best regards,
Hervé
next prev parent reply other threads:[~2026-02-11 16:13 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-14 9:39 [PATCH v8 0/8] gpio: renesas: Add support for GPIO and related interrupts in RZ/N1 SoC Herve Codina (Schneider Electric)
2026-01-14 9:39 ` [PATCH v8 1/8] of/irq: Introduce for_each_of_imap_item Herve Codina (Schneider Electric)
2026-01-14 9:39 ` [PATCH v8 2/8] of: unittest: Add a test case for for_each_of_imap_item iterator Herve Codina (Schneider Electric)
2026-01-14 9:39 ` [PATCH v8 3/8] irqchip/ls-extirq: Use " Herve Codina (Schneider Electric)
2026-01-14 14:00 ` Thomas Gleixner
2026-02-11 10:03 ` Ioana Ciornei
2026-02-11 16:12 ` Herve Codina [this message]
2026-01-14 9:39 ` [PATCH v8 4/8] irqchip/renesas-rza1: " Herve Codina (Schneider Electric)
2026-01-14 14:00 ` Thomas Gleixner
2026-01-14 9:39 ` [PATCH v8 5/8] ARM: dts: r9a06g032: Add GPIO controllers Herve Codina (Schneider Electric)
2026-01-14 10:40 ` Geert Uytterhoeven
2026-01-14 9:39 ` [PATCH v8 6/8] dt-bindings: soc: renesas: Add the Renesas RZ/N1 GPIO Interrupt Multiplexer Herve Codina (Schneider Electric)
2026-01-14 9:39 ` [PATCH v8 7/8] soc: renesas: Add support for " Herve Codina (Schneider Electric)
2026-01-14 9:39 ` [PATCH v8 8/8] ARM: dts: r9a06g032: Add support for GPIO interrupts Herve Codina (Schneider Electric)
2026-01-14 10:42 ` Geert Uytterhoeven
2026-01-14 10:03 ` [PATCH v8 0/8] gpio: renesas: Add support for GPIO and related interrupts in RZ/N1 SoC Wolfram Sang
2026-01-14 10:46 ` Geert Uytterhoeven
2026-01-14 11:06 ` Wolfram Sang
2026-01-14 22:21 ` Rob Herring
2026-01-15 11:06 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260211171252.34e4e6a1@bootlin.com \
--to=herve.codina@bootlin.com \
--cc=brgl@bgdev.pl \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=ioana.ciornei@nxp.com \
--cc=krzk+dt@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=miquel.raynal@bootlin.com \
--cc=pascal.eberhard@se.com \
--cc=robh@kernel.org \
--cc=saravanak@kernel.org \
--cc=tglx@linutronix.de \
--cc=thomas.petazzoni@bootlin.com \
--cc=wsa+renesas@sang-engineering.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox