Re: [PATCH v2 0/4] gpio: deprecate and track the removal of GPIO workarounds for regulators
From: Mark Brown
Date: Mon Apr 07 2025 - 09:37:07 EST
On Mon, Apr 07, 2025 at 03:29:09PM +0200, Bartosz Golaszewski wrote:
> Basically: we may set the GPIO to 1 but it was already enabled and we
> tell consumers the regulator was just enabled when it wasn't OR we set
> the GPIO to 0 and tell consumers the regulator was disabled when there
> are still users of this GPIO so it's not true either.
> AFAICT, it's used in a few places to put the regulator consumer in
> reset if the power was *actually* disabled.
Yes, and also do things like not bother to reinitialise the hardware if
we kept the power on.
> I'll think about how that could be improved.
Thanks.
Attachment:
signature.asc
Description: PGP signature