]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_sai: Add support multi fifo sdma script
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 23 Aug 2022 01:36:13 +0000 (09:36 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 23 Aug 2022 12:04:53 +0000 (13:04 +0100)
commitfd8c3a11f44398e72b25ac366ad28e02896d0846
tree3fa371eadcc8a46951ef7a2c79c93974da3ec1e5
parent8e18b27fb36bf1dfad85d6385b33a9326810b0ad
ASoC: fsl_sai: Add support multi fifo sdma script

With disabling combine mode, the multiple successive
FIFO registers or non successive FIFO registers of SAI module
can work with the sdma multi fifo script.

This patch is to configure the necessary information to
the SDMA engine driver for support multi fifo script.

'words_per_fifo' is the channels for each dataline
'n_fifos_src' and 'n_fifos_dst' are the fifo number
'stride_fifos_src' and 'stride_fifos_dst' are the stride
between enable FIFOs
'maxburst' is the multiply of datalines

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1661218573-2154-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c
sound/soc/fsl/fsl_sai.h