cml/sof-cml_max98390: Use common codec init

common-codecs
WeirdTreeThing 2023-11-25 16:12:34 -05:00
parent 358af03631
commit d230338efa
No known key found for this signature in database
GPG Key ID: 1F56A4B52998B851
2 changed files with 3 additions and 35 deletions

View File

@ -1,36 +1,3 @@
SectionVerb {
EnableSequence [
cset "name='Left DAI Sel Mux' Left"
cset "name='Right DAI Sel Mux' Right"
cset "name='Left Digital Volume' 138"
cset "name='Right Digital Volume' 138"
cset "name='Left Boost Clock Phase' 0"
cset "name='Right Boost Clock Phase' 3"
cset "name='Playback Digital Volume' 111"
cset "name='Playback Digital Switch' on"
cset "name='Out DACL Mux' DAIL"
cset "name='Out DACR Mux' DAIR"
cset "name='Mixer Out FilterL DACL Switch' on"
cset "name='Mixer Out FilterR DACR Switch' on"
cset "name='ST Mixer Out FilterL Out FilterL Switch' on"
cset "name='ST Mixer Out FilterR Out FilterR Switch' on"
cset "name='Headphone Jack Switch' on"
cset "name='Headset Mic Switch' on"
cset "name='Mic Switch' on"
cset "name='Mic Volume' 5"
cset "name='Capture Digital Volume' 111"
cset "name='Capture Digital Switch' on"
cset "name='Mixin Volume' 10"
cset "name='Mixin Switch' on"
cset "name='Mixer In Mic Switch' on"
cset "name='Out DAIL Mux' ADC"
cset "name='Out DAIR Mux' ADC"
cset "name='Gain Ramp Rate' 1"
]
}
# Split 4ch dmic into 2 virtual 2ch mics # Split 4ch dmic into 2 virtual 2ch mics
Include.pcm_split.File "/common/pcm/split.conf" Include.pcm_split.File "/common/pcm/split.conf"

View File

@ -1,8 +1,9 @@
Syntax 6 Syntax 6
Comment "sof-cml_max98390_da7219 internal card"
SectionUseCase."HiFi" { SectionUseCase."HiFi" {
File "HiFi.conf" File "HiFi.conf"
Comment "Default" Comment "Default"
} }
Include.codec-init.File "/conf.d/sof-rt5682/rt5682-init.conf"
Include.speaker-init.File "/codecs/max98390/init.conf"