]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
Qualcomm: qcs615: Add TALOS EVK HiFi config
authorMohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Wed, 29 Oct 2025 05:56:37 +0000 (11:26 +0530)
committerJaroslav Kysela <perex@perex.cz>
Wed, 29 Oct 2025 17:07:20 +0000 (18:07 +0100)
Add UCM2 configs for the Qualcomm Talos Board.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/631
Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Qualcomm/qcs615/HiFi.conf [new file with mode: 0644]
ucm2/Qualcomm/qcs615/TALOS-EVK.conf [new file with mode: 0644]
ucm2/codecs/da7213/HeadphoneDisableSeq.conf [new file with mode: 0644]
ucm2/codecs/da7213/HeadphoneEnableSeq.conf [new file with mode: 0644]
ucm2/codecs/da7213/HeadphoneMic2DisableSeq.conf [new file with mode: 0644]
ucm2/codecs/da7213/HeadphoneMic2EnableSeq.conf [new file with mode: 0644]
ucm2/codecs/da7213/init.conf [new file with mode: 0644]
ucm2/conf.d/qcs615/TALOS-EVK.conf [new symlink]

diff --git a/ucm2/Qualcomm/qcs615/HiFi.conf b/ucm2/Qualcomm/qcs615/HiFi.conf
new file mode 100644 (file)
index 0000000..8978b2c
--- /dev/null
@@ -0,0 +1,39 @@
+SectionVerb {
+       Value {
+               TQ "HiFi"
+       }
+       EnableSequence [
+               cset "name='PRIMARY_MI2S_RX Audio Mixer MultiMedia1' 1"
+               cset "name='MultiMedia2 Mixer PRIMARY_MI2S_TX' 1"
+       ]
+}
+
+SectionDevice."Headphones" {
+       Comment "Headphones playback"
+
+       Include.da7213hpe.File "/codecs/da7213/HeadphoneEnableSeq.conf"
+       Include.da7213hpd.File "/codecs/da7213/HeadphoneDisableSeq.conf"
+
+       Value {
+               PlaybackChannels 2
+               PlaybackPriority 100
+               PlaybackPCM "hw:${CardId},0"
+               PlaybackMixer "default:${CardId}"
+               PlaybackMixerElem "HP Digital"
+               JackControl "Headphone Jack"
+       }
+}
+
+SectionDevice."Headset" {
+       Comment "Headset microphone"
+
+       Include.da7213hpmice.File "/codecs/da7213/HeadphoneMic2EnableSeq.conf"
+       Include.da7213hpmicd.File "/codecs/da7213/HeadphoneMic2DisableSeq.conf"
+
+       Value {
+               CapturePriority 100
+               CapturePCM "hw:${CardId},1"
+               JackControl "Mic Jack"
+               JackHWMute "Mic"
+       }
+}
diff --git a/ucm2/Qualcomm/qcs615/TALOS-EVK.conf b/ucm2/Qualcomm/qcs615/TALOS-EVK.conf
new file mode 100644 (file)
index 0000000..11923f0
--- /dev/null
@@ -0,0 +1,10 @@
+Syntax 4
+
+SectionUseCase."HiFi" {
+       File "/Qualcomm/qcs615/HiFi.conf"
+       Comment "HiFi quality Music"
+}
+
+Include.card-init.File "/lib/card-init.conf"
+Include.ctl-remap.File "/lib/ctl-remap.conf"
+Include.da7213-init.File "/codecs/da7213/init.conf"
diff --git a/ucm2/codecs/da7213/HeadphoneDisableSeq.conf b/ucm2/codecs/da7213/HeadphoneDisableSeq.conf
new file mode 100644 (file)
index 0000000..3d3c253
--- /dev/null
@@ -0,0 +1,5 @@
+DisableSequence [
+       cset "name='Mixout Left DAC Left Switch' off"
+       cset "name='Mixout Right DAC Right Switch' off"
+       cset "name='Headphone Switch' off"
+]
diff --git a/ucm2/codecs/da7213/HeadphoneEnableSeq.conf b/ucm2/codecs/da7213/HeadphoneEnableSeq.conf
new file mode 100644 (file)
index 0000000..64ee5cd
--- /dev/null
@@ -0,0 +1,6 @@
+EnableSequence [
+       cset "name='Mixout Left DAC Left Switch' on"
+       cset "name='Mixout Right DAC Right Switch' on"
+       cset "name='Headphone Switch' on"
+       cset "name='Headphone Volume' 84"
+]
diff --git a/ucm2/codecs/da7213/HeadphoneMic2DisableSeq.conf b/ucm2/codecs/da7213/HeadphoneMic2DisableSeq.conf
new file mode 100644 (file)
index 0000000..a42f5f1
--- /dev/null
@@ -0,0 +1,9 @@
+DisableSequence [
+       cset "name='Mic 2 Switch' off"
+       cset "name='Mixin Left Mic 2 Switch' off"
+       cset "name='Mixin Right Mic 2 Switch' off"
+       cset "name='Mixin PGA Switch' off"
+       cset "name='Headphone Switch' off"
+       cset "name='Mixout Left DAC Left Switch' off"
+       cset "name='Mixout Right DAC Right Switch' off"
+]
diff --git a/ucm2/codecs/da7213/HeadphoneMic2EnableSeq.conf b/ucm2/codecs/da7213/HeadphoneMic2EnableSeq.conf
new file mode 100644 (file)
index 0000000..d3a69e0
--- /dev/null
@@ -0,0 +1,14 @@
+EnableSequence [
+       cset "name='DMIC Switch' off"
+       cset "name='Mic 2 Amp Source MUX' MIC_P"
+       cset "name='Mic 2 Switch' on"
+       cset "name='Mixin Left Mic 2 Switch' on"
+       cset "name='Mixin Right Mic 2 Switch' on"
+       cset "name='Mixin PGA Switch' on"
+       cset "name='DAI Left Source MUX' ADC Left"
+       cset "name='DAI Right Source MUX' ADC Right"
+       cset "name='Headphone Volume' 85"
+       cset "name='Headphone Switch' on"
+       cset "name='Mixout Left DAC Left Switch' on"
+       cset "name='Mixout Right DAC Right Switch' on"
+]
diff --git a/ucm2/codecs/da7213/init.conf b/ucm2/codecs/da7213/init.conf
new file mode 100644 (file)
index 0000000..3e0fad0
--- /dev/null
@@ -0,0 +1,9 @@
+# DA7213 Digital codec specific control settings
+
+BootSequence [
+       cset "name='DMIC Switch' off"
+       cset "name='Headphone Volume' 0"
+       cset "name='Headphone Switch' off"
+       cset "name='Mixout Left DAC Left Switch' off"
+       cset "name='Mixout Right DAC Right Switch' off"
+]
diff --git a/ucm2/conf.d/qcs615/TALOS-EVK.conf b/ucm2/conf.d/qcs615/TALOS-EVK.conf
new file mode 120000 (symlink)
index 0000000..e7418b4
--- /dev/null
@@ -0,0 +1 @@
+../../Qualcomm/qcs615/TALOS-EVK.conf
\ No newline at end of file