Re: [PATCH v7 2/9] gpio: regmap: Provide default IRQ resource request and release callbacks
Linus Walleij <[email protected]>
| Newsgroups | org.kernel.vger.linux-gpio,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAD++jLmLCkSxhzRULKbA6bHWvZ1mywFN2DyvceNh5EMqgFrUrA@mail.gmail.com> |
On Thu, Jul 23, 2026 at 5:43 AM Yu-Chun Lin <[email protected]> wrote: > From: Andy Shevchenko <[email protected]> > > When GPIO regmap based driver supplies its own IRQ domain, it might > still want to keep track of the IRQ requests and releases, in particular > to prevent a GPIO, which is used and locked as IRQ, to be requested > via standard ways. Provide default callbacks for such cases and keep > struct gpio_chip private to GPIO regmap implementation. > > Reviewed-by: Michael Walle <[email protected]> > Signed-off-by: Andy Shevchenko <[email protected]> > Signed-off-by: Yu-Chun Lin <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Yours, Linus Walleij