[RFT PATCH v2 07/14] gpio: max7360: create the regmap-irq chip from the gpio-regmap callback
Michael Walle
mwalle at kernel.org
Mon Nov 30 04:58:29 PST 2026
On Fri Nov 27, 2026 at 7:48 PM CET, Andy Shevchenko wrote:
> On Fri, Nov 27, 2026 at 03:52:24PM +0100, Michael Walle wrote:
>> Use the new gpio_regmap_add_irq_chip() helper to create the regmap-irq
>> domain.
>
> Okay, but now it makes me think why we don't call regmap_del_irq_chip()...
> Missing part?
We do, but it is the core which is doing it automatically, see
gpio_regmap_unregister() and the kernel-doc for the helper. The
regmap-irq irqchip is owned by the core so to speak. Whereas, for an
external domain, the driver has manage it, thus we'll need the
.remove_irq_domain() callback.
-michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 297 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20261130/f8644e32/attachment.sig>
More information about the linux-arm-kernel
mailing list