Re: [PATCH] ASoC: codecs: wsa884x: allow sharing reset GPIO
From: Mark Brown
Date: Wed Oct 18 2023 - 11:08:07 EST
On Wed, Oct 18, 2023 at 02:57:59PM +0200, Krzysztof Kozlowski wrote:
> On 18/10/2023 14:56, Mark Brown wrote:
> > I'd expect that the GPIO users should coordiante directly rather than
> > rely on the GPIO API to do the coordination for them - there aren't
> > enough semantics in the GPIO itself to do much more except possibly
> > provide discovery services (which would be nice). Look at how the
> > regulator API manages multiple regulators sharing an enable GPIO for
> > example, it adds an additional layer of reference counting when it
> > identifies a shared GPIO.
> OK, it is still regulator core, though. Not individual drivers problem.
> Several other existing drivers have the same issue, so this should be
> solved in a generic or shared way.
Indeed.
Attachment:
signature.asc
Description: PGP signature