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 4/4] ASoC: SOF: imx8m: Add entry for new 8M Plus revision
Date: Wed, 22 Jan 2025 18:35:44 +0200 [thread overview]
Message-ID: <20250122163544.1392869-5-daniel.baluta@nxp.com> (raw)
In-Reply-To: <20250122163544.1392869-1-daniel.baluta@nxp.com>
From: Iuliana Prodan <iuliana.prodan@nxp.com>
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 <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: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
---
sound/soc/sof/imx/imx8m.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sound/soc/sof/imx/imx8m.c b/sound/soc/sof/imx/imx8m.c
index 4ab5814e9117..c63d64164e4b 100644
--- a/sound/soc/sof/imx/imx8m.c
+++ b/sound/soc/sof/imx/imx8m.c
@@ -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",
--
2.43.0
next prev parent reply other threads:[~2025-01-22 16:35 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 ` [PATCH 3/4] ASoC: SOF: imx8: Add entries for new 8QM and 8QXP revisions Daniel Baluta
2025-01-22 16:35 ` Daniel Baluta [this message]
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-5-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