topology: cml: Add topology support for da7219+max98357a variant
add the topology files for Cometlake
with Intel ASoC DMIC 4ch capture, HDMI1/2/3 playback
with analog codec da7219 on SSP0 for headphone playback/headset mic
with digital codec max98357a on SSP1 for speaker playback
Signed-off-by: Mac Chiang <email address hidden>
f82d9da...
by
Jaska Uimonen <email address hidden>
topology: add volume component to demux topology
Demux topology doesn't have format conversions so playback files need to
be converted to S24 or S32 format. As this is a bit cumbersome add
volume component to demux topology to enable standard 16 bit playback
from alsa. Also change the demux capture pipe PCM format range.
3293ab2...
by
ArturX Kloniecki <email address hidden>
MUX: Generic Mux component implementation.
Mux component implementation. Support for mux and demux operation
modes, channel routing and summation with saturation.
Mux component can operate in 2 modes:
demux - with single input stream and multiple output streams
(up to MUX_MAX_STREAMS)
mux - with multiple input streams and single output stream
It can also work with 1:1 I/O in both modes to act as
channel router / summator.
It is configured via binary blob specifying channel routing
using bitmasks.
In case of demux mode every output stream has an array of bitmasks,
one mask per channel, specifying which of the input channels should
be used to compose it.
Similarly for mux, each input stream has bitmask for each of it's
channels to specify to which output channel it contributes.
c1350a8...
by
ArturX Kloniecki <email address hidden>
pipeline: Limit propagation of params, prepare and reset.
In order to handle complex topologies, we need more precise control
over connected pipelines behaviour and propagation of events.
Better control is accomplished by limiting propagation of events in
case of mismatch between starting and desination pipelines that are
connected, for example when propagating from playback pipeline to branch
which endpoint is Host component, or reversely, when propagating from
capture pipeline to one with Dai endpoint.
1da3907...
by
Guennadi Liakhovetski <email address hidden>
dw-dma: revert recent changes for Baytrail
Two recent commits:
7275e422d86 ('dw-dma: handle interrupts per core')
433de9fb50c ('dw-dma: clear block/transfer irq after stop')
broke DW-DMA on Baytrail. Though they seem logical, they don't
produce the desired result on that platform. This patch restores the
original behaviour on BYT, CHT, BDW and HSW. It also eliminates the
redundant branch in the loop by replacing it with a simple mask to
restore the original IRQ processing order:
1. clear the source IRQ
2. clear the platform IRQ
3. call the callbacks