arm64: dts: qcom: x1e78100-t14s: Enable audio headset support
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 27 Mar 2025 10:06:33 +0000 (10:06 +0000)
committerBjorn Andersson <andersson@kernel.org>
Fri, 16 May 2025 20:44:36 +0000 (21:44 +0100)
commit5603525e40e3257ea507ff34f8acd5790fb8bc49
tree45181b2aba22ba5677e2f930bb7780e53ff47108
parent03026046589d9baca0d24348faa76c72899de48f
arm64: dts: qcom: x1e78100-t14s: Enable audio headset support

On Lenovo ThinkPad T14s, the headset is connected via a HiFi mux to
support CTIA and OMTP headsets. This switch is used to minimise pop and
click during headset type switching.

Enable the mux controls required to power this switch along with wiring up
gpio that control the headset switching.

Without this, headset audio will be very noisy and might see headset
detection errors.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: Christopher Obbard <christopher.obbard@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Tested-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20250327100633.11530-7-srinivas.kandagatla@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi