Re: [PATCH v3] gpio: shared: make the voting mechanism adaptable

From: Bartosz Golaszewski

Date: Mon Jul 06 2026 - 10:14:29 EST



On Tue, 30 Jun 2026 16:28:16 +0200, Bartosz Golaszewski wrote:
> The current voting mechanism in GPIO shared proxy assumes that "low" is
> always the default value and users can only vote for driving the GPIO
> "high" in which case it will remain high as long as there's at least one
> user voting.
>
> This makes it impossible to use the automatic sharing management for
> certain use-cases such as the write-protect GPIOs of EEPROMs which are
> requested "high" and driven "low" to enable writing. In this case, if
> the WP GPIO is shared by multiple EEPROMs, and at least one of them
> wants to enable writing, the pin must be set to "low".
>
> [...]

Applied, thanks!

[1/1] gpio: shared: make the voting mechanism adaptable
https://git.kernel.org/brgl/c/b30973e8c3920ddfa9255a959b19057515b4e5e8

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