conf/ucm: chtnau8824: Add UCM profile for chtnau8824 boards

Add UCM profile for chtnau8824 boards based on:
https://github.com/plbossart/UCM/blob/master/chtnau8824

Split into multiple files in the same way as this was done for the
bytcr-rt5640 support, re-using the existing ucm/PlatformEnableSeq.conf
and ucm/PlatformDisableSeq.conf files for the SST mixer settings.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Hans de Goede 2018-05-31 17:10:25 +02:00 committed by Jaroslav Kysela
parent 642b360add
commit f3b26e3b8d
12 changed files with 206 additions and 0 deletions

View file

@ -0,0 +1,31 @@
SectionDevice."InternalMic" {
Comment "Internal Microphone"
Value {
CaptureChannels "2"
CapturePriority "150"
}
ConflictingDevice [
"HeadsetMic"
]
EnableSequence [
cdev "hw:chtnau8824"
cset "name='ADC CH0 Select' 0"
cset "name='ADC CH1 Select' 0"
cset "name='Int Mic Switch' on"
cset "name='Right ADC MIC Switch' on"
cset "name='Left ADC MIC Switch' on"
]
DisableSequence [
cdev "hw:chtnau8824"
cset "name='Int Mic Switch' off"
cset "name='Right ADC MIC Switch' off"
cset "name='Left ADC MIC Switch' off"
]
}