]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: codecs: rx-macro: add Headset Left enable/disable
authorSrinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Thu, 26 Jun 2025 09:00:49 +0000 (10:00 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 30 Oct 2025 09:34:23 +0000 (10:34 +0100)
 sequence

Headset L is connected as Lineout on some platforms like RB1, so add the
rx codec macro sequences required to enable Lineout on those platforms.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/621
Cc: Alexey Klimov <alexey.klimov@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLDisableSeq.conf [new file with mode: 0644]
ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLEnableSeq.conf [new file with mode: 0644]

diff --git a/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLDisableSeq.conf b/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLDisableSeq.conf
new file mode 100644 (file)
index 0000000..37deee8
--- /dev/null
@@ -0,0 +1,6 @@
+DisableSequence [
+       cset "name='RX_MACRO RX0 MUX' ZERO"
+       cset "name='RX INT0_1 MIX1 INP0' ZERO"
+       cset "name='RX INT0 DEM MUX' NORMAL_DSM_OUT"
+       cset "name='RX_COMP1 Switch' 0"
+]
diff --git a/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLEnableSeq.conf b/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLEnableSeq.conf
new file mode 100644 (file)
index 0000000..558c4cd
--- /dev/null
@@ -0,0 +1,7 @@
+EnableSequence [
+       cset "name='RX_HPH PWR Mode' LOHIFI"
+       cset "name='RX_MACRO RX0 MUX' AIF1_PB"
+       cset "name='RX INT0_1 MIX1 INP0' RX0"
+       cset "name='RX INT0 DEM MUX' CLSH_DSM_OUT"
+       cset "name='RX_COMP1 Switch' 1"
+]