Re: [PATCH 1/3] ASoC: dt-bindings: wcd93xx: add bindings for audio switch controlling hp
From: Dmitry Baryshkov
Date: Wed Mar 19 2025 - 06:04:19 EST
On Wed, Mar 19, 2025 at 09:16:35AM +0000, srinivas.kandagatla@xxxxxxxxxx wrote:
> From: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
>
> On some platforms to minimise pop and click during switching between
> CTIA and OMTP headset an additional HiFi Switch is used. Most common
> case is that this switch is switched on by default, but on some
> platforms this needs a regulator enable.
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 patch adds required bindings to add such regulator.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
> ---
> .../devicetree/bindings/sound/qcom,wcd93xx-common.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/sound/qcom,wcd93xx-common.yaml b/Documentation/devicetree/bindings/sound/qcom,wcd93xx-common.yaml
> index f78ba148ad25..fa00570caf24 100644
> --- a/Documentation/devicetree/bindings/sound/qcom,wcd93xx-common.yaml
> +++ b/Documentation/devicetree/bindings/sound/qcom,wcd93xx-common.yaml
> @@ -26,6 +26,10 @@ properties:
> vdd-mic-bias-supply:
> description: A reference to the 3.8V mic bias supply
>
> + vdd-hp-switch-supply:
> + description: A reference to the audio switch supply
> + for switching CTIA/OMTP Headset
> +
> qcom,tx-device:
> $ref: /schemas/types.yaml#/definitions/phandle-array
> description: A reference to Soundwire tx device phandle
> --
> 2.39.5
>
--
With best wishes
Dmitry