]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: Intel: avs: Add UCM files for rt5514 configuration
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Tue, 18 Jun 2024 10:47:18 +0000 (12:47 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 8 Oct 2024 08:11:37 +0000 (10:11 +0200)
Add configs for devices using rt5514 codec.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/418
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Intel/avs/avs_rt5514/Google-Eve-1.0-HiFi.conf [new file with mode: 0644]
ucm2/Intel/avs/avs_rt5514/Google-Eve-1.0.conf [new file with mode: 0644]
ucm2/conf.d/avs_rt5514/Google-Eve-1.0.conf [new symlink]

diff --git a/ucm2/Intel/avs/avs_rt5514/Google-Eve-1.0-HiFi.conf b/ucm2/Intel/avs/avs_rt5514/Google-Eve-1.0-HiFi.conf
new file mode 100644 (file)
index 0000000..33f167d
--- /dev/null
@@ -0,0 +1,20 @@
+SectionDevice."Mic" {
+       Comment "Digital Microphone"
+
+       Value {
+               CapturePCM "hw:${CardId},1"
+               CaptureChannels 4
+       }
+       EnableSequence [
+               cset "name='Sto1 ADC MIXL DMIC Switch' on"
+               cset "name='Sto1 ADC MIXR DMIC Switch' on"
+               cset "name='Sto2 ADC MIXL DMIC Switch' on"
+               cset "name='Sto2 ADC MIXR DMIC Switch' on"
+       ]
+       DisableSequence [
+               cset "name='Sto1 ADC MIXL DMIC Switch' off"
+               cset "name='Sto1 ADC MIXR DMIC Switch' off"
+               cset "name='Sto2 ADC MIXL DMIC Switch' off"
+               cset "name='Sto2 ADC MIXR DMIC Switch' off"
+       ]
+}
diff --git a/ucm2/Intel/avs/avs_rt5514/Google-Eve-1.0.conf b/ucm2/Intel/avs/avs_rt5514/Google-Eve-1.0.conf
new file mode 100644 (file)
index 0000000..df51912
--- /dev/null
@@ -0,0 +1,11 @@
+Syntax 6
+
+SectionUseCase."HiFi" {
+       File "/Intel/avs/avs_rt5514/Google-Eve-1.0-HiFi.conf"
+       Comment "Play HiFi quality Music"
+}
+
+BootSequence [
+       cset "name='ADC1 Capture Volume' 55"
+       cset "name='ADC2 Capture Volume' 55"
+]
diff --git a/ucm2/conf.d/avs_rt5514/Google-Eve-1.0.conf b/ucm2/conf.d/avs_rt5514/Google-Eve-1.0.conf
new file mode 120000 (symlink)
index 0000000..f885be2
--- /dev/null
@@ -0,0 +1 @@
+../../Intel/avs/avs_rt5514/Google-Eve-1.0.conf
\ No newline at end of file