ucm2: NXP: iMX8: Toradex: apalis-imx8: Add support for
Add support for the Toradex Apalis iMX8 system on module, using the SGTL5000 audio codec. Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/448 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
99afcccce2
commit
b8de123ae0
3 changed files with 36 additions and 0 deletions
19
ucm2/NXP/iMX8/Toradex/apalis-imx8/HiFi.conf
Normal file
19
ucm2/NXP/iMX8/Toradex/apalis-imx8/HiFi.conf
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Use case configuration for Toradex Apalis iMX8
|
||||
|
||||
SectionDevice."Headphone" {
|
||||
Comment "Headphone"
|
||||
|
||||
EnableSequence [
|
||||
cset "name='Headphone Playback Switch' on"
|
||||
]
|
||||
|
||||
DisableSequence [
|
||||
cset "name='Headphone Playback Switch' off"
|
||||
]
|
||||
|
||||
Value {
|
||||
PlaybackPCM "hw:${CardId}"
|
||||
PlaybackVolume "Headphone Volume"
|
||||
PlaybackSwitch "Headphone Switch"
|
||||
}
|
||||
}
|
||||
16
ucm2/NXP/iMX8/Toradex/apalis-imx8/apalis-imx8.conf
Normal file
16
ucm2/NXP/iMX8/Toradex/apalis-imx8/apalis-imx8.conf
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Use case configuration for Toradex Apalis iMX8
|
||||
|
||||
Syntax 4
|
||||
|
||||
SectionUseCase."HiFi" {
|
||||
File "/Toradex/apalis-imx8/HiFi.conf"
|
||||
Comment "Default"
|
||||
}
|
||||
|
||||
BootSequence [
|
||||
cset "name='Headphone Playback Switch' on"
|
||||
cset "name='Headphone Playback Volume' 50%"
|
||||
|
||||
cset "name='Lineout Playback Switch' on"
|
||||
cset "name='Lineout Playback Volume' 50%"
|
||||
]
|
||||
1
ucm2/conf.d/simple-card/apalis-imx8.conf
Symbolic link
1
ucm2/conf.d/simple-card/apalis-imx8.conf
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../NXP/iMX8/Toradex/apalis-imx8/apalis-imx8.conf
|
||||
Loading…
Add table
Add a link
Reference in a new issue