]> git.alsa-project.org Git - alsa-ucm-conf.git/commit
UCM2: Intel: sof-hda-dsp: Control SOF processing from UCM
authorSeppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Thu, 30 May 2024 15:28:10 +0000 (18:28 +0300)
committerJaroslav Kysela <perex@perex.cz>
Fri, 31 May 2024 12:24:25 +0000 (14:24 +0200)
commitc476091a87a4cd43ad500f0f31baa4a8d35bd153
treee108f790ca0abbc4bab8fb135680800a20dff9ae
parentcebe6891da5f3b00062374227325ce7af855f5cd
UCM2: Intel: sof-hda-dsp: Control SOF processing from UCM

This patch adds to Intel/sof-hda-dsp/HiFi.conf inclusion of
HiFi-sof.conf that by redefine of headphone and speaker handling
adds to UCM control of DRC and EQ SOF processing components.

The modified setting are applied in case of SOF processing
components' controls are detected. There is no change to operation
if no controls are present e.g. with legacy SOF topology.

If DRC control is found, it is assumed that also FIR and IIR
also exist. If there is no DRC but FIR is found, then it is assumed
that IIR also exists. This matches SOF FW builds for IPC3 (FIR, IIR)
and IPC4 (DRC, FIR, IIR). The controls names are different in IPC3
and IPC4 topologies. Also the configuration blobs differ.

The speaker mode is by default set up with 100 Hz high-pass IIR. The
DRC is set to a default speaker setting that boosts playback loudness.
The FIR is bypassed.

In the headphone mode all the processing is set to bypass and DRC
switch is set off.

The processing can be customized for products with UCM scripts placed
into blobs/sof/product_configs. The file path should be
<sys_vendor>/<product_name>.conf from DMI ID. An user configuration can
be similarly placed into blobs/sof/user_configs directory to e.g. avoid
it being overwritten by distribution.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/419
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Intel/sof-hda-dsp/HiFi-sof.conf [new file with mode: 0644]
ucm2/Intel/sof-hda-dsp/HiFi.conf