]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit473f62d5c03527b3f3dc44c634644886443a8de3
treeb334f6c5c70fa9a0598d592d01c84065c4646fc6
parentde7384ebb2ecb0f1070f151bd0697847b89ae14e
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