Skip to content

Commit 4b748c1

Browse files
stephan-ghperexg
authored andcommitted
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: #602 Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
1 parent 67628fb commit 4b748c1

3 files changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Use case configuration for X1E001DE DEVKIT, same as CRD.
2+
Include.HiFi.File "HiFi.conf"
3+
4+
# There are speaker pins available on the mainboard, but nothing is connected
5+
# there, so remove the Speaker device by default.
6+
RemoveDevice."Speaker" "Speaker"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Syntax 4
2+
3+
SectionUseCase."HiFi" {
4+
File "/Qualcomm/x1e80100/DEVKIT-HiFi.conf"
5+
Comment "HiFi quality Music."
6+
}
7+
8+
BootSequence [
9+
cset "name='HPHL Volume' 20"
10+
cset "name='HPHR Volume' 20"
11+
cset "name='ADC2 Volume' 10"
12+
]
13+
14+
Include.card-init.File "/lib/card-init.conf"
15+
Include.ctl-remap.File "/lib/ctl-remap.conf"
16+
Include.wcd-init.File "/codecs/wcd938x/init.conf"
17+
Include.wsa-init.File "/codecs/wsa884x/four-speakers/init.conf"
18+
Include.wsam-init.File "/codecs/qcom-lpass/wsa-macro/four-speakers/init.conf"
19+
Include.rxm-init.File "/codecs/qcom-lpass/rx-macro/init.conf"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../Qualcomm/x1e80100/X1E001DE-DEVKIT.conf

0 commit comments

Comments
 (0)