[PATCH v2 06/10] gpio: provide gpiod_is_shared()
Linus Walleij
linus.walleij at linaro.org
Tue Nov 18 14:58:08 PST 2025
On Wed, Nov 12, 2025 at 9:06 AM Bartosz Golaszewski <brgl at bgdev.pl> wrote:
>
> On Tue, Nov 11, 2025 at 11:44 AM Linus Walleij <linus.walleij at linaro.org> wrote:
> >
> > On Wed, Oct 22, 2025 at 3:11 PM Bartosz Golaszewski <brgl at bgdev.pl> wrote:
> >
> > > From: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
> > >
> > > Provide an interface allowing consumers to check if a GPIO descriptor
> > > represents a GPIO that can potentially be shared by multiple consumers
> > > at the same time. This is exposed to allow subsystems that already
> > > work around the limitations of the current non-exclusive GPIO handling
> > > in some ways, to gradually convert to relying on the new shared GPIO
> > > feature of GPIOLIB.
> > >
> > > Extend the gpiolib-shared module to mark the GPIO shared proxy
> > > descriptors with a flag checked by the new interface.
> > >
> > > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
> >
> > Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
> >
>
> I think you wanted to leave this under v3?
Yeah probably, a bit messy in my inbox!
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list