]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: codecs: lpass-tx-macro: add codec sequences
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 4 Oct 2022 14:38:47 +0000 (15:38 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 20 Mar 2023 14:28:00 +0000 (15:28 +0100)
Add default, enable/disable codec sequence for Qualcomm LPASS TX Macro
digital codec

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/codecs/qcom-lpass/tx-macro/HeadphoneMicDisableSeq.conf [new file with mode: 0644]
ucm2/codecs/qcom-lpass/tx-macro/HeadphoneMicEnableSeq.conf [new file with mode: 0644]

diff --git a/ucm2/codecs/qcom-lpass/tx-macro/HeadphoneMicDisableSeq.conf b/ucm2/codecs/qcom-lpass/tx-macro/HeadphoneMicDisableSeq.conf
new file mode 100644 (file)
index 0000000..97b2762
--- /dev/null
@@ -0,0 +1,5 @@
+DisableSequence [
+       cset "name='TX SMIC MUX0' ZERO"
+       cset "name='TX_AIF1_CAP Mixer DEC0' 0"
+       cset "name='TX1 MODE' ADC_INVALID"
+]
diff --git a/ucm2/codecs/qcom-lpass/tx-macro/HeadphoneMicEnableSeq.conf b/ucm2/codecs/qcom-lpass/tx-macro/HeadphoneMicEnableSeq.conf
new file mode 100644 (file)
index 0000000..631c6e2
--- /dev/null
@@ -0,0 +1,7 @@
+EnableSequence [
+       cset "name='TX DEC0 MUX' SWR_MIC"
+       cset "name='TX SMIC MUX0' ADC1"
+       cset "name='TX_AIF1_CAP Mixer DEC0' 1"
+       cset "name='TX1 MODE' ADC_NORMAL"
+       cset "name='TX_DEC0 Volume' 110"
+]