mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-27 07:00:09 -05:00
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:
parent
642b360add
commit
f3b26e3b8d
12 changed files with 206 additions and 0 deletions
31
src/conf/ucm/nau8824/InternalMic.conf
Normal file
31
src/conf/ucm/nau8824/InternalMic.conf
Normal 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"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue