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

Last commit made on 2022-03-07
Get this branch:
git clone -b imx-stable-v2.0 https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

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

Recent commits

79f5614... by Daniel Baluta <email address hidden>

audio_buffer: Allow NULL to be passed to buffer_free

This will allow users to pass NULL to buffer_free.

This fixes codec_adapter_free crash, where mod->local_buff is only
allocated when the module is prepared.

With dynamic pipelines we could have the situation where the pipeline
is created then SOF device enters suspend and pipeline is destroyed.

Thus we try to free unallocated mod->local_buf. Fix this by allowing
buffer_free to live free when receiving a NULL pointer.

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

2fb6c1f... by Guennadi Liakhovetski <email address hidden>

pipeline: silence timestamp failure complains

pipeline_get_timestamp() can fail to obtain a valid timestamp when
called during data copying on the same pipeline, because the
.walking flag will be set for some of the buffers in the pipeline.
That issue should be fixed, because in fact there's no reason to fail
there, but for now at least remove the excessively verbose warning.

Signed-off-by: Guennadi Liakhovetski <email address hidden>

6f5e5c4... by Daniel Baluta <email address hidden>

drivers: imx: esai/sai: Add .remove callback

With dynamic pipeline feature, pipelines are destroyed
when SOF device enters suspend and .remove callback is called in order
to free memory.

SAI/ESAI are missing this callback and the FW crashes. Fix this by
adding .remove callback.

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

96ee7ce... by Zhang Peng <email address hidden>

topology: Add sof-imx8ulp-9x9-btsco.m4 for imx8ulp

sof-imx8ulp-9x9-btsco.m4 is used to generate the topology
file used on imx8ulp 9x9 board.

Signed-off-by: Zhang Peng <email address hidden>

8dec9b1... by Zhang Peng <email address hidden>

drivers: edma: Set dmamux interruption according to hardware

SOF use sai6 on imx8ulp 9x9 board, use sai5 on imx8ulp board.
Modify for compatible with different imx8ulp boards.

Signed-off-by: Zhang Peng <email address hidden>

e603a3b... by Zhang Peng <email address hidden>

include: edma: Add IMX8ULP_DMAMUX2_SAI6 Tx and Rx

Add resource IMX8ULP_DMAMUX2_SAI6 tx and rx for sai6.

Signed-off-by: Zhang Peng <email address hidden>

93a8e7e... by Zhang Peng <email address hidden>

drivers: imx: sai: Calculate chan_idx on imx8ulp

Now SOF has sai5 and sai6 on imx8ulp, then need choose
proper chan_idx according to hardware.

Signed-off-by: Zhang Peng <email address hidden>

a986c2e... by Zhang Peng <email address hidden>

imx8ulp: dai: Add resource sai6

DSP connects to sai5 on the normal imx8ulp board(15x15). But on the
imx8ulp 9x9 board, DSP connects to sai6, add resource sai6, preparing
to bring up sof on the imx8ulp 9x9 board.

Signed-off-by: Zhang Peng <email address hidden>

5f07456... by Zhang Peng <email address hidden>

drivers: edma: Add EDMA_HS_GET/SET_DMAMUX_CFG

Add EDMA_HS_GET/SET_DMAMUX_CFG macros to get/set dmamux rx/tx irq.
This is for preparing support different imx8ulp board.

Modify on imx8 platform to suit this change.

Signed-off-by: Zhang Peng <email address hidden>

618926e... by Zhang Peng <email address hidden>

topology: 8ulp: Change sample rate to 8K

As changed SAI to 8Khz, then modify tplg file to
match this.

Signed-off-by: Zhang Peng <email address hidden>