]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: Qualcomm: shikra: Add Shikra EVK HiFi conf
authorMohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Thu, 23 Jul 2026 05:53:16 +0000 (11:23 +0530)
committerJaroslav Kysela <perex@perex.cz>
Fri, 9 Oct 2026 08:53:11 +0000 (10:53 +0200)
Add UCM2 configs for the Shikra EVK boards.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/817
Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Qualcomm/shikra/shikra-cqm-evk/HiFi.conf [new file with mode: 0644]
ucm2/Qualcomm/shikra/shikra-cqm-evk/shikra-cqm-evk.conf [new file with mode: 0644]
ucm2/Qualcomm/shikra/shikra-cqs-evk/HiFi.conf [new file with mode: 0644]
ucm2/Qualcomm/shikra/shikra-cqs-evk/shikra-cqs-evk.conf [new file with mode: 0644]
ucm2/Qualcomm/shikra/shikra-iqs-evk/HiFi.conf [new file with mode: 0644]
ucm2/Qualcomm/shikra/shikra-iqs-evk/shikra-iqs-evk.conf [new file with mode: 0644]
ucm2/conf.d/shikra/shikra-cqm-evk.conf [new symlink]
ucm2/conf.d/shikra/shikra-cqs-evk.conf [new symlink]
ucm2/conf.d/shikra/shikra-iqs-evk.conf [new symlink]

diff --git a/ucm2/Qualcomm/shikra/shikra-cqm-evk/HiFi.conf b/ucm2/Qualcomm/shikra/shikra-cqm-evk/HiFi.conf
new file mode 100644 (file)
index 0000000..31dd793
--- /dev/null
@@ -0,0 +1,54 @@
+# Use case configuration for Qualcomm Shikra CQM EVK.
+# Codec: WSA885x I2S speaker, VA DMIC capture
+# Speaker: hw:0,2   DMIC: hw:0,3
+
+SectionVerb {
+       EnableSequence [
+               cset "name='Rx Slot Mask' 3"
+               cset "name='Speaker Volume' 72"
+               cset "name='Usage Mode' 3"
+       ]
+
+       DisableSequence [
+               cset "name='Speaker Volume' 0"
+       ]
+
+       Value {
+               TQ "HiFi"
+       }
+}
+
+SectionDevice."Speaker" {
+       Comment "Speaker playback"
+
+       EnableSequence [
+               cset "name='Rx Slot Mask' 3"
+               cset "name='Speaker Volume' 72"
+               cset "name='Usage Mode' 3"
+       ]
+
+       DisableSequence [
+               cset "name='Speaker Volume' 0"
+       ]
+
+       Value {
+               PlaybackPriority 100
+               PlaybackPCM "hw:${CardId},2"
+               PlaybackChannels 2
+       }
+}
+
+SectionDevice."Mic" {
+       Comment "Internal Digital Microphone Capture"
+
+       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},3"
+               CaptureChannels 1
+       }
+}
diff --git a/ucm2/Qualcomm/shikra/shikra-cqm-evk/shikra-cqm-evk.conf b/ucm2/Qualcomm/shikra/shikra-cqm-evk/shikra-cqm-evk.conf
new file mode 100644 (file)
index 0000000..789fed2
--- /dev/null
@@ -0,0 +1,10 @@
+Syntax 4
+
+SectionUseCase."HiFi" {
+       File "/Qualcomm/shikra/shikra-cqm-evk/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/wsa885x/init.conf"
diff --git a/ucm2/Qualcomm/shikra/shikra-cqs-evk/HiFi.conf b/ucm2/Qualcomm/shikra/shikra-cqs-evk/HiFi.conf
new file mode 100644 (file)
index 0000000..f2dfdbd
--- /dev/null
@@ -0,0 +1,56 @@
+# Use case configuration for Qualcomm Shikra CQS EVK.
+# Codec: WSA885x I2S speaker, VA DMIC capture
+# Speaker: hw:0,0   DMIC: hw:0,2
+
+SectionVerb {
+       EnableSequence [
+               cset "name='Rx Slot Mask' 3"
+               cset "name='Speaker Volume' 72"
+               cset "name='Usage Mode' 3"
+               cset "name='SECONDARY_TDM_RX_0 Audio Mixer MultiMedia1' 1"
+               cset "name='MultiMedia3 Mixer VA_CODEC_DMA_TX_0' 1"
+       ]
+
+       DisableSequence [
+               cset "name='Speaker Volume' 0"
+       ]
+
+       Value {
+               TQ "HiFi"
+       }
+}
+
+SectionDevice."Speaker" {
+       Comment "Speaker playback"
+
+       EnableSequence [
+               cset "name='Rx Slot Mask' 3"
+               cset "name='Speaker Volume' 72"
+               cset "name='Usage Mode' 3"
+       ]
+
+       DisableSequence [
+               cset "name='Speaker Volume' 0"
+       ]
+
+       Value {
+               PlaybackPriority 100
+               PlaybackPCM "hw:${CardId},0"
+               PlaybackChannels 2
+       }
+}
+
+SectionDevice."Mic" {
+       Comment "Internal Digital Microphone capture"
+
+       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},2"
+               CaptureChannels 1
+       }
+}
diff --git a/ucm2/Qualcomm/shikra/shikra-cqs-evk/shikra-cqs-evk.conf b/ucm2/Qualcomm/shikra/shikra-cqs-evk/shikra-cqs-evk.conf
new file mode 100644 (file)
index 0000000..eb71043
--- /dev/null
@@ -0,0 +1,10 @@
+Syntax 4
+
+SectionUseCase."HiFi" {
+       File "/Qualcomm/shikra/shikra-cqs-evk/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/wsa885x/init.conf"
diff --git a/ucm2/Qualcomm/shikra/shikra-iqs-evk/HiFi.conf b/ucm2/Qualcomm/shikra/shikra-iqs-evk/HiFi.conf
new file mode 100644 (file)
index 0000000..9c1af54
--- /dev/null
@@ -0,0 +1,51 @@
+# Use case configuration for Qualcomm Shikra IQS EVK.
+# Codec: MAX98091 speaker, VA DMIC capture
+# Speaker: hw:0,2   DMIC: hw:0,2
+
+SectionVerb {
+       EnableSequence [
+               cset "name='PRIMARY_MI2S_RX Audio Mixer MultiMedia1' 1"
+               cset "name='MultiMedia3 Mixer VA_CODEC_DMA_TX_0' 1"
+       ]
+       Include.e.File "/codecs/max98090/EnableSeq.conf"
+       Value {
+               TQ "HiFi"
+       }
+}
+
+SectionDevice."Earpiece" {
+       Comment "Earpiece playback"
+
+       Value {
+               PlaybackPCM "hw:${CardId},0"
+               PlaybackMixer "default:${CardId}"
+       }
+
+       EnableSequence [
+               cset "name='Speaker Left Switch' on"
+               cset "name='Speaker Right Switch' on"
+               cset "name='Speaker Switch' on"
+       ]
+
+       DisableSequence [
+               cset "name='Speaker Left Switch' off"
+               cset "name='Speaker Right Switch' off"
+               cset "name='Speaker Switch' off"
+       ]
+
+}
+
+SectionDevice."Mic" {
+       Comment "Internal Digital Microphone capture"
+
+       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},2"
+               CaptureChannels 1
+       }
+}
diff --git a/ucm2/Qualcomm/shikra/shikra-iqs-evk/shikra-iqs-evk.conf b/ucm2/Qualcomm/shikra/shikra-iqs-evk/shikra-iqs-evk.conf
new file mode 100644 (file)
index 0000000..99635bb
--- /dev/null
@@ -0,0 +1,9 @@
+Syntax 4
+
+SectionUseCase."HiFi" {
+       File "/Qualcomm/shikra/shikra-iqs-evk/HiFi.conf"
+       Comment "HiFi quality Music."
+}
+
+Include.card-init.File "/lib/card-init.conf"
+Include.ctl-remap.File "/lib/ctl-remap.conf"
\ No newline at end of file
diff --git a/ucm2/conf.d/shikra/shikra-cqm-evk.conf b/ucm2/conf.d/shikra/shikra-cqm-evk.conf
new file mode 120000 (symlink)
index 0000000..de6a1d6
--- /dev/null
@@ -0,0 +1 @@
+../../Qualcomm/shikra/shikra-cqm-evk/shikra-cqm-evk.conf
\ No newline at end of file
diff --git a/ucm2/conf.d/shikra/shikra-cqs-evk.conf b/ucm2/conf.d/shikra/shikra-cqs-evk.conf
new file mode 120000 (symlink)
index 0000000..8cf74e3
--- /dev/null
@@ -0,0 +1 @@
+../../Qualcomm/shikra/shikra-cqs-evk/shikra-cqs-evk.conf
\ No newline at end of file
diff --git a/ucm2/conf.d/shikra/shikra-iqs-evk.conf b/ucm2/conf.d/shikra/shikra-iqs-evk.conf
new file mode 120000 (symlink)
index 0000000..5213655
--- /dev/null
@@ -0,0 +1 @@
+../../Qualcomm/shikra/shikra-iqs-evk/shikra-iqs-evk.conf
\ No newline at end of file