~canonical-hwe-team/hwe-next/+git/sof:imx-stable-v2.4

Last commit made on 2023-04-11
Get this branch:
git clone -b imx-stable-v2.4 https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
imx-stable-v2.4
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

7de2294... by Iuliana Prodan <email address hidden>

imx: sai: enable transmitter to output MCLK

On i.MX8MP, the SAI MCLK is bound with TX enable bit.
Therefore, in order to enable MCLK, we need to enable
the transmitter.

This fixes a "wm8962 2-001a: DC servo timed out" -
a Linux Kernel error with wm8962 codec.

Signed-off-by: Laurentiu Mihalcea <email address hidden>
Signed-off-by: Iuliana Prodan <email address hidden>
(cherry picked from commit 1754bf97ec1fea02668629cfe916a7f2474c5d72)

2b556b5... by Iuliana Prodan <email address hidden>

topology: imx: Add topology file for i.MX8MP with wm8962 codec

Add new topology file for i.MX8MP with wm8962 codec.

Signed-off-by: Iuliana Prodan <email address hidden>
(cherry picked from commit ae0869fe2dc0e92599df68b5f5819d2896e76076)

4f551da... by Iuliana Prodan <email address hidden>

topology: imx: Combine topology files for i.MX8MP with different options

Combine topology files for i.MX8MP with different codecs and rate, by
using CODEC and RATE variables.
Based on CODEC use the proper DAI_CONFIG.

Signed-off-by: Iuliana Prodan <email address hidden>
(cherry picked from commit 7550fb7e35d77554fa1577250e394bcdbc674a8e)

f311d26... by Iuliana Prodan <email address hidden>

topology: imx: Add topology file for i.MX8QM with wm8962 codec

Add new topology file for i.MX8QM with wm8962 codec.

While here, use CODEC variable to differentiate between wm8960
and wm8962.

Signed-off-by: Iuliana Prodan <email address hidden>
(cherry picked from commit 6687c298f2645e12249a303bc4fc4091178292ad)

4359bdc... by Iuliana Prodan <email address hidden>

topology: imx: Rearrange topologies based on platform

Rearrange topologies based on platform type: imx8,
imx8mp and imx8ulp.

Signed-off-by: Iuliana Prodan <email address hidden>
(cherry picked from commit 0b1d10b099454ff9c5d2ea9e012520b88ba5561b)

42e0c3b... by Seppo Ingalsuo <email address hidden>

Audio: EQ FIR: Remove unused FIR processing functions

The unused single frame processing functions can be removed
to save code size.

Signed-off-by: Seppo Ingalsuo <email address hidden>
(cherry picked from commit 32fa4ed037f4252e9e32f9235f821ad52cd436fe)

c74972b... by Iuliana Prodan <email address hidden>

scripts: qemu-check.sh: update READY_IPC for imx8

Update READY_IPC value based on changes regarding
interrupt initialization.

Signed-off-by: Iuliana Prodan <email address hidden>

1cd5dd1... by Iuliana Prodan <email address hidden>

imx: fix GIP bits clear method

mx_mu_xsr_rmw() doesn't work correctly for w1c bits
because it reads the register and writes it back fully.
So, use imx_mu_write to clear pending interrupts from MU,
instead of imx_mu_xsr_rmw.

Using imx_mu_xsr_rmw might clear a pending interrupt that
was triggered while handling the current interrupt.

This fixes the case when fw boot confirmation and first
command are sent, from kernel, close to each other and
the command is missed.

Signed-off-by: Iuliana Prodan <email address hidden>
Signed-off-by: Daniel Baluta <email address hidden>

fb36120... by Iuliana Prodan <email address hidden>

imx: fix interrupt initialization

Fix interrupt initialization by:
- disable interrupt for DSP Core;
- disable interrupt from MU;
- clear pending interrupt from MU;
- clear pending interrupt for DSP Core;
- configure interrupt for DSP Core;
- enable interrupt from MU.

Signed-off-by: Iuliana Prodan <email address hidden>

ec94fd8... by Paul Olaru <email address hidden>

audio: eq_fir: Use a data blob validator to ensure invalid blobs don't stop playback

The validator is intended to verify everything that the regular
algorithm checks without changing the actual component state. If it
receives an invalid data blob, it is discarded and an error returned
from the set_config function (which propagates to sof-ctl tool in the
userspace, assuming the set_config function was called from there).

The validator is only called during playback, to avoid invalid
configuration in the topology preventing the topology from loading in
the first place.

Backported from: https://github.com/thesofproject/sof/pull/7129
Signed-off-by: Paul Olaru <email address hidden>
Signed-off-by: Daniel Baluta <email address hidden>