summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_dsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/fsl/fsl_dsp.c')
-rw-r--r--sound/soc/fsl/fsl_dsp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_dsp.c b/sound/soc/fsl/fsl_dsp.c
index fa238834385b..63c11db54f04 100644
--- a/sound/soc/fsl/fsl_dsp.c
+++ b/sound/soc/fsl/fsl_dsp.c
@@ -792,6 +792,11 @@ static int fsl_dsp_probe(struct platform_device *pdev)
if (!dsp_priv)
return -ENOMEM;
+ if (of_device_is_compatible(np, "fsl,imx8qxp-dsp"))
+ dsp_priv->dsp_board_type = DSP_IMX8QXP_TYPE;
+ else
+ dsp_priv->dsp_board_type = DSP_IMX8QM_TYPE;
+
dsp_priv->dev = &pdev->dev;
/* Get the addresses and IRQ */
@@ -1059,6 +1064,7 @@ static const struct dev_pm_ops fsl_dsp_pm = {
static const struct of_device_id fsl_dsp_ids[] = {
{ .compatible = "fsl,imx8qxp-dsp", },
+ { .compatible = "fsl,imx8qm-dsp", },
{}
};
MODULE_DEVICE_TABLE(of, fsl_dsp_ids);