Skip to content

Commit 6608479

Browse files
dbalutabroonie
authored andcommitted
ASoC: SOF: imx: Add mach entry to select cs42888 topology
After commit 2b9cdef ("ASoC: SOF: imx: Add devicetree support to select topologies") we select topology to be used by the board compatible string in the dts. Now that we have a way to know when the baseboard is installed, use the board compatible and select proper topology files when the cs42888 Audio IO card is used. Reviewed-by: Peter Ujfalusi <[email protected]> Reviewed-by: Liam Girdwood <[email protected]> Reviewed-by: Bard Liao <[email protected]> Reviewed-by: Iuliana Prodan <[email protected]> Reviewed-by: Laurentiu Mihalcea <[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 4b24c69 commit 6608479

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

sound/soc/sof/imx/imx8.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,17 @@ static struct snd_sof_of_mach sof_imx8_machs[] = {
611611
.sof_tplg_filename = "sof-imx8-wm8960.tplg",
612612
.drv_name = "asoc-audio-graph-card2",
613613
},
614+
{
615+
.compatible = "fsl,imx8qxp-mek-bb",
616+
.sof_tplg_filename = "sof-imx8-cs42888.tplg",
617+
.drv_name = "asoc-audio-graph-card2",
618+
},
619+
{
620+
.compatible = "fsl,imx8qm-mek-bb",
621+
.sof_tplg_filename = "sof-imx8-cs42888.tplg",
622+
.drv_name = "asoc-audio-graph-card2",
623+
},
624+
614625
{}
615626
};
616627

0 commit comments

Comments
 (0)