]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: Qualcomm: x1e80100: add DisplayPort 2 playback
authorLe Qi <le.qi@oss.qualcomm.com>
Fri, 9 Oct 2026 04:48:49 +0000 (12:48 +0800)
committerJaroslav Kysela <perex@perex.cz>
Fri, 9 Oct 2026 13:04:05 +0000 (15:04 +0200)
Add an HDMI2 device for DISPLAY_PORT_RX_2 using MultiMedia7
with the "DP2 Jack" control.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/870
Signed-off-by: Le Qi <le.qi@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Qualcomm/x1e80100/HiFi.conf

index 5de43653d9084084334cbd604b12a12d185fb593..b0b2b11da6171f7c5d9853fac99ff56f3e1dd2b0 100644 (file)
@@ -9,6 +9,7 @@ SectionVerb {
                cset "name='MultiMedia4 Mixer VA_CODEC_DMA_TX_0' 1"
                cset "name='DISPLAY_PORT_RX_0 Audio Mixer MultiMedia5' 1"
                cset "name='DISPLAY_PORT_RX_1 Audio Mixer MultiMedia6' 1"
+               cset "name='DISPLAY_PORT_RX_2 Audio Mixer MultiMedia7' 1"
        ]
 
        Include.wsae.File "/codecs/wsa884x/four-speakers/DefaultEnableSeq.conf"
@@ -92,6 +93,24 @@ SectionDevice."HDMI1" {
        }
 }
 
+SectionDevice."HDMI2" {
+       Comment "USB/DisplayPort 2 playback"
+
+       EnableSequence [
+               cset "name='DISPLAY_PORT_RX_2 Audio Mixer MultiMedia7' 1"
+       ]
+
+       DisableSequence [
+               cset "name='DISPLAY_PORT_RX_2 Audio Mixer MultiMedia7' 0"
+       ]
+
+       Value {
+               PlaybackPriority 200
+               PlaybackPCM "hw:${CardId},6"
+               JackControl "DP2 Jack"
+       }
+}
+
 SectionDevice."Headset" {
        Comment "Headset microphone"