Re: [PATCH v2 06/10] gpio: provide gpiod_is_shared()
From: Linus Walleij
Date: Tue Nov 18 2025 - 17:58:22 EST
On Wed, Nov 12, 2025 at 9:06 AM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
>
> On Tue, Nov 11, 2025 at 11:44 AM Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> >
> > On Wed, Oct 22, 2025 at 3:11 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
> >
> > > From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
> > >
> > > 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@xxxxxxxxxx>
> >
> > Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> >
>
> I think you wanted to leave this under v3?
Yeah probably, a bit messy in my inbox!
Yours,
Linus Walleij