]> git.alsa-project.org Git - alsa-ucm-conf.git/commit
ucm2: MediaTek: mt8390-evk: Add support for SOF
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Tue, 25 Feb 2025 18:10:49 +0000 (15:10 -0300)
committerJaroslav Kysela <perex@perex.cz>
Sat, 22 Mar 2025 17:52:48 +0000 (18:52 +0100)
commitf293b3149b8b370fed70eb83025410ddaee8a9cf
treef078c2c6d50039c5edf543d1743090d8f72a3cf3
parent28c5875e564a80b778ba375efddfef2b58d724a3
ucm2: MediaTek: mt8390-evk: Add support for SOF

Add support for MT8390 EVK with the SOF enabled. The only differences
compared to the UCM with SOF disabled is the device number for playback
and capture, which uses the PCMs for the SOF instead, and the number of
channels for capture, which is stereo rather than mono.

Define those parameters as variables for each case, with and without
SOF, and move the common intialization to an init.conf, so the UCM can
be shared by both.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/513
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/MediaTek/mt8390-evk/HiFi.conf
ucm2/MediaTek/mt8390-evk/init.conf [new file with mode: 0644]
ucm2/MediaTek/mt8390-evk/mt8390-evk.conf
ucm2/MediaTek/mt8390-evk/sof/sof-mt8390-evk.conf [new file with mode: 0644]
ucm2/conf.d/sof-mt8390-evk/sof-mt8390-evk.conf [new symlink]