Skip to content

Commit

Permalink
ASoC: SOF: imx8m: Add entry for new 8M Plus revision
Browse files Browse the repository at this point in the history
The new revision for 8M Plus has wm8962 codec instead of wm8960.
Therefore add new entry in sof_imx8mp_machs, an arry 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.

Signed-off-by: Iuliana Prodan <[email protected]>
Signed-off-by: Daniel Baluta <[email protected]>
Reviewed-by: Laurentiu Mihalcea <[email protected]>
  • Loading branch information
iuliana-prodan authored and dbaluta committed Jan 21, 2025
1 parent 6c826d3 commit 921dcec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sound/soc/sof/imx/imx8m.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,11 @@ static const struct snd_sof_dsp_ops sof_imx8m_ops = {
};

static struct snd_sof_of_mach sof_imx8mp_machs[] = {
{
.compatible = "fsl,imx8mp-evk-revb4",
.sof_tplg_filename = "sof-imx8mp-wm8962.tplg",
.drv_name = "asoc-audio-graph-card2",
},
{
.compatible = "fsl,imx8mp-evk",
.sof_tplg_filename = "sof-imx8mp-wm8960.tplg",
Expand Down

0 comments on commit 921dcec

Please sign in to comment.