From aa2d88c32947cb94232d58a46aeaa158920a9d1f Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla Date: Fri, 2 Dec 2022 11:00:35 +0000 Subject: [PATCH] ucm2: codecs: lpass: tx: add dmics via tx macro Signed-off-by: Srinivas Kandagatla Signed-off-by: Jaroslav Kysela --- ucm2/codecs/qcom-lpass/tx-macro/DMIC0DisableSeq.conf | 4 ++++ ucm2/codecs/qcom-lpass/tx-macro/DMIC0EnableSeq.conf | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 ucm2/codecs/qcom-lpass/tx-macro/DMIC0DisableSeq.conf create mode 100644 ucm2/codecs/qcom-lpass/tx-macro/DMIC0EnableSeq.conf diff --git a/ucm2/codecs/qcom-lpass/tx-macro/DMIC0DisableSeq.conf b/ucm2/codecs/qcom-lpass/tx-macro/DMIC0DisableSeq.conf new file mode 100644 index 0000000..e925a43 --- /dev/null +++ b/ucm2/codecs/qcom-lpass/tx-macro/DMIC0DisableSeq.conf @@ -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 index 0000000..fdaee34 --- /dev/null +++ b/ucm2/codecs/qcom-lpass/tx-macro/DMIC0EnableSeq.conf @@ -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" +] -- 2.47.1