[PATCH v2 06/10] gpio: provide gpiod_is_shared()
Bartosz Golaszewski
brgl at bgdev.pl
Wed Nov 12 00:06:13 PST 2025
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?
Bart
More information about the linux-arm-kernel
mailing list