Skip to content

Commit 9a0bad4

Browse files
committed
Add SOF support for new board revisions
Merge series from Daniel Baluta <[email protected]>: We introduce SOF support for new board revisions for i.MX8MP/QM/QXP which wrt audio they replace wm8960 codec with wm8962. Also add support for cs42888 codec on i.MX8QM/8QXP baseboard.
2 parents 6917192 + af65d7d commit 9a0bad4

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

Documentation/devicetree/bindings/arm/fsl.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,7 @@ properties:
10911091
- dmo,imx8mp-data-modul-edm-sbc # i.MX8MP eDM SBC
10921092
- emcraft,imx8mp-navqp # i.MX8MP Emcraft Systems NavQ+ Kit
10931093
- fsl,imx8mp-evk # i.MX8MP EVK Board
1094+
- fsl,imx8mp-evk-revb4 # i.MX8MP EVK Rev B4 Board
10941095
- gateworks,imx8mp-gw71xx-2x # i.MX8MP Gateworks Board
10951096
- gateworks,imx8mp-gw72xx-2x # i.MX8MP Gateworks Board
10961097
- gateworks,imx8mp-gw73xx-2x # i.MX8MP Gateworks Board
@@ -1262,6 +1263,7 @@ properties:
12621263
items:
12631264
- enum:
12641265
- fsl,imx8qm-mek # i.MX8QM MEK Board
1266+
- fsl,imx8qm-mek-revd # i.MX8QM MEK Rev D Board
12651267
- toradex,apalis-imx8 # Apalis iMX8 Modules
12661268
- toradex,apalis-imx8-v1.1 # Apalis iMX8 V1.1 Modules
12671269
- const: fsl,imx8qm
@@ -1290,6 +1292,7 @@ properties:
12901292
- enum:
12911293
- einfochips,imx8qxp-ai_ml # i.MX8QXP AI_ML Board
12921294
- fsl,imx8qxp-mek # i.MX8QXP MEK Board
1295+
- fsl,imx8qxp-mek-wcpu # i.MX8QXP MEK WCPU Board
12931296
- const: fsl,imx8qxp
12941297

12951298
- description: i.MX8DXL based Boards

sound/soc/sof/imx/imx8.c

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,11 +605,32 @@ static struct snd_sof_of_mach sof_imx8_machs[] = {
605605
.sof_tplg_filename = "sof-imx8-wm8960.tplg",
606606
.drv_name = "asoc-audio-graph-card2",
607607
},
608+
{
609+
.compatible = "fsl,imx8qxp-mek-wcpu",
610+
.sof_tplg_filename = "sof-imx8-wm8962.tplg",
611+
.drv_name = "asoc-audio-graph-card2",
612+
},
608613
{
609614
.compatible = "fsl,imx8qm-mek",
610615
.sof_tplg_filename = "sof-imx8-wm8960.tplg",
611616
.drv_name = "asoc-audio-graph-card2",
612617
},
618+
{
619+
.compatible = "fsl,imx8qm-mek-revd",
620+
.sof_tplg_filename = "sof-imx8-wm8962.tplg",
621+
.drv_name = "asoc-audio-graph-card2",
622+
},
623+
{
624+
.compatible = "fsl,imx8qxp-mek-bb",
625+
.sof_tplg_filename = "sof-imx8-cs42888.tplg",
626+
.drv_name = "asoc-audio-graph-card2",
627+
},
628+
{
629+
.compatible = "fsl,imx8qm-mek-bb",
630+
.sof_tplg_filename = "sof-imx8-cs42888.tplg",
631+
.drv_name = "asoc-audio-graph-card2",
632+
},
633+
613634
{}
614635
};
615636

sound/soc/sof/imx/imx8m.c

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

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

0 commit comments

Comments
 (0)