]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm: MediaTek: mt8395-evk: Add HDMIRX config
authorZoran Zhan <zoran.zhan@mediatek.com>
Mon, 22 Jan 2024 09:52:05 +0000 (17:52 +0800)
committerJaroslav Kysela <perex@perex.cz>
Thu, 25 Jan 2024 10:14:38 +0000 (11:14 +0100)
Add HDMI RX config and modify the priority value
of the capture devices.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/389
Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/MediaTek/mt8395-evk/HiFi.conf
ucm2/MediaTek/mt8395-evk/mt8395-evk.conf

index 81e4423f40bddca342e1f7d299e57f25a55d81fc..5c25cfbadb19d9e26060d6e5c965509bd2b86e72 100644 (file)
@@ -34,6 +34,15 @@ SectionDevice."HDMI2" {
        ]
 }
 
+SectionDevice."HDMI3" {
+       Comment "HDMI RX"
+
+       Value {
+               CapturePriority 200
+               CapturePCM "hw:${CardId},7"
+       }
+}
+
 SectionDevice."Speaker" {
        Comment "Lineout speaker"
 
@@ -90,7 +99,7 @@ SectionDevice."Headset" {
        ]
 
        Value {
-               CapturePriority 400
+               CapturePriority 500
                CaptureChannels 3
                CapturePCM "hw:${CardId},15"
        }
@@ -117,7 +126,7 @@ SectionDevice."Mic1" {
        ]
 
        Value {
-               CapturePriority 300
+               CapturePriority 400
                CaptureChannels 3
                CapturePCM "hw:${CardId},15"
        }
@@ -127,7 +136,7 @@ SectionDevice."Mic2" {
        Comment "Digital microphone"
 
        Value {
-               CapturePriority 200
+               CapturePriority 300
                CaptureChannels 2
                CapturePCM "hw:${CardId},14"
        }
index 1957b691750c2b6e4ab9229dc27fce0a8039bd46..b739ec0f1594cddd1582a49fe7a97ef88ce60a3f 100644 (file)
@@ -18,6 +18,7 @@ BootSequence [
        cset "name='PGA_3_Mux' AIN3"
        cset "name='HDMI_OUT_MUX' Connect"
        cset "name='DPTX_OUT_MUX' Disconnect"
+       cset "name='MULTI_IN1_MUX' HDMI_RX_I2S"
        cset "name='Lineout Volume' 10"
        cset "name='Headset Volume' 2"
        cset "name='PGA1 Volume' 4"