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>
--- /dev/null
+# 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"
+ }
+}
--- /dev/null
+# 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%"
+]
--- /dev/null
+../../NXP/iMX8/Toradex/apalis-imx8/apalis-imx8.conf
\ No newline at end of file