mt8183: add Krane UCM

common-codecs
WeirdTreeThing 2023-10-21 11:25:46 -04:00
parent ee6d3a6b7a
commit d89563442b
No known key found for this signature in database
GPG Key ID: 1F56A4B52998B851
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,40 @@
SectionVerb {
EnableSequence [
cset "name='Headphone Volume' 0"
]
}
SectionDevice."Speaker" {
Comment "Speaker"
Value {
PlaybackPCM "hw:${CardId},0"
}
EnableSequence [
cset "name='I2S3_CH1 DL1_CH1' 1"
cset "name='I2S3_CH2 DL1_CH2' 1"
]
DisableSequence [
cset "name='I2S3_CH1 DL1_CH1' 0"
cset "name='I2S3_CH2 DL1_CH2' 0"
]
}
SectionDevice."Mic" {
Comment "Internal Microphone"
Value {
CapturePCM "hw:${CardId},5"
}
EnableSequence [
cset "name='MTKAIF_DMIC' 1"
cset "name='Mic Type Mux' 2"
cset "name='UL3_CH1 ADDA_UL_CH1' 1"
cset "name='UL3_CH2 ADDA_UL_CH2' 1"
]
DisableSequence [
cset "name='MTKAIF_DMIC' 0"
cset "name='UL3_CH1 ADDA_UL_CH1' 0"
cset "name='UL3_CH2 ADDA_UL_CH2' 0"
]
}

View File

@ -0,0 +1,8 @@
Comment "Krane internal card"
Syntax 6
SectionUseCase."HiFi" {
File "HiFi.conf"
Comment "Default"
}