mirror of https://github.com/thesofproject/sof.git
1c191a20fd
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> |
||
---|---|---|
.. | ||
common | ||
m4 | ||
platform | ||
sof | ||
Makefile.am | ||
sof-apl-da7219.m4 | ||
sof-apl-dmic-2ch.m4 | ||
sof-apl-dmic-4ch.m4 | ||
sof-apl-eq-dmic.m4 | ||
sof-apl-eq-pcm512x.m4 | ||
sof-apl-nocodec.m4 | ||
sof-apl-pcm512x.m4 | ||
sof-apl-rt298.m4 | ||
sof-apl-src-pcm512x.m4 | ||
sof-apl-tdf8532.m4 | ||
sof-apl-wm8804.m4 | ||
sof-bdw-rt286.m4 | ||
sof-bdw-rt5640.m4 | ||
sof-byt-da7213.m4 | ||
sof-byt-nocodec.m4 | ||
sof-byt-rt5640.m4 | ||
sof-byt-rt5645.m4 | ||
sof-byt-rt5651.m4 | ||
sof-cht-max98090.m4 | ||
sof-cht-nocodec.m4 | ||
sof-cml-rt5682.m4 | ||
sof-cml-src-rt5682.m4 | ||
sof-cnl-nocodec.m4 | ||
sof-cnl-rt274.m4 | ||
sof-glk-da7219.m4 | ||
sof-glk-rt5682.m4 | ||
sof-hda-intel-common.m4 | ||
sof-hsw-rt5640.m4 | ||
sof-icl-dmic-4ch.m4 | ||
sof-icl-nocodec.m4 |