ASoC: fsl_sai: Add support for imx8qm
SAI module on imx8qm features a register map similar with imx6 series (it doesn't have VERID and PARAM registers at the beginning of address spece). Also, it has one FIFO which can help up to 64 * 32 bit samples. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Link: https://lore.kernel.org/r/20190814082911.665-2-daniel.baluta@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Родитель
c9cff337ea
Коммит
6eeb60be5e
|
@ -1031,12 +1031,19 @@ static const struct fsl_sai_soc_data fsl_sai_imx8mq_data = {
|
||||||
.reg_offset = 8,
|
.reg_offset = 8,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct fsl_sai_soc_data fsl_sai_imx8qm_data = {
|
||||||
|
.use_imx_pcm = true,
|
||||||
|
.fifo_depth = 64,
|
||||||
|
.reg_offset = 0,
|
||||||
|
};
|
||||||
|
|
||||||
static const struct of_device_id fsl_sai_ids[] = {
|
static const struct of_device_id fsl_sai_ids[] = {
|
||||||
{ .compatible = "fsl,vf610-sai", .data = &fsl_sai_vf610_data },
|
{ .compatible = "fsl,vf610-sai", .data = &fsl_sai_vf610_data },
|
||||||
{ .compatible = "fsl,imx6sx-sai", .data = &fsl_sai_imx6sx_data },
|
{ .compatible = "fsl,imx6sx-sai", .data = &fsl_sai_imx6sx_data },
|
||||||
{ .compatible = "fsl,imx6ul-sai", .data = &fsl_sai_imx6sx_data },
|
{ .compatible = "fsl,imx6ul-sai", .data = &fsl_sai_imx6sx_data },
|
||||||
{ .compatible = "fsl,imx7ulp-sai", .data = &fsl_sai_imx7ulp_data },
|
{ .compatible = "fsl,imx7ulp-sai", .data = &fsl_sai_imx7ulp_data },
|
||||||
{ .compatible = "fsl,imx8mq-sai", .data = &fsl_sai_imx8mq_data },
|
{ .compatible = "fsl,imx8mq-sai", .data = &fsl_sai_imx8mq_data },
|
||||||
|
{ .compatible = "fsl,imx8qm-sai", .data = &fsl_sai_imx8qm_data },
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, fsl_sai_ids);
|
MODULE_DEVICE_TABLE(of, fsl_sai_ids);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче