pmaports/device/community/alsa-ucm-conf-google-kukui/mt8183_mt6358_ts3a227_max98357.conf
WeirdTreeThing 1f86677848
alsa-ucm-conf-google-kukui: improvements for mt8183 ucm (MR 4733)
Krane doesn't have a headphone jack, which caused audio server issues
for me. Add a check to only enable the headphone and headset mic device
on non-Krane boards. Also improve the formatting and remove
ChromeOS-specifc options.

[ci:skip-build]: already built successfully in CI
2024-01-18 19:21:25 +01:00

31 lines
631 B
Text

Syntax 6
SectionUseCase."HiFi" {
File "HiFi.conf"
Comment "Default"
}
BootSequence [
# Speakers
cset "name='I2S3_CH1 DL1_CH1' 1"
cset "name='I2S3_CH2 DL1_CH2' 1"
# Headphones
cset "name='Headphone Volume' 17"
cset "name='ADDA_DL_CH1 DL1_CH1' 0"
cset "name='ADDA_DL_CH2 DL1_CH2' 0"
cset "name='HPL Mux' 0"
cset "name='HPR Mux' 0"
# Internal Mic
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"
# Headset Mic
cset "name='PGA L Mux' 0"
cset "name='ADC L Mux' 0"
cset "name='PGA Volume' 0"
cset "name='UL3_CH1 ADDA_UL_CH1' 0"
]