From: Daniel Baluta <daniel.baluta@nxp.com>
To: robh@kernel.org, krzk+dt@kernel.org, broonie@kernel.org
Cc: shawnguo@kernel.org, conor+dt@kernel.org, peng.fan@nxp.com,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
lgirdwood@gmail.com, peter.ujfalusi@linux.intel.com,
linux-sound@vger.kernel.org, imx@lists.linux.dev,
Iuliana Prodan <iuliana.prodan@nxp.com>,
Liam Girdwood <liam.r.girdwood@intel.com>,
Bard Liao <yung-chuan.liao@linux.intel.com>,
Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>,
Daniel Baluta <daniel.baluta@nxp.com>
Subject: [PATCH 3/4] ASoC: SOF: imx8: Add entries for new 8QM and 8QXP revisions
Date: Wed, 22 Jan 2025 18:35:43 +0200 [thread overview]
Message-ID: <20250122163544.1392869-4-daniel.baluta@nxp.com> (raw)
In-Reply-To: <20250122163544.1392869-1-daniel.baluta@nxp.com>
From: Iuliana Prodan <iuliana.prodan@nxp.com>
The new revisions for 8QM and 8QXP have wm8962 codec instead of wm8960.
Therefore add new entries in sof_imx8_machs, an array of snd_sof_of_mach,
where we describe topology name and driver name.
For the new revisions we have new compatible values and based on these,
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: Iuliana Prodan <iuliana.prodan@nxp.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
---
sound/soc/sof/imx/imx8.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/sound/soc/sof/imx/imx8.c b/sound/soc/sof/imx/imx8.c
index d6117a3d4266..3b418114e8d5 100644
--- a/sound/soc/sof/imx/imx8.c
+++ b/sound/soc/sof/imx/imx8.c
@@ -606,11 +606,21 @@ static struct snd_sof_of_mach sof_imx8_machs[] = {
.sof_tplg_filename = "sof-imx8-wm8960.tplg",
.drv_name = "asoc-audio-graph-card2",
},
+ {
+ .compatible = "fsl,imx8qxp-mek-wcpu",
+ .sof_tplg_filename = "sof-imx8-wm8962.tplg",
+ .drv_name = "asoc-audio-graph-card2",
+ },
{
.compatible = "fsl,imx8qm-mek",
.sof_tplg_filename = "sof-imx8-wm8960.tplg",
.drv_name = "asoc-audio-graph-card2",
},
+ {
+ .compatible = "fsl,imx8qm-mek-revd",
+ .sof_tplg_filename = "sof-imx8-wm8962.tplg",
+ .drv_name = "asoc-audio-graph-card2",
+ },
{
.compatible = "fsl,imx8qxp-mek-bb",
.sof_tplg_filename = "sof-imx8-cs42888.tplg",
--
2.43.0
next prev parent reply other threads:[~2025-01-22 16:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-22 16:35 [PATCH 0/4] Add SOF support for new board revisions Daniel Baluta
2025-01-22 16:35 ` [PATCH 1/4] dt-bindings: arm: imx: Add board revisions for i.MX8MP, i.MX8QM and i.MX8QXP Daniel Baluta
2025-01-24 8:25 ` Krzysztof Kozlowski
2025-01-22 16:35 ` [PATCH 2/4] ASoC: SOF: imx: Add mach entry to select cs42888 topology Daniel Baluta
2025-01-22 19:55 ` Frank Li
2025-01-23 9:38 ` Daniel Baluta
2025-01-23 15:38 ` Frank Li
2025-01-22 16:35 ` Daniel Baluta [this message]
2025-01-22 16:35 ` [PATCH 4/4] ASoC: SOF: imx8m: Add entry for new 8M Plus revision Daniel Baluta
2025-01-23 21:21 ` [PATCH 0/4] Add SOF support for new board revisions Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250122163544.1392869-4-daniel.baluta@nxp.com \
--to=daniel.baluta@nxp.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=imx@lists.linux.dev \
--cc=iuliana.prodan@nxp.com \
--cc=krzk+dt@kernel.org \
--cc=laurentiu.mihalcea@nxp.com \
--cc=lgirdwood@gmail.com \
--cc=liam.r.girdwood@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=peng.fan@nxp.com \
--cc=peter.ujfalusi@linux.intel.com \
--cc=robh@kernel.org \
--cc=shawnguo@kernel.org \
--cc=yung-chuan.liao@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox