]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: Qualcomm: Enable Headset Microphone on kaanapali-mtp
authorMohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Mon, 20 Apr 2026 10:53:16 +0000 (16:23 +0530)
committerJaroslav Kysela <perex@perex.cz>
Mon, 4 May 2026 09:15:16 +0000 (11:15 +0200)
Enable missing Headset Microphone on kaanapali-mtp.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/750
Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Qualcomm/kaanapali/MTP/HiFi.conf

index 929c324de501ccb664eb32eff48b3e2dbae1d301..cdaf24518b5274a04cd9871d407d2fe00db5b0ff 100644 (file)
@@ -63,3 +63,20 @@ SectionDevice."Mic" {
                CapturePCM "hw:${CardId},3"
        }
 }
+
+SectionDevice."Headset" {
+       Comment "Headset Microphone"
+
+       Include.wcdmice.File "/codecs/wcd939x/HeadphoneMicEnableSeq.conf"
+       Include.wcdmicd.File "/codecs/wcd939x/HeadphoneMicDisableSeq.conf"
+       Include.txmhpe.File "/codecs/qcom-lpass/tx-macro/SoundwireMic1EnableSeq.conf"
+       Include.txmhpd.File "/codecs/qcom-lpass/tx-macro/SoundwireMicDisableSeq.conf"
+
+       Value {
+               CapturePriority 200
+               CapturePCM "hw:${CardId},2"
+               CaptureMixerElem "ADC2"
+               JackControl "Mic Jack"
+               JackHWMute "Mic"
+       }
+}