Skip to content

Commit a9f54c7

Browse files
iuliana-prodanbroonie
authored andcommitted
ASoC: SOF: imx8: Add entries for new 8QM and 8QXP revisions
The new revisions for 8QM and 8QXP have wm8962 codec instead of wm8960. Therefore add new entries in sof_imx8_machs, an array of snd_sof_of_mach, where we describe topology name and driver name. For the new revisions we have new compatible values and based on these, we select the new topology file, for wm8962 codec. Reviewed-by: Peter Ujfalusi <[email protected]> Reviewed-by: Liam Girdwood <[email protected]> Reviewed-by: Bard Liao <[email protected]> Reviewed-by: Laurentiu Mihalcea <[email protected]> Signed-off-by: Iuliana Prodan <[email protected]> Signed-off-by: Daniel Baluta <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 6608479 commit a9f54c7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

sound/soc/sof/imx/imx8.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,11 +606,21 @@ static struct snd_sof_of_mach sof_imx8_machs[] = {
606606
.sof_tplg_filename = "sof-imx8-wm8960.tplg",
607607
.drv_name = "asoc-audio-graph-card2",
608608
},
609+
{
610+
.compatible = "fsl,imx8qxp-mek-wcpu",
611+
.sof_tplg_filename = "sof-imx8-wm8962.tplg",
612+
.drv_name = "asoc-audio-graph-card2",
613+
},
609614
{
610615
.compatible = "fsl,imx8qm-mek",
611616
.sof_tplg_filename = "sof-imx8-wm8960.tplg",
612617
.drv_name = "asoc-audio-graph-card2",
613618
},
619+
{
620+
.compatible = "fsl,imx8qm-mek-revd",
621+
.sof_tplg_filename = "sof-imx8-wm8962.tplg",
622+
.drv_name = "asoc-audio-graph-card2",
623+
},
614624
{
615625
.compatible = "fsl,imx8qxp-mek-bb",
616626
.sof_tplg_filename = "sof-imx8-cs42888.tplg",

0 commit comments

Comments
 (0)