Skip to content

Commit 087c744

Browse files
committed
ASoC: SOF: imx8: Add entries for new 8QM and 8QXP revisions
JIRA: https://issues.redhat.com/browse/RHEL-80682 commit a9f54c7 Author: Iuliana Prodan <iuliana.prodan@nxp.com> Date: Wed Jan 22 18:35:43 2025 +0200 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 <peter.ujfalusi@linux.intel.com> Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Link: https://patch.msgid.link/20250122163544.1392869-4-daniel.baluta@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Jaroslav Kysela <jkysela@redhat.com>
1 parent a955225 commit 087c744

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)