Add UCM2 configs for the Qualcomm SM8650-MTP Board:
- on-board Speakers
Linux devicetree changes:
https://lore.kernel.org/all/
20240125-topic-sm8650-upstream-audio-dt-v1-2-
c24d23ae5763@linaro.org/
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/390
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
--- /dev/null
+SectionVerb {
+ EnableSequence [
+ cset "name='WSA_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 1"
+ ]
+
+ Include.wsae.File "/codecs/wsa884x/two-speakers/DefaultEnableSeq.conf"
+
+ Value {
+ TQ "HiFi"
+ }
+}
+
+SectionDevice."Speaker" {
+ Comment "Speaker playback"
+
+ Include.wcdspk1e.File "/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf"
+ Include.wcdspk1d.File "/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf"
+ Include.wsaspkd.File "/codecs/wsa884x/two-speakers/SpeakerSeq.conf"
+
+ Value {
+ PlaybackChannels 2
+ PlaybackPriority 100
+ PlaybackPCM "hw:${CardId},1"
+ PlaybackMixer "default:${CardId}"
+ }
+}
--- /dev/null
+Syntax 4
+
+SectionUseCase."HiFi" {
+ File "/Qualcomm/sm8650/MTP/HiFi.conf"
+ Comment "HiFi quality Music."
+}
+
+Include.card-init.File "/lib/card-init.conf"
+Include.ctl-remap.File "/lib/ctl-remap.conf"
+Include.codec-init.File "/codecs/wsa884x/two-speakers/init.conf"
+Include.codec-init.File "/codecs/qcom-lpass/wsa-macro/init.conf"
--- /dev/null
+../../Qualcomm/sm8650/MTP/SM8650-MTP.conf
\ No newline at end of file