]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: codecs: lpass: tx: add dmics via tx macro
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 2 Dec 2022 11:00:35 +0000 (11:00 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 20 Mar 2023 14:28:00 +0000 (15:28 +0100)
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/codecs/qcom-lpass/tx-macro/DMIC0DisableSeq.conf [new file with mode: 0644]
ucm2/codecs/qcom-lpass/tx-macro/DMIC0EnableSeq.conf [new file with mode: 0644]

diff --git a/ucm2/codecs/qcom-lpass/tx-macro/DMIC0DisableSeq.conf b/ucm2/codecs/qcom-lpass/tx-macro/DMIC0DisableSeq.conf
new file mode 100644 (file)
index 0000000..e925a43
--- /dev/null
@@ -0,0 +1,4 @@
+DisableSequence [
+       cset "name='TX DMIC MUX0' ZERO"
+       cset "name='TX_AIF1_CAP Mixer DEC0' 0"
+]
diff --git a/ucm2/codecs/qcom-lpass/tx-macro/DMIC0EnableSeq.conf b/ucm2/codecs/qcom-lpass/tx-macro/DMIC0EnableSeq.conf
new file mode 100644 (file)
index 0000000..fdaee34
--- /dev/null
@@ -0,0 +1,9 @@
+EnableSequence [
+       cset "name='TX DEC0 MUX' MSM_DMIC"
+       cset "name='TX DMIC MUX0' DMIC0"
+       cset "name='TX DMIC MUX1' DMIC1"
+       cset "name='TX_AIF1_CAP Mixer DEC0' 1"
+       cset "name='TX_AIF1_CAP Mixer DEC1' 1"
+       cset "name='TX_DEC0 Volume' 100"
+       cset "name='TX_DEC1 Volume' 100"
+]