Re: [PATCH] gpio: shared: handle the reset-gpios corner case

From: Bartosz Golaszewski
Date: Mon Nov 24 2025 - 03:38:44 EST


On Sun, Nov 23, 2025 at 2:03 AM Val Packett <val@xxxxxxxxxxxx> wrote:
>
> > ---
> > This is targetting linux-next where the reset-gpio driver is now using
> > the auxiliary bus and software nodes rather than the platform bus and
> > GPIO machine lookup. The bug is the same in both cases but the fix would
> > be completely different.
> > ---
> > [..]
>
> Tried applying only this, as well as this +
> https://lore.kernel.org/all/20251120-reset-gpios-swnodes-v7-0-a100493a0f4b@xxxxxxxxxx/
> + https://lore.kernel.org/all/20251121135739.66528-1-brgl@xxxxxxxx/ (on
> top of next-20251120) and the issue is still present.. am I missing
> something?
>

Can you try this branch?

https://github.com/brgl/linux test/gpiolib-shared-reset-gpio-fix

I confirmed it works on my setup and fixes the problem with multiple
users of reset-gpio AND shared GPIOs enabled.

Bart