~canonical-hwe-team/hwe-next/+git/sof:tgl-003-drop-stable

Last commit made on 2020-01-13
Get this branch:
git clone -b tgl-003-drop-stable https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
tgl-003-drop-stable
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

1bb517a... by Janusz Jankowski <email address hidden> on 2020-01-11

drivers: intel: mn: refactor mn_set_mclk

Refactor MCLK setting function into smaller parts.

Signed-off-by: Janusz Jankowski <email address hidden>

34a1df5... by Janusz Jankowski <email address hidden> on 2020-01-11

drivers: intel: mn: mclk sources

All MCLKs share the same source clock, so we need to track it
prevent case in which next SSP config would override source clock
for previous SSP config.

Signed-off-by: Janusz Jankowski <email address hidden>

fb14aac... by Janusz Jankowski <email address hidden> on 2020-01-11

platform: intel: dai: add MCLKs count

Change hardcoded MCLKs count to define.

Signed-off-by: Janusz Jankowski <email address hidden>

aceeb39... by Janusz Jankowski <email address hidden> on 2020-01-10

drivers: intel: mn: bclk sources

All BCLKs that use M/N share the same source clock, so we need to
track sources for each BCLK to prevent case in which next SSP config
would override source clock for previous SSP config.

Since cAVS 2.0, all clocks go through M/N, bypassing XTAL is
no longer supported.
For earlier version MN driver checks if XTAL can be used if it
would result in more efficient settings.
As a result it fixes ECS-related code for cAVS 2.0+ and is backwards
compatible with previous logic when there is only SSP0 used.
Previously topologies that used more than 1 SSP could override
source clock for previously configured SSP ports, now it will try
to use current clock with M/N or report error.

Signed-off-by: Janusz Jankowski <email address hidden>

7a59d68... by Janusz Jankowski <email address hidden> on 2020-01-10

drivers: intel: mn: spinlock for registers access

Single M/N register can manage multiple MCLKs BCLKs for mulitple
clients that's why access to them should be synchronized.

Signed-off-by: Janusz Jankowski <email address hidden>

4d58cf6... by Janusz Jankowski <email address hidden> on 2020-01-10

drivers: intel: ssp: move M/N to separate driver

Create M/N driver and move logic related to M/N driver
from SSP driver to it.

Signed-off-by: Janusz Jankowski <email address hidden>

e9a0359... by Janusz Jankowski <email address hidden> on 2020-01-10

trace: add mn class

Signed-off-by: Janusz Jankowski <email address hidden>

418c77e... by Tomasz Lauda <email address hidden> on 2020-01-09

ipc: use ipc_get() instead of global pointer

Uses ipc_get() to retrieve ipc structure pointer instead
of global pointer. This way we have one point of access
and avoid unnecessary cache accesses.

Signed-off-by: Tomasz Lauda <email address hidden>

04c9ac9... by Tomasz Lauda <email address hidden> on 2020-01-09

ipc: add structure getter

Adds getter to easily retrieve ipc structure
through one point of access.

Signed-off-by: Tomasz Lauda <email address hidden>

e57f8f0... by Tomasz Lauda <email address hidden> on 2020-01-08

dma: add DMA info to sof context

Adds DMA info to sof main context. Also implements
getter to easily retrieve the info through one point
of access.

Signed-off-by: Tomasz Lauda <email address hidden>