Skip to contentSkip to conversation

ucm2: codecs/wcd939x: disable headphone companders

DISCUSSION GitHub pull_request - opened 1 participant 1 message Dec 4 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): alsa-project/alsa-ucm-conf/pr/[email protected]

#1 lore raw

alsa-project/alsa-ucm-conf pull request #942 was opened from transentient:

On WCD939x (tested on WCD9395 / SM8750 on an AYN Odin 3), leaving HPHL_COMP Switch and HPHR_COMP Switch enabled over the mainline SoundWire simple data-port path (SDW_DPN_SIMPLE, without vendor DPn_OffsetCtrl2 = 0x0b) misroutes the left-channel compander gain port and attenuates HPHL by **1.8–3.2 dB** relative to HPHR depending on volume.

This sets both HPHR_COMP Switch and HPHL_COMP Switch to 0 in ucm2/codecs/wcd939x/HeadphoneEnableSeq.conf, matching ucm2/codecs/wcd938x/HeadphoneEnableSeq.conf (and providing hardware test confirmation for wcd939x noted in #595 / #670).

### Hardware testing (WCD9395 / SM8750, AYN Odin 3)
Analog loopback 1 kHz stereo RMS measurements on the 3.5 mm headphone jack:
- **Before (HPH*_COMP Switch = 1):** L channel 1.8–3.2 dB quieter than R channel across volume steps.
- **After (HPH*_COMP Switch = 0):** L and R channels match within **< 0.1 dB** across 25%, 50%, 75%, and 100% volume with clean output.

Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/942
Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/942.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf