[PATCH 0/3] ASoC: wcd938x: enable t14s audio headset

From: srinivas . kandagatla
Date: Wed Mar 19 2025 - 05:20:00 EST


From: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>

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

This patchset adds required bindings and changes to codec and dts to
tnable the regulator required to power this switch along with wiring up
gpio that control the headset switching.

Without this patchset, there will be lots of noise on headset and mic
will not we functional.

Srinivas Kandagatla (3):
ASoC: dt-bindings: wcd93xx: add bindings for audio switch controlling
hp
ASoC: codecs: wcd938x: add support power on hp audio switch
arm64: dts: qcom: x1e78100-t14s: Enable audio headset support

.../bindings/sound/qcom,wcd93xx-common.yaml | 4 ++++
.../dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts | 18 +++++++++++++++++-
sound/soc/codecs/wcd938x.c | 7 +++++++
3 files changed, 28 insertions(+), 1 deletion(-)

--
2.39.5