~canonical-hwe-team/hwe-next/+git/sof:imx-stable-v1.5

Last commit made on 2020-11-23
Get this branch:
git clone -b imx-stable-v1.5 https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

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

Recent commits

cc5ba33... by Daniel Baluta <email address hidden> on 2020-11-23

drivers: imx: sai: Use rate from topology

So far we only used topologies with rate set
to 48KHz. This is no longer true now when
we enabled KWD pipelines.

So, use rate from parameters passed from kernel.

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

2838017... by Daniel Baluta <email address hidden> on 2020-11-23

ipc: dai: Align sof_ipc_dai_sai_params with kernel

We add fsync_rate, bclk_rate because now we
actually need them.

Also, notice that mclk_rate was moved near the other rates
fields.

I think this was broken from the beginning but didn't
show up as a bug because SAI is used in consumer mode
and the clock is provided by the codec.

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

92c7652... by Daniel Baluta <email address hidden> on 2020-11-23

drivers: imx: sai: Add SAI private data

We allocate SAI private data to save config and
parameters and use them later.

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

639d197... by Daniel Baluta <email address hidden> on 2020-11-19

topology: Add keyword detect for i.MX8 with wm88960 codec

Use detect dest algorithm for kwd, SAI1 as DAI and wm8960 as capture
interface.

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

a6c3541... by Daniel Baluta <email address hidden> on 2020-11-19

topology: imx8: Add memory caps for i.MX8 platforms

This adds memory capabilities macros for different buffer
types on i.MX8.

Once we started to enable more complex pipelines
on i.MX8 we found out that we need these caps defined.

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

d49434c... by Daniel Baluta <email address hidden> on 2020-11-17

topology: imx8mp: Demonstrate mixer component with wm8960 codec

This works on i.MX8MP with wm8960 codec. Loading this topology will
create a sound card with two playback devices.

Samples pushed to the two subdevices will be mixed together and sent
to SAI3 connected to wm8960 codec on i.MX8MP board.

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

e97b0e0... by Daniel Baluta <email address hidden> on 2020-11-16

topology: imx8: Demonstrate mixer component with cs42888 codec

This work on i.MX8QXP/i.MX8QM with cs42888 codec found on Audio I/O
card board. Loading this topology will create a sound card with two
playback subdevices.

Samples pushed to the two subdevices are mixed and sent to ESAI0
and then to cs42888 codec.

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

6436ae2... by Daniel Baluta <email address hidden> on 2020-11-11

platform: imx: Fix PLATFORM_DCACHE_ALIGN

At this point PLATFORM_DCACHE_ALIGN is equal with DCACHE_LINE_SIZE
which on i.MX boards is 128.

Functions like rmalloc and rzalloc are allocating memory aligned at
PLATFORM_DCACHE_ALIGN bytes. This means that blocks under 128 bytes
are not really used and blocks sized > 128 are preffered for small
allocations.

This seems to be an unnecessary overhead which results in SOF not
being abel to allocate memory for simple pipelines (e.g simple
pipeline with a mixer).

For this reason, we set PLATFORM_DCACHE_ALIGN to a smaller value
(sizeof(void*)) but keep HEAP_BUF_ALIGNMENT unchanged.

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

7825cfd... by Daniel Baluta <email address hidden> on 2020-11-10

topology: imx8: Introduce topology demonstrating mixer component

This works with i.MX8QXP / i.MX8QM boards with wm8960 codecs. Loading
this component will create one sound card with two subdevices.

Samples pushed two the two subdevices are mixed and send to SAI1 and
then to wm8960 codec.

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

2b6df4d... by Pierre-Louis Bossart <email address hidden> on 2020-06-27

topology: introduce pipe-host-volume-playback

Add a new pipeline definition to avoid mucking with either
pipe-low-latency or pipe-media.

The code is 90% similar to pipeline-volume-playback but includes a
scheduling component.

Signed-off-by: Pierre-Louis Bossart <email address hidden>