Skip to content

Commit af65d7d

Browse files
iuliana-prodanbroonie
authored andcommitted
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 <[email protected]> Reviewed-by: Liam Girdwood <[email protected]> Reviewed-by: Bard Liao <[email protected]> Reviewed-by: Laurentiu Mihalcea <[email protected]> Signed-off-by: Daniel Baluta <[email protected]> Signed-off-by: Iuliana Prodan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent a9f54c7 commit af65d7d

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
@@ -471,6 +471,11 @@ static const struct snd_sof_dsp_ops sof_imx8m_ops = {
471471
};
472472

473473
static struct snd_sof_of_mach sof_imx8mp_machs[] = {
474+
{
475+
.compatible = "fsl,imx8mp-evk-revb4",
476+
.sof_tplg_filename = "sof-imx8mp-wm8962.tplg",
477+
.drv_name = "asoc-audio-graph-card2",
478+
},
474479
{
475480
.compatible = "fsl,imx8mp-evk",
476481
.sof_tplg_filename = "sof-imx8mp-wm8960.tplg",

0 commit comments

Comments
 (0)