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

From: Michael Walle
Date: Tue Mar 25 2025 - 03:50:15 EST


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: signature.asc
Description: PGP signature