ASoC: fsl_asrc: Add support for imx8qm & imx8qxp
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 4 Dec 2019 12:00:19 +0000 (20:00 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 14 Jan 2020 16:07:19 +0000 (16:07 +0000)
commitc05f10f28ef697aae8f1d82012d660af3cfc8cf9
treeb334f6c5c70fa9a0598d592d01c84065c4646fc6
parent8441f87eadf6d6bba542e7a5bf3888595248d888
ASoC: fsl_asrc: Add support for imx8qm & imx8qxp

There are two asrc module in imx8qm & imx8qxp, each module has
different clock configuration, and the DMA type is EDMA.

So in this patch, we define the new clocks, refine the clock map,
and include struct fsl_asrc_soc_data for different soc usage.

The EDMA channel is fixed with each dma request, one dma request
corresponding to one dma channel. So we need to request dma
channel with dma request of asrc module.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/f33dfe3157b5ab200e09ccbf9ab73d31fac6664b.1575452454.git.shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_asrc.c
sound/soc/fsl/fsl_asrc.h
sound/soc/fsl/fsl_asrc_dma.c