]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: Qualcomm: add QCS6490 Thundercomm RubikPi3 HiFi config
authorHongyang Zhao <hongyang.zhao@thundersoft.com>
Mon, 30 Mar 2026 08:50:12 +0000 (16:50 +0800)
committerJaroslav Kysela <perex@perex.cz>
Tue, 31 Mar 2026 08:05:36 +0000 (10:05 +0200)
Add UCM2 configs for the QCS6490 Thundercomm RubikPi3 Board to handle:
- 3.5mm headset playback/capture
- HDMI playback

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/735
Signed-off-by: Hongyang Zhao <hongyang.zhao@thundersoft.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Qualcomm/qcs6490/QCS6490-Thundercomm-RubikPi3/HiFi.conf [new file with mode: 0644]
ucm2/Qualcomm/qcs6490/QCS6490-Thundercomm-RubikPi3/QCS6490-Thundercomm-RubikPi3.conf [new file with mode: 0644]
ucm2/conf.d/qcs6490/QCS6490-Thundercomm-RubikPi3.conf [new symlink]

diff --git a/ucm2/Qualcomm/qcs6490/QCS6490-Thundercomm-RubikPi3/HiFi.conf b/ucm2/Qualcomm/qcs6490/QCS6490-Thundercomm-RubikPi3/HiFi.conf
new file mode 100644 (file)
index 0000000..5281b2d
--- /dev/null
@@ -0,0 +1,53 @@
+SectionVerb {
+       Value {
+               TQ "HiFi"
+       }
+
+       EnableSequence [
+               cset "name='PRIMARY_MI2S_RX Audio Mixer MultiMedia1' 1"
+               cset "name='QUATERNARY_MI2S_RX Audio Mixer MultiMedia2' 1"
+               cset "name='MultiMedia3 Mixer PRIMARY_MI2S_TX' 1"
+       ]
+
+       DisableSequence [
+               cset "name='PRIMARY_MI2S_RX Audio Mixer MultiMedia1' 0"
+               cset "name='QUATERNARY_MI2S_RX Audio Mixer MultiMedia2' 0"
+               cset "name='MultiMedia3 Mixer PRIMARY_MI2S_TX' 0"
+       ]
+}
+
+SectionDevice."HDMI" {
+       Comment "HDMI Digital Stereo Output"
+
+       Value {
+               PlaybackPriority 100
+               PlaybackPCM "hw:${CardId},1"
+               PlaybackFormat "S32_LE"
+       }
+}
+
+SectionDevice."Headphones" {
+       Comment "Headphones playback"
+
+       Value {
+               PlaybackPriority 200
+               PlaybackPCM "hw:${CardId},0"
+               PlaybackMixerElem "HP Digital"
+               JackControl "Headset Jack"
+       }
+
+       EnableSequence [
+               cset "name='Headphone Playback Volume' 2"
+               cset "name='DAC Playback Volume' 192"
+       ]
+}
+
+SectionDevice."Mic" {
+       Comment "headset Mic"
+
+       Value {
+               CapturePriority 100
+               CapturePCM "hw:${CardId},2"
+               JackControl "Headset Jack"
+       }
+}
diff --git a/ucm2/Qualcomm/qcs6490/QCS6490-Thundercomm-RubikPi3/QCS6490-Thundercomm-RubikPi3.conf b/ucm2/Qualcomm/qcs6490/QCS6490-Thundercomm-RubikPi3/QCS6490-Thundercomm-RubikPi3.conf
new file mode 100644 (file)
index 0000000..6d012bc
--- /dev/null
@@ -0,0 +1,9 @@
+Syntax 4
+
+SectionUseCase."HiFi" {
+       File "/Qualcomm/qcs6490/QCS6490-Thundercomm-RubikPi3/HiFi.conf"
+       Comment "HiFi quality Music."
+}
+
+Include.card-init.File "/lib/card-init.conf"
+Include.ctl-remap.File "/lib/ctl-remap.conf"
diff --git a/ucm2/conf.d/qcs6490/QCS6490-Thundercomm-RubikPi3.conf b/ucm2/conf.d/qcs6490/QCS6490-Thundercomm-RubikPi3.conf
new file mode 120000 (symlink)
index 0000000..14cdd69
--- /dev/null
@@ -0,0 +1 @@
+../../Qualcomm/qcs6490/QCS6490-Thundercomm-RubikPi3/QCS6490-Thundercomm-RubikPi3.conf
\ No newline at end of file