sof/tools/topology
Seppo Ingalsuo 1c191a20fd DMIC: Enable capture from secondary FIFO
This patch enables the FIFO B in addition to previously supported
FIFO A. It allows in topology to use in pipelines the DMIC DAI
type with indices 0 and 1. The DAI instances can be operated with
different sample rate and different PCM format. The other
topology parameters for microphones need to be the same (number
of channels and enabled microphones). If the request via topology
differs for those parameters the latter request overrides the
first request. Typical usage for this added feature is to provide
compact 16 kHz / 16 bit capture version for speech in addition to
normal 48 kHz / 32 bit media quality audio capture.

The DMIC HW actually provides a bit more freedom for FIR/FIFO A/B
usage difference but all of that is not exposed yet via the
driver due to added complexity.

Some trace prints for DMIC parameters and used configuration are
modified to print shorter lines for easier reading. The print
order is adjusted to be more logical.

The patch modifies two topologies to showcase the feature. The
sof-apl-dmic-2ch/4ch topologies for APL nocodec machine driver
are changed to instantiate in addition PCM7 set for 16 kHz 16 bit
format in addition to earlier PCM6.

Note: The required change to pipe-passthrough-capture.m4 PCM
capability to enable other than 48 kHz rate is not done to not
break important test cases. Another PR addresses the PCM
capabilities and after it is merged allowing 16 kHz PCM for DMIC
capture can be done safely.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2019-01-31 20:41:24 +00:00
..
common Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
m4 topology: remove HDA_DAI_CONFIG and re-use DAI_CONFIG 2019-01-16 09:53:09 +00:00
platform topology: fix virtual widget warnings 2019-01-14 11:50:36 +00:00
sof Topology: Add volume control into SRC playback pipeline 2019-01-09 16:30:58 +00:00
Makefile.am topology: add cml topology with src supported 2019-01-31 20:39:31 +00:00
sof-apl-da7219.m4 topology: remove HDA_DAI_CONFIG and re-use DAI_CONFIG 2019-01-16 09:53:09 +00:00
sof-apl-dmic-2ch.m4 DMIC: Enable capture from secondary FIFO 2019-01-31 20:41:24 +00:00
sof-apl-dmic-4ch.m4 DMIC: Enable capture from secondary FIFO 2019-01-31 20:41:24 +00:00
sof-apl-eq-dmic.m4 Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
sof-apl-eq-pcm512x.m4 Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
sof-apl-nocodec.m4 topology: apl: nocodec config out of host GW DMAC channels 2018-12-13 17:18:16 +00:00
sof-apl-pcm512x.m4 topology: remove HDA_DAI_CONFIG and re-use DAI_CONFIG 2019-01-16 09:53:09 +00:00
sof-apl-rt298.m4 topology: remove HDA_DAI_CONFIG and re-use DAI_CONFIG 2019-01-16 09:53:09 +00:00
sof-apl-src-pcm512x.m4 topology: remove HDA_DAI_CONFIG and re-use DAI_CONFIG 2019-01-16 09:53:09 +00:00
sof-apl-tdf8532.m4 topology: modify virtual_widget definition 2018-11-27 00:08:53 -08:00
sof-apl-wm8804.m4 Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
sof-bdw-rt286.m4 topology: remove tone support 2019-01-31 20:26:44 +00:00
sof-bdw-rt5640.m4 topology: remove tone support 2019-01-31 20:26:44 +00:00
sof-byt-da7213.m4 topology: remove tone support 2019-01-31 20:26:44 +00:00
sof-byt-nocodec.m4 topology: remove tone support 2019-01-31 20:26:44 +00:00
sof-byt-rt5640.m4 topology: remove tone support 2019-01-31 20:26:44 +00:00
sof-byt-rt5645.m4 topology: remove tone support 2019-01-31 20:26:44 +00:00
sof-byt-rt5651.m4 topology: remove tone support 2019-01-31 20:26:44 +00:00
sof-cht-max98090.m4 topology: remove tone support 2019-01-31 20:26:44 +00:00
sof-cht-nocodec.m4 topology: remove tone support 2019-01-31 20:26:44 +00:00
sof-cml-rt5682.m4 topology: cml: update macros for HDA DAI's 2019-01-17 08:50:06 +00:00
sof-cml-src-rt5682.m4 topology: add cml topology with src supported 2019-01-31 20:39:31 +00:00
sof-cnl-nocodec.m4 add nocodec topology for CNL 2019-01-23 09:20:41 +00:00
sof-cnl-rt274.m4 topology: modify virtual_widget definition 2018-11-27 00:08:53 -08:00
sof-glk-da7219.m4 topology: remove HDA_DAI_CONFIG and re-use DAI_CONFIG 2019-01-16 09:53:09 +00:00
sof-glk-rt5682.m4 topology: remove HDA_DAI_CONFIG and re-use DAI_CONFIG 2019-01-16 09:53:09 +00:00
sof-hda-intel-common.m4 topology: hda: fix a hda bug when pipeline is in 24bit 2019-01-29 09:53:39 +00:00
sof-hsw-rt5640.m4 topology: remove tone support 2019-01-31 20:26:44 +00:00
sof-icl-dmic-4ch.m4 Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00
sof-icl-nocodec.m4 Move SOFT into sub folder for SOF merge 2018-11-24 23:27:24 -08:00