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:
parent
e95615eb37
commit
5ccdd19840
8 changed files with 93 additions and 0 deletions
39
ucm2/Qualcomm/qcs615/HiFi.conf
Normal file
39
ucm2/Qualcomm/qcs615/HiFi.conf
Normal 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"
|
||||
}
|
||||
}
|
||||
10
ucm2/Qualcomm/qcs615/TALOS-EVK.conf
Normal file
10
ucm2/Qualcomm/qcs615/TALOS-EVK.conf
Normal 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"
|
||||
5
ucm2/codecs/da7213/HeadphoneDisableSeq.conf
Normal file
5
ucm2/codecs/da7213/HeadphoneDisableSeq.conf
Normal 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"
|
||||
]
|
||||
6
ucm2/codecs/da7213/HeadphoneEnableSeq.conf
Normal file
6
ucm2/codecs/da7213/HeadphoneEnableSeq.conf
Normal 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"
|
||||
]
|
||||
9
ucm2/codecs/da7213/HeadphoneMic2DisableSeq.conf
Normal file
9
ucm2/codecs/da7213/HeadphoneMic2DisableSeq.conf
Normal 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"
|
||||
]
|
||||
14
ucm2/codecs/da7213/HeadphoneMic2EnableSeq.conf
Normal file
14
ucm2/codecs/da7213/HeadphoneMic2EnableSeq.conf
Normal 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"
|
||||
]
|
||||
9
ucm2/codecs/da7213/init.conf
Normal file
9
ucm2/codecs/da7213/init.conf
Normal 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"
|
||||
]
|
||||
1
ucm2/conf.d/qcs615/TALOS-EVK.conf
Symbolic link
1
ucm2/conf.d/qcs615/TALOS-EVK.conf
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Qualcomm/qcs615/TALOS-EVK.conf
|
||||
Loading…
Add table
Add a link
Reference in a new issue