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 <stephan.gerhold@linaro.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
67628fb487
commit
4b748c14a0
3 changed files with 26 additions and 0 deletions
6
ucm2/Qualcomm/x1e80100/DEVKIT-HiFi.conf
Normal file
6
ucm2/Qualcomm/x1e80100/DEVKIT-HiFi.conf
Normal file
|
|
@ -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"
|
||||
19
ucm2/Qualcomm/x1e80100/X1E001DE-DEVKIT.conf
Normal file
19
ucm2/Qualcomm/x1e80100/X1E001DE-DEVKIT.conf
Normal file
|
|
@ -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"
|
||||
1
ucm2/conf.d/x1e80100/X1E001DE-DEVKIT.conf
Symbolic link
1
ucm2/conf.d/x1e80100/X1E001DE-DEVKIT.conf
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Qualcomm/x1e80100/X1E001DE-DEVKIT.conf
|
||||
Loading…
Add table
Add a link
Reference in a new issue