Re: [PATCH 1/3] ASoC: dt-bindings: wcd93xx: add bindings for audio switch controlling hp

From: Srinivas Kandagatla
Date: Wed Mar 19 2025 - 14:04:12 EST




On 19/03/2025 16:03, Mark Brown wrote:
On Wed, Mar 19, 2025 at 03:59:23PM +0000, Srinivas Kandagatla wrote:
On 19/03/2025 10:01, Dmitry Baryshkov wrote:

Is this regulator supplying the codec or some external component? In the
latter case it's likely that it should not be a part of WCD bindings.

This is regulator powering a mux that is driven by gpio which is part of
codec binding. So I would assume this will fall into the codec.

Where would we fit this if not part of codec?

Unless we mark this regulator as always on.

I would expect that the mux would appear in the DT and consume both the
GPIO and the regulator.
Yes, its doable, so we would endup with a mux driver consuming regulator and gpio and move the gpio handling in codec to move to use mux control.

Let met try that and see how it looks like.

--srini