[PATCH v2 0/7] arm64: qcom: enable WCD9378 headset and DisplayPort audio on Glymur boards
From: Srinivas Kandagatla
Date: Fri Nov 27 2026 - 10:55:59 EST
Wire up the WCD9378 (Tambora) SDCA headset codec and the DisplayPort
audio DAI links on three Glymur boards: the reference CRD, the
Lenovo ThinkPad T14s Gen 7 (Mahua) and the ASUS Zenbook A16.
On all three boards swr2 is the SDCA primary and swr1 is a DATA-only
multi-master dependent (lanes 2/3); playback and capture run through
the LPASS RX/TX macros. The WCD9378 SoundWire port-shaping arrays
live on the SoC swr2 node in glymur.dtsi since every Glymur-based
laptop uses the same codec wiring.
Dependencies:
- SoundWire multi-master support and the WCD9378 SDCA codec are
already in linux-next.
- Glymur LPASS clock controllers (lpass_audiocc, lpasscc) and the
LPASSCC reset-controller DT binding are posted separately and
must be applied first:
https://lore.kernel.org/all/20261125131757.1163466-1-srinivas.kandagatla@xxxxxxxxxxxxxxxx/
Changes in v2:
- Drop the dt-bindings/clock/qcom,glymur-lpasscc.h include and use
the raw reset indices (0) for swr1/swr2, so the series applies
cleanly without the LPASS clock header in hand.
- Rename wcd9378c unit-address codec@3,0 -> codec@0,3 on CRD, T14s
and Zenbook to match reg = <0 3> (link-id, instance-id).
- Reorder properties in the swr1/swr2 overrides and the wcd9378c
node: standard properties before qcom,* vendor properties,
pinctrl-0 before pinctrl-names.
Layout:
1/7 adds the Glymur SoC-level LPASS glue (RX/TX macros, LPASS
AUDIOCC and LPASSCC, swr1/swr2 controllers with the WCD9378
port-shaping arrays).
2/7 enables WCD9378 headset on Glymur CRD.
3/7 enables WCD9378 headset on Mahua T14s.
4/7 adds DP0/DP1 audio DAI links on Glymur CRD.
5/7 enables WCD9378 headset on ASUS Zenbook A16.
6/7 adds DP0/DP1/DP2 audio DAI links on ASUS Zenbook A16.
7/7 turns on the SDCA class driver and the WCD9378 codec in the
arm64 defconfig.
Tested on CRD, T14s and A16.
Srinivas Kandagatla (7):
arm64: dts: qcom: glymur: add LPASS macros and RX/TX SoundWire
arm64: dts: qcom: glymur-crd: enable WCD9378 headset codec
arm64: dts: qcom: mahua-t14s: enable WCD9378 headset codec
arm64: dts: qcom: glymur-crd: add DisplayPort audio DAI links
arm64: dts: qcom: glymur-asus-zenbook-a16: enable WCD9378 headset
codec
arm64: dts: qcom: glymur-asus-zenbook-a16: add DisplayPort audio DAI
links
arm64: defconfig: enable SDCA class driver and WCD9378 codec
.../qcom/glymur-asus-zenbook-a16-ux3607oa.dts | 139 +++++++++++++++++-
arch/arm64/boot/dts/qcom/glymur-crd.dtsi | 116 ++++++++++++++-
arch/arm64/boot/dts/qcom/glymur.dtsi | 98 ++++++++++++
.../mahua-lenovo-thinkpad-t14s-gen7-lcd.dts | 84 ++++++++++-
arch/arm64/configs/defconfig | 3 +
5 files changed, 437 insertions(+), 3 deletions(-)
--
2.53.0