]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: dt-bindings: wcd93xx: add bindings for audio mux controlling hp
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 27 Mar 2025 10:06:31 +0000 (10:06 +0000)
committerMark Brown <broonie@kernel.org>
Sun, 6 Apr 2025 22:24:46 +0000 (23:24 +0100)
commitfe19245d3efd5bf714623e83f2056bc46d9339b1
treeaf98a0d64075b46340b17ad8d08c5aea9eb4fe8a
parent6417066fb41f70c5aec242a36cbb6def8c99303f
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: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250327100633.11530-5-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/qcom,wcd938x.yaml