Unverified Commit fe19245d authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Mark Brown
Browse files

ASoC: dt-bindings: wcd93xx: add bindings for audio mux controlling hp



On some platforms to minimise pop and click during switching between
CTIA and OMTP headset an additional HiFi mux is used. Most common
case is that this switch is switched on by default, but on some
platforms this needs a regulator enable.

Move to using mux-controls so that both the gpio and regulators can be
driven correctly, rather than adding regulator handing in the codec.

This patch adds required bindings to add such mux controls.

Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250327100633.11530-5-srinivas.kandagatla@linaro.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6417066f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -23,9 +23,15 @@ properties:
      - qcom,wcd9380-codec
      - qcom,wcd9385-codec

  mux-controls:
    description: A reference to the audio mux switch for
      switching CTIA/OMTP Headset types
    maxItems: 1

  us-euro-gpios:
    description: GPIO spec for swapping gnd and mic segments
    maxItems: 1
    deprecated: true

required:
  - compatible