]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: sof-essx8336: Add a boot sequence
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 29 Mar 2022 19:48:32 +0000 (16:48 -0300)
committerJaroslav Kysela <perex@perex.cz>
Mon, 23 May 2022 13:07:10 +0000 (15:07 +0200)
Add a boot sequence to place the card on a reliable state.

Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/144
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Intel/sof-essx8336/sof-essx8336.conf

index 02f7fad35dfaa698516383997efe103e59a2be57..91b840025cc9f892e381a885ec03d0ae6d87836b 100644 (file)
@@ -1,5 +1,29 @@
 Syntax 4
 
+BootSequence [
+       # Setup muxes / switches
+       cset "name='Left Headphone Mixer Left DAC Switch' on"
+       cset "name='Right Headphone Mixer Right DAC Switch' on"
+       # Set digital mix mux to "dmic disable"
+       # That doesn't affect dmic, but other values mute headset mic
+       cset "name='Digital Mic Mux' 0"
+
+       # Set HP vol to 0 dB
+       cset "name='Headphone Playback Volume' 100%"
+       cset "name='Headphone Mixer Volume' 100%"
+
+       # Set DAC vol
+       cset "name='DAC Playback Volume' 60%"
+       # LDATA TO LDAC, RDATA TO RDAC
+       cset "name='DAC Source Mux' 0"
+
+       # Disable Auto Level Control
+       cset "name='ALC Capture Switch' off"
+
+       # Set capture vol
+       cset "name='ADC Capture Volume' 60%"
+]
+
 Define.DeviceDmic ""
 
 If.devdmic {