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

From: Bartosz Golaszewski

Date: Thu Nov 27 2025 - 03:21:44 EST


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>


On Tue, 25 Nov 2025 11:19:09 +0100, Bartosz Golaszewski wrote:
> There's an unexpected interaction between the reset-gpio driver and the
> shared GPIO support. The reset-gpio device is an auxiliary device that's
> created dynamically and fulfills a similar role to the gpio-shared-proxy
> driver but is limited in scope to just supporting the "reset-gpios"
> property.
>
> The shared GPIO core code does not take into account that the machine
> lookup entry we create when scanning the device-tree must connect the
> reset-gpio device - that is the actual consumer of the GPIO and not the
> consumer defined on the device tree, which in turn consumes the shared
> reset control exposed by the reset-gpio device - to the GPIO controller.
>
> [...]

Applied, thanks!

[1/1] gpio: shared: handle the reset-gpios corner case
https://git.kernel.org/brgl/linux/c/7b78b26757e0d997b31635d76eaa46d5ef5e1431

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>