From 4b748c14a095f8f5babf76c8ac4a95ec17f8df32 Mon Sep 17 00:00:00 2001 From: Stephan Gerhold Date: Wed, 25 Jun 2025 16:16:55 +0200 Subject: [PATCH] ucm2: Qualcomm: x1e80100: Add X1E001DE-DEVKIT configuration 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 Signed-off-by: Jaroslav Kysela --- ucm2/Qualcomm/x1e80100/DEVKIT-HiFi.conf | 6 ++++++ ucm2/Qualcomm/x1e80100/X1E001DE-DEVKIT.conf | 19 +++++++++++++++++++ ucm2/conf.d/x1e80100/X1E001DE-DEVKIT.conf | 1 + 3 files changed, 26 insertions(+) create mode 100644 ucm2/Qualcomm/x1e80100/DEVKIT-HiFi.conf create mode 100644 ucm2/Qualcomm/x1e80100/X1E001DE-DEVKIT.conf create mode 120000 ucm2/conf.d/x1e80100/X1E001DE-DEVKIT.conf diff --git a/ucm2/Qualcomm/x1e80100/DEVKIT-HiFi.conf b/ucm2/Qualcomm/x1e80100/DEVKIT-HiFi.conf new file mode 100644 index 0000000..a3db3d0 --- /dev/null +++ b/ucm2/Qualcomm/x1e80100/DEVKIT-HiFi.conf @@ -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 index 0000000..8b7c23e --- /dev/null +++ b/ucm2/Qualcomm/x1e80100/X1E001DE-DEVKIT.conf @@ -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 index 0000000..d89d82b --- /dev/null +++ b/ucm2/conf.d/x1e80100/X1E001DE-DEVKIT.conf @@ -0,0 +1 @@ +../../Qualcomm/x1e80100/X1E001DE-DEVKIT.conf \ No newline at end of file -- 2.47.1