]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: IO-Boards: Toradex: aquila: add support
authorHiago De Franco <hiago.franco@toradex.com>
Mon, 10 Nov 2025 15:09:39 +0000 (12:09 -0300)
committerJaroslav Kysela <perex@perex.cz>
Fri, 5 Dec 2025 08:48:44 +0000 (09:48 +0100)
Add support for Toradex Aquila Development board, using the WM8904 audio
codec.

This is a carrier board for the Toradex Aquila family, where any Toradex
Aquila SoM 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/641
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/IO-Boards/Toradex/aquila/dev-HiFi.conf [new file with mode: 0644]
ucm2/IO-Boards/Toradex/aquila/dev.conf [new file with mode: 0644]
ucm2/conf.d/simple-card/aquila-wm8904.conf [new symlink]

diff --git a/ucm2/IO-Boards/Toradex/aquila/dev-HiFi.conf b/ucm2/IO-Boards/Toradex/aquila/dev-HiFi.conf
new file mode 100644 (file)
index 0000000..2d030c3
--- /dev/null
@@ -0,0 +1,39 @@
+# Use case configuration for Toradex Aquila Development Carrier Board
+# This is a carrier board for the Aquila family, where any Aquila SoM (with
+# different SoCs as AM69, iMX95...) 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"
+       }
+}
+
+SectionDevice."Mic" {
+       Comment "Microphone"
+
+       EnableSequence [
+               cset "name='Capture Switch' on"
+       ]
+
+       DisableSequence [
+               cset "name='Capture Switch' off"
+       ]
+
+       Value {
+               CapturePCM "hw:${CardId}"
+               CaptureVolume "Capture Volume"
+               CaptureSwitch "Capture Switch"
+       }
+}
diff --git a/ucm2/IO-Boards/Toradex/aquila/dev.conf b/ucm2/IO-Boards/Toradex/aquila/dev.conf
new file mode 100644 (file)
index 0000000..79bd67e
--- /dev/null
@@ -0,0 +1,17 @@
+# Use case configuration for Toradex Aquila Development Carrier Board
+# This is a carrier board for the Aquila family, where any Aquila SoM (with
+# different SoCs as AM69, iMX95...) can be connected to it.
+
+Syntax 4
+
+SectionUseCase."HiFi" {
+       File "/IO-Boards/Toradex/aquila/dev-HiFi.conf"
+       Comment "Default"
+}
+
+BootSequence [
+       cset "name='Headphone Volume' 50%"
+       cset "name='Left Capture Inverting Mux' 'IN1L'"
+       cset "name='Right Capture Inverting Mux' 'IN1R'"
+       cset "name='Capture Volume' 31"
+]
diff --git a/ucm2/conf.d/simple-card/aquila-wm8904.conf b/ucm2/conf.d/simple-card/aquila-wm8904.conf
new file mode 120000 (symlink)
index 0000000..d23374f
--- /dev/null
@@ -0,0 +1 @@
+../../IO-Boards/Toradex/aquila/dev.conf
\ No newline at end of file