]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: MediaTek: mt8395-evk: Add headset jack detection
authorZoran Zhan <zoran zhan@mediatek.com>
Fri, 2 Aug 2024 07:08:49 +0000 (15:08 +0800)
committerJaroslav Kysela <perex@perex.cz>
Thu, 7 Nov 2024 11:42:09 +0000 (12:42 +0100)
Add headphone and headset microphone jack detection support on
mt8395-evk.

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

index b9a8a42e80fa42f19fa035acf5eb57d374051958..8c325fdb797e2ea5ac20afa6bc2dd0b37fdcb416 100644 (file)
@@ -100,6 +100,7 @@ SectionDevice."Headphones" {
                PlaybackPriority 400
                PlaybackChannels 2
                PlaybackPCM "hw:${CardId},0"
+               JackControl "Headphone Jack"
        }
 }
 
@@ -118,6 +119,7 @@ SectionDevice."Headset" {
                CapturePriority 500
                CaptureChannels 3
                CapturePCM "hw:${CardId},15"
+               JackControl "Headset Mic Jack"
        }
 }