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>
--- /dev/null
+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"
+ }
+}
--- /dev/null
+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"
--- /dev/null
+DisableSequence [
+ cset "name='Mixout Left DAC Left Switch' off"
+ cset "name='Mixout Right DAC Right Switch' off"
+ cset "name='Headphone Switch' off"
+]
--- /dev/null
+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"
+]
--- /dev/null
+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"
+]
--- /dev/null
+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"
+]
--- /dev/null
+# 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"
+]
--- /dev/null
+../../Qualcomm/qcs615/TALOS-EVK.conf
\ No newline at end of file