Skip to content

Commit 9c80155

Browse files
committed
ASoC: SOF: imx8m: Add entry for new 8M Plus revision
JIRA: https://issues.redhat.com/browse/RHEL-80682 commit af65d7d Author: Iuliana Prodan <iuliana.prodan@nxp.com> Date: Wed Jan 22 18:35:44 2025 +0200 ASoC: SOF: imx8m: Add entry for new 8M Plus revision The new revision for 8M Plus has wm8962 codec instead of wm8960. Therefore add new entry in sof_imx8mp_machs, an array of snd_sof_of_mach, where we describe topology name and driver name. For the new revision we have new compatible value and based on this, 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: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Link: https://patch.msgid.link/20250122163544.1392869-5-daniel.baluta@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Jaroslav Kysela <jkysela@redhat.com>
1 parent 087c744 commit 9c80155

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sound/soc/sof/imx/imx8m.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,11 @@ static const struct snd_sof_dsp_ops sof_imx8m_ops = {
515515
};
516516

517517
static struct snd_sof_of_mach sof_imx8mp_machs[] = {
518+
{
519+
.compatible = "fsl,imx8mp-evk-revb4",
520+
.sof_tplg_filename = "sof-imx8mp-wm8962.tplg",
521+
.drv_name = "asoc-audio-graph-card2",
522+
},
518523
{
519524
.compatible = "fsl,imx8mp-evk",
520525
.sof_tplg_filename = "sof-imx8mp-wm8960.tplg",

0 commit comments

Comments
 (0)