]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
Qualcomm: Add QCS6490 RB3Gen2 HiFi config
authorMohammad Rafi Shaik <quic_mohs@quicinc.com>
Wed, 12 Feb 2025 10:25:59 +0000 (15:55 +0530)
committerJaroslav Kysela <perex@perex.cz>
Fri, 21 Mar 2025 17:56:07 +0000 (18:56 +0100)
Add UCM2 configs for the Qualcomm QCS6490 RB3Gen2 Board to handle:
- on-board Speakers
- on-board Microphones

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/508
Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Qualcomm/qcs6490/QCS6490-RB3Gen2/HiFi.conf [new file with mode: 0644]
ucm2/Qualcomm/qcs6490/QCS6490-RB3Gen2/QCS6490-RB3Gen2.conf [new file with mode: 0644]
ucm2/conf.d/qcs6490/QCS6490-RB3Gen2.conf [new file with mode: 0644]

diff --git a/ucm2/Qualcomm/qcs6490/QCS6490-RB3Gen2/HiFi.conf b/ucm2/Qualcomm/qcs6490/QCS6490-RB3Gen2/HiFi.conf
new file mode 100644 (file)
index 0000000..954dbfa
--- /dev/null
@@ -0,0 +1,41 @@
+SectionVerb {
+       Value {
+               TQ "HiFi"
+       }
+       EnableSequence [
+               cset "name='WSA_CODEC_DMA_RX_0 Audio Mixer MULTIMEDIA0' 1"
+               cset "name='MULTIMEDIA1 Audio Mixer VA_CODEC_DMA_TX_0' 1"
+       ]
+
+       Include.wsae.File "/codecs/wsa883x/DefaultEnableSeq.conf"
+}
+
+SectionDevice."Speaker" {
+       Comment "Speaker playback"
+
+       Include.wsamspke.File "/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf"
+       Include.wsamspkd.File "/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf"
+       Include.wsaspke.File "/codecs/wsa883x/SpeakerEnableSeq.conf"
+       Include.wsaspkd.File "/codecs/wsa883x/SpeakerDisableSeq.conf"
+
+       Value {
+               PlaybackPriority 100
+               PlaybackPCM "hw:${CardId},0"
+               PlaybackMixer "default:${CardId}"
+               PlaybackMixerElem "Speakers"
+       }
+}
+
+SectionDevice."Mic1" {
+       Comment "internal Mic"
+
+       Include.vadm0e.File "/codecs/qcom-lpass/va-macro/DMIC0EnableSeq.conf"
+       Include.vadm0d.File "/codecs/qcom-lpass/va-macro/DMIC0DisableSeq.conf"
+       Include.vadm1e.File "/codecs/qcom-lpass/va-macro/DMIC1EnableSeq.conf"
+       Include.vadm1d.File "/codecs/qcom-lpass/va-macro/DMIC1DisableSeq.conf"
+
+       Value {
+               CapturePriority 100
+               CapturePCM "hw:${CardId},1"
+       }
+}
diff --git a/ucm2/Qualcomm/qcs6490/QCS6490-RB3Gen2/QCS6490-RB3Gen2.conf b/ucm2/Qualcomm/qcs6490/QCS6490-RB3Gen2/QCS6490-RB3Gen2.conf
new file mode 100644 (file)
index 0000000..ff9f3db
--- /dev/null
@@ -0,0 +1,11 @@
+Syntax 4
+
+SectionUseCase."HiFi" {
+       File "/Qualcomm/qcs6490/QCS6490-RB3Gen2/HiFi.conf"
+       Comment "HiFi quality Music"
+}
+
+Include.card-init.File "/lib/card-init.conf"
+Include.ctl-remap.File "/lib/ctl-remap.conf"
+Include.wsa-init.File "/codecs/wsa883x/init.conf"
+Include.wsam-init.File "/codecs/qcom-lpass/wsa-macro/init.conf"
diff --git a/ucm2/conf.d/qcs6490/QCS6490-RB3Gen2.conf b/ucm2/conf.d/qcs6490/QCS6490-RB3Gen2.conf
new file mode 100644 (file)
index 0000000..f3f299d
--- /dev/null
@@ -0,0 +1,6 @@
+Syntax 4
+
+SectionUseCase."HiFi" {
+       File "/Qualcomm/qcs6490/QCS6490-RB3Gen2/HiFi.conf"
+       Comment "HiFi quality Music."
+}