From a92662115f5652f559905759c7464e5c1669557a Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla Date: Thu, 26 Jun 2025 10:00:49 +0100 Subject: [PATCH] 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 --- ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLDisableSeq.conf | 6 ++++++ ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLEnableSeq.conf | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLDisableSeq.conf create mode 100644 ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLEnableSeq.conf 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" +] -- 2.47.3