From: Hiago De Franco Date: Thu, 10 Oct 2024 16:29:24 +0000 (-0300) Subject: ucm2: IO-Boards: Toradex: apalis: Add support for Toradex X-Git-Tag: v1.2.14~35 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=99afcccce2e822d9bedd7c6018161f05c3853087;p=alsa-ucm-conf.git ucm2: IO-Boards: Toradex: apalis: Add support for Toradex Add support for the Toradex Apalis Evaluation Board carrier board using the NAU8822 audio codec. This is a carrier board for the Apalis family, where any Apalis SoM (iMX8, iMX6...) can be connected to it, therefore this is being added to the IO-Boards instead of a specific hardware vendor. Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/448 Signed-off-by: Hiago De Franco Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/IO-Boards/Toradex/apalis/eval-HiFi.conf b/ucm2/IO-Boards/Toradex/apalis/eval-HiFi.conf new file mode 100644 index 0000000..09e0dd5 --- /dev/null +++ b/ucm2/IO-Boards/Toradex/apalis/eval-HiFi.conf @@ -0,0 +1,21 @@ +# Use case configuration for Toradex Apalis iMX8, Evaluation Board v1.2 +# This is a carrier board for the Apalis family, where any Apalis SoM (with +# different SoCs as iMX6, iMX8...) can be connected to it. + +SectionDevice."Headphones" { + Comment "Headphones" + + EnableSequence [ + cset "name='Headphone Switch' on" + ] + + DisableSequence [ + cset "name='Headphone Switch' off" + ] + + Value { + PlaybackPCM "hw:${CardId}" + PlaybackVolume "Headphone Volume" + PlaybackSwitch "Headphone Switch" + } +} diff --git a/ucm2/IO-Boards/Toradex/apalis/eval.conf b/ucm2/IO-Boards/Toradex/apalis/eval.conf new file mode 100644 index 0000000..642e7a9 --- /dev/null +++ b/ucm2/IO-Boards/Toradex/apalis/eval.conf @@ -0,0 +1,14 @@ +# Use case configuration for Toradex Apalis iMX8, Evaluation Board v1.2 +# This is a carrier board for the Apalis family, where any Apalis SoM (with +# different SoCs as iMX6, iMX8...) can be connected to it. + +Syntax 4 + +SectionUseCase."HiFi" { + File "/IO-Boards/Toradex/apalis/eval-HiFi.conf" + Comment "Default" +} + +BootSequence [ + cset "name='Headphone Volume' 50%" +] diff --git a/ucm2/conf.d/simple-card/apalis-nau8822.conf b/ucm2/conf.d/simple-card/apalis-nau8822.conf new file mode 120000 index 0000000..64f8fd1 --- /dev/null +++ b/ucm2/conf.d/simple-card/apalis-nau8822.conf @@ -0,0 +1 @@ +../../IO-Boards/Toradex/apalis/eval.conf \ No newline at end of file