From: Srinivas Kandagatla Date: Thu, 26 Jun 2025 09:00:49 +0000 (+0100) Subject: ucm2: codecs: rx-macro: add Headset Left enable/disable X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=a92662115f5652f559905759c7464e5c1669557a;p=alsa-ucm-conf.git ucm2: codecs: rx-macro: add Headset Left enable/disable 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 Signed-off-by: Srinivas Kandagatla Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLDisableSeq.conf b/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLDisableSeq.conf new file mode 100644 index 0000000..37deee8 --- /dev/null +++ b/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLDisableSeq.conf @@ -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 index 0000000..558c4cd --- /dev/null +++ b/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLEnableSeq.conf @@ -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" +]