]> 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)
commitf92154a318162b66e977cfbfc1489a6667bc8770
tree3fa371eadcc8a46951ef7a2c79c93974da3ec1e5
parent1d380a47ea681db06c916bcb2d548d442f768eea
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