[PATCH RFC 0/9] gpio: improve support for shared GPIOs

Bartosz Golaszewski brgl at bgdev.pl
Tue Oct 21 05:22:46 PDT 2025


On Tue, Oct 21, 2025 at 2:20 PM Manivannan Sadhasivam <mani at kernel.org> wrote:
>
> >
> > And with the implementation this series proposes it would mean that
> > the perst signal will go high after the first endpoint pwrctl driver
> > sets it to high and only go down once the last driver sets it to low.
> > The only thing I'm not sure about is the synchronization between the
> > endpoints - how do we wait for all of them to be powered-up before
> > calling the last gpiod_set_value()?
> >
>
> That will be handled by the pwrctrl core. Not today, but in the coming days.
>

But is this the right approach or are you doing it this way *because*
there's no support for enable-counted GPIOs as of yet?

Bart



More information about the linux-arm-kernel mailing list