]> Gentwo Git Trees - linux/.git/commit
regulator: make the subsystem aware of shared GPIOs
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 12 Nov 2025 13:55:39 +0000 (14:55 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 19 Nov 2025 11:52:04 +0000 (11:52 +0000)
commitb871d9adffe5a64a1fd9edcb1aebbcc995b17901
treef7a79ae62d60ebcc9cbccc0aa9f95bc7fc61c664
parenteb374f764a7012eda28019266a6d9191670c4fa5
regulator: make the subsystem aware of shared GPIOs

GPIOLIB is now aware of shared GPIOs and - for platforms where access to
such pins is managed internally - we don't need to keep track of the
enable count.

Once all users in the kernel switch to using the new mechanism, we'll be
able to drop the internal counting of users from the regulator code.

Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://patch.msgid.link/20251112-gpio-shared-v4-10-b51f97b1abd8@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c