*/sof-cs42l42: Use common codec init

common-codecs
WeirdTreeThing 2023-11-04 10:51:07 -04:00
parent 534ea69fee
commit 17ddfbf369
No known key found for this signature in database
GPG Key ID: 1F56A4B52998B851
5 changed files with 12 additions and 18 deletions

8
codecs/cs42l42/init.conf Normal file
View File

@ -0,0 +1,8 @@
# CS42L42 specific volume control settings
BootSequence [
cset "name='Headphone Jack Switch' off"
cset "name='Headset Mic Switch' off"
cset "name='ADC Volume' 109"
cset "name='ADC Boost Switch' on"
]

View File

@ -1,12 +1,3 @@
SectionVerb {
EnableSequence [
cset "name='Headphone Jack Switch' off"
cset "name='Headset Mic Switch' off"
cset "name='ADC Volume' 108"
cset "name='ADC Boost Switch' on"
]
}
# Split 4ch dmic into 2 virtual 2ch mics
Include.pcm_split.File "/common/pcm/split.conf"

View File

@ -6,3 +6,5 @@ SectionUseCase."HiFi" {
File "HiFi.conf"
Comment "Default"
}
Include.codec-init.File "/codecs/cs42l42/init.conf"

View File

@ -1,12 +1,3 @@
SectionVerb {
EnableSequence [
cset "name='Headphone Jack Switch' off"
cset "name='Headset Mic Switch' off"
cset "name='ADC Volume' 109"
cset "name='ADC Boost Switch' on"
]
}
SectionDevice."Speaker" {
Comment "Speaker"

View File

@ -6,3 +6,5 @@ SectionUseCase."HiFi" {
File "HiFi.conf"
Comment "Default"
}
Include.codec-init.File "/codecs/da7219/init.conf"