ucm2: MediaTek: mt8370-evk: Add headset jack detection

Add headphone and headset microphone jack detection support on
mt8370-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>
This commit is contained in:
Zoran Zhan 2024-08-02 15:01:41 +08:00 committed by Jaroslav Kysela
commit 35a315312f

View file

@ -91,6 +91,7 @@ SectionDevice."Headphones" {
PlaybackPriority 500
PlaybackChannels 2
PlaybackPCM "hw:${CardId},0"
JackControl "Headphone Jack"
}
}
@ -109,6 +110,7 @@ SectionDevice."Headset" {
CapturePriority 500
CaptureChannels 1
CapturePCM "hw:${CardId},10"
JackControl "Headset Mic Jack"
}
}