Re: [PATCH v5 06/11] gpio: regmap: Allow to allocate regmap-irq device

Michael Walle
2025-03-25T07:50:06Z

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

Hi,

> > > +#ifdef CONFIG_GPIOLIB_IRQCHIP
> >
> > Why do we need this ifdef?
> >
>
> Hum yes, on second thought we probably need to depend on
> CONFIG_REGMAP_IRQ here.

But then, you'd also require the regmap_irq support for chips that
don't support IRQs at all. devm_regmap_add_irq_fwnode() seems to be
missing a stub version.

-michael

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