Skip to content

Commit

Permalink
ucm2: MediaTek: mt8395-evk: Add headset jack detection
Browse files Browse the repository at this point in the history
Add headphone and headset microphone jack detection support on
mt8395-evk.

Closes: #456
Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
  • Loading branch information
Zoran Zhan authored and perexg committed Nov 7, 2024
1 parent 3b81e60 commit ebdf9d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ucm2/MediaTek/mt8395-evk/HiFi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ SectionDevice."Headphones" {
PlaybackPriority 400
PlaybackChannels 2
PlaybackPCM "hw:${CardId},0"
JackControl "Headphone Jack"
}
}

Expand All @@ -118,6 +119,7 @@ SectionDevice."Headset" {
CapturePriority 500
CaptureChannels 3
CapturePCM "hw:${CardId},15"
JackControl "Headset Mic Jack"
}
}

Expand Down

0 comments on commit ebdf9d1

Please sign in to comment.