Qualcomm: qcs615: Add TALOS EVK HiFi config

Add UCM2 configs for the Qualcomm Talos Board.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/631
Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Mohammad Rafi Shaik 2025-10-29 11:26:37 +05:30 committed by Jaroslav Kysela
commit 5ccdd19840
8 changed files with 93 additions and 0 deletions

View file

@ -0,0 +1,39 @@
SectionVerb {
Value {
TQ "HiFi"
}
EnableSequence [
cset "name='PRIMARY_MI2S_RX Audio Mixer MultiMedia1' 1"
cset "name='MultiMedia2 Mixer PRIMARY_MI2S_TX' 1"
]
}
SectionDevice."Headphones" {
Comment "Headphones playback"
Include.da7213hpe.File "/codecs/da7213/HeadphoneEnableSeq.conf"
Include.da7213hpd.File "/codecs/da7213/HeadphoneDisableSeq.conf"
Value {
PlaybackChannels 2
PlaybackPriority 100
PlaybackPCM "hw:${CardId},0"
PlaybackMixer "default:${CardId}"
PlaybackMixerElem "HP Digital"
JackControl "Headphone Jack"
}
}
SectionDevice."Headset" {
Comment "Headset microphone"
Include.da7213hpmice.File "/codecs/da7213/HeadphoneMic2EnableSeq.conf"
Include.da7213hpmicd.File "/codecs/da7213/HeadphoneMic2DisableSeq.conf"
Value {
CapturePriority 100
CapturePCM "hw:${CardId},1"
JackControl "Mic Jack"
JackHWMute "Mic"
}
}

View file

@ -0,0 +1,10 @@
Syntax 4
SectionUseCase."HiFi" {
File "/Qualcomm/qcs615/HiFi.conf"
Comment "HiFi quality Music"
}
Include.card-init.File "/lib/card-init.conf"
Include.ctl-remap.File "/lib/ctl-remap.conf"
Include.da7213-init.File "/codecs/da7213/init.conf"

View file

@ -0,0 +1,5 @@
DisableSequence [
cset "name='Mixout Left DAC Left Switch' off"
cset "name='Mixout Right DAC Right Switch' off"
cset "name='Headphone Switch' off"
]

View file

@ -0,0 +1,6 @@
EnableSequence [
cset "name='Mixout Left DAC Left Switch' on"
cset "name='Mixout Right DAC Right Switch' on"
cset "name='Headphone Switch' on"
cset "name='Headphone Volume' 84"
]

View file

@ -0,0 +1,9 @@
DisableSequence [
cset "name='Mic 2 Switch' off"
cset "name='Mixin Left Mic 2 Switch' off"
cset "name='Mixin Right Mic 2 Switch' off"
cset "name='Mixin PGA Switch' off"
cset "name='Headphone Switch' off"
cset "name='Mixout Left DAC Left Switch' off"
cset "name='Mixout Right DAC Right Switch' off"
]

View file

@ -0,0 +1,14 @@
EnableSequence [
cset "name='DMIC Switch' off"
cset "name='Mic 2 Amp Source MUX' MIC_P"
cset "name='Mic 2 Switch' on"
cset "name='Mixin Left Mic 2 Switch' on"
cset "name='Mixin Right Mic 2 Switch' on"
cset "name='Mixin PGA Switch' on"
cset "name='DAI Left Source MUX' ADC Left"
cset "name='DAI Right Source MUX' ADC Right"
cset "name='Headphone Volume' 85"
cset "name='Headphone Switch' on"
cset "name='Mixout Left DAC Left Switch' on"
cset "name='Mixout Right DAC Right Switch' on"
]

View file

@ -0,0 +1,9 @@
# DA7213 Digital codec specific control settings
BootSequence [
cset "name='DMIC Switch' off"
cset "name='Headphone Volume' 0"
cset "name='Headphone Switch' off"
cset "name='Mixout Left DAC Left Switch' off"
cset "name='Mixout Right DAC Right Switch' off"
]

View file

@ -0,0 +1 @@
../../Qualcomm/qcs615/TALOS-EVK.conf