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:
Hiago De Franco 2024-10-10 13:32:22 -03:00 committed by Jaroslav Kysela
commit b8de123ae0
3 changed files with 36 additions and 0 deletions

View 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"
}
}

View 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%"
]

View file

@ -0,0 +1 @@
../../NXP/iMX8/Toradex/apalis-imx8/apalis-imx8.conf