Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
cml/sof-cml_max98390: Use common codec init
Browse files Browse the repository at this point in the history
  • Loading branch information
WeirdTreeThing committed Nov 25, 2023
1 parent 358af03 commit d230338
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 35 deletions.
33 changes: 0 additions & 33 deletions cml/sof-cml_max9839/HiFi.conf
Original file line number Diff line number Diff line change
@@ -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
Include.pcm_split.File "/common/pcm/split.conf"

Expand Down
5 changes: 3 additions & 2 deletions cml/sof-cml_max9839/sof-cml_max9839.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
Syntax 6

Comment "sof-cml_max98390_da7219 internal card"

SectionUseCase."HiFi" {
File "HiFi.conf"
Comment "Default"
}

Include.codec-init.File "/conf.d/sof-rt5682/rt5682-init.conf"
Include.speaker-init.File "/codecs/max98390/init.conf"

0 comments on commit d230338

Please sign in to comment.