]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: Qualcomm: x1e80100: Add X1E001DE-DEVKIT configuration
authorStephan Gerhold <stephan.gerhold@linaro.org>
Wed, 25 Jun 2025 14:16:55 +0000 (16:16 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 23 Sep 2025 10:30:36 +0000 (12:30 +0200)
The X1E001DE Devkit needs basically the same audio configuration as the
X1E80100 CRD, so just include the HiFi.conf intended for the CRD. The only
difference is that there are no speakers connected to the pin header on the
mainboard by default, so remove the speakers from the available outputs.

If someone wants to connect speakers there they could drop the RemoveDevice
line after verifying that it works correctly for their speakers. At the
moment we do not have any way to automatically detect if there are speakers
connected or not.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/602
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Qualcomm/x1e80100/DEVKIT-HiFi.conf [new file with mode: 0644]
ucm2/Qualcomm/x1e80100/X1E001DE-DEVKIT.conf [new file with mode: 0644]
ucm2/conf.d/x1e80100/X1E001DE-DEVKIT.conf [new symlink]

diff --git a/ucm2/Qualcomm/x1e80100/DEVKIT-HiFi.conf b/ucm2/Qualcomm/x1e80100/DEVKIT-HiFi.conf
new file mode 100644 (file)
index 0000000..a3db3d0
--- /dev/null
@@ -0,0 +1,6 @@
+# Use case configuration for X1E001DE DEVKIT, same as CRD.
+Include.HiFi.File "HiFi.conf"
+
+# There are speaker pins available on the mainboard, but nothing is connected
+# there, so remove the Speaker device by default.
+RemoveDevice."Speaker" "Speaker"
diff --git a/ucm2/Qualcomm/x1e80100/X1E001DE-DEVKIT.conf b/ucm2/Qualcomm/x1e80100/X1E001DE-DEVKIT.conf
new file mode 100644 (file)
index 0000000..8b7c23e
--- /dev/null
@@ -0,0 +1,19 @@
+Syntax 4
+
+SectionUseCase."HiFi" {
+       File "/Qualcomm/x1e80100/DEVKIT-HiFi.conf"
+       Comment "HiFi quality Music."
+}
+
+BootSequence [
+       cset "name='HPHL Volume' 20"
+       cset "name='HPHR Volume' 20"
+       cset "name='ADC2 Volume' 10"
+]
+
+Include.card-init.File "/lib/card-init.conf"
+Include.ctl-remap.File "/lib/ctl-remap.conf"
+Include.wcd-init.File "/codecs/wcd938x/init.conf"
+Include.wsa-init.File "/codecs/wsa884x/four-speakers/init.conf"
+Include.wsam-init.File "/codecs/qcom-lpass/wsa-macro/four-speakers/init.conf"
+Include.rxm-init.File "/codecs/qcom-lpass/rx-macro/init.conf"
diff --git a/ucm2/conf.d/x1e80100/X1E001DE-DEVKIT.conf b/ucm2/conf.d/x1e80100/X1E001DE-DEVKIT.conf
new file mode 120000 (symlink)
index 0000000..d89d82b
--- /dev/null
@@ -0,0 +1 @@
+../../Qualcomm/x1e80100/X1E001DE-DEVKIT.conf
\ No newline at end of file