]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
Rockchip/max98090: add HDMI device
authorJaroslav Kysela <perex@perex.cz>
Mon, 17 Oct 2022 10:41:37 +0000 (12:41 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 17 Oct 2022 10:44:10 +0000 (12:44 +0200)
Fixes: https://github.com/alsa-project/alsa-ucm-conf/issues/208
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Rockchip/max98090/HiFi.conf

index f2b6ab75a929ad39581a8a75f510f430bf067fc2..6d7be0de42efdcd2bce092c55f88d7f3e253588f 100644 (file)
@@ -120,3 +120,21 @@ SectionDevice."Headset" {
                cset "name='Record Path DC Blocking' off"
        ]
 }
+
+SectionDevice."HDMI" {
+       Comment "HDMI Jack"
+
+       Value {
+               PlaybackPriority 300
+               PlaybackPCM "hw:${CardId},1"
+               JackControl "HDMI Jack"
+       }
+
+       EnableSequence [
+               cset "name='HDMI Switch' on"
+       ]
+
+       DisableSequence [
+               cset "name='HDMI Switch' off"
+       ]
+}