Re: [PATCH v2 0/4] gpio: deprecate and track the removal of GPIO workarounds for regulators
From: Bartosz Golaszewski
Date: Tue Apr 08 2025 - 04:46:16 EST
From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
On Tue, 01 Apr 2025 14:46:41 +0200, Bartosz Golaszewski wrote:
> The GPIOD_FLAGS_BIT_NONEXCLUSIVE flag and devm_gpiod_unhinge() helpers
> were introduced as hacky workarounds for resource ownership issues in the
> regulator subsystem. Unfortunately, people started using the former in
> other places too and now it's in all kinds of drivers.
>
> Let's deprecate both symbols officially, add them to the MAINTAINERS
> keywords so that it pops up on our radars when used again, add a task to
> track it and I plan to use the power sequencing subsystem to handle the
> cases where non-exclusive access to GPIOs is required.
>
> [...]
Applied, thanks!
[1/4] gpio: deprecate the GPIOD_FLAGS_BIT_NONEXCLUSIVE flag
https://git.kernel.org/brgl/linux/c/6deb8435f6bfcc9b6c7efe3b8a941ae2fb731495
[2/4] gpio: deprecate devm_gpiod_unhinge()
https://git.kernel.org/brgl/linux/c/686e54ea31f3b7d9d20ac1fa2d0295d649c41f56
[3/4] MAINTAINERS: add more keywords for the GPIO subsystem entry
https://git.kernel.org/brgl/linux/c/3af64f175b2405270bd0926153d9856a49b58352
[4/4] gpio: TODO: track the removal of regulator-related workarounds
https://git.kernel.org/brgl/linux/c/2de1cf175c00927c286f8bd72e18602fe072af95
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>