Skip to contentSkip to conversation

chtnau8824: Add support for using the SOF driver

DISCUSSION GitHub pull_request - opened 1 participant 1 message Jan 18, 2021 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): [email protected]

#1 lore raw

alsa-project/alsa-ucm-conf pull request #74 was opened from perexg:

The old (and currently the default) SST driver uses TDM 4 slots 24 bit as wire format to the codec. Where as the new SOF driver uses standard I2S 2 channel 24 bit.

Normally this should not impact the UCM settings, but on the NAU8824 the "DAC Right Channel Source" mixer setting must be set to 1 when using TDM 4 slots and to 0 when using I2S 2 channel mode.

Getting this wrong (in either case) results in the right channel not outputting any sound.

This commit introduces a RightOutputChannel variable which gets set to 0/1 depending on the driver and then uses that for the "DAC Right Channel Source" mixer setting so that we do the right thing depending on the driver.

This has been tested on the following devices:

Medion E2215T:    Stereo speakers, analog mic
Medion E2228T:    Stereo speakers, stereo digital mics
Cube iWork 8 Air: Mono speaker, analog mic

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