From: Frank Li <Frank.li@nxp.com>
To: Daniel Baluta <daniel.baluta@nxp.com>
Cc: robh@kernel.org, krzk+dt@kernel.org, broonie@kernel.org,
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,
Liam Girdwood <liam.r.girdwood@intel.com>,
Bard Liao <yung-chuan.liao@linux.intel.com>,
Iuliana Prodan <iuliana.prodan@nxp.com>,
Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Subject: Re: [PATCH 2/4] ASoC: SOF: imx: Add mach entry to select cs42888 topology
Date: Wed, 22 Jan 2025 14:55:10 -0500 [thread overview]
Message-ID: <Z5FNHnwvN+KeUrFY@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20250122163544.1392869-3-daniel.baluta@nxp.com>
On Wed, Jan 22, 2025 at 06:35:42PM +0200, Daniel Baluta wrote:
> After commit 2b9cdef13648 ("ASoC: SOF: imx: Add devicetree support
> to select topologies") we select topology to be used by the board
> compatible string in the dts.
I am confused. why not use "sof-imx8-cs42888.tplg" in imx8's dts instead
use board's compatible string "fsl,imx8qxp-mek-bb".
More and more boards will be added in future. This file will become bigger
and bigger!
Frank
>
> 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 <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: Iuliana Prodan <iuliana.prodan@nxp.com>
> Reviewed-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
> ---
> sound/soc/sof/imx/imx8.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/sound/soc/sof/imx/imx8.c b/sound/soc/sof/imx/imx8.c
> index 0b85b29d1067..d6117a3d4266 100644
> --- a/sound/soc/sof/imx/imx8.c
> +++ b/sound/soc/sof/imx/imx8.c
> @@ -611,6 +611,17 @@ 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-bb",
> + .sof_tplg_filename = "sof-imx8-cs42888.tplg",
> + .drv_name = "asoc-audio-graph-card2",
> + },
> + {
> + .compatible = "fsl,imx8qm-mek-bb",
> + .sof_tplg_filename = "sof-imx8-cs42888.tplg",
> + .drv_name = "asoc-audio-graph-card2",
> + },
> +
> {}
> };
>
> --
> 2.43.0
>
next prev parent reply other threads:[~2025-01-22 19:55 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 [this message]
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 ` [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=Z5FNHnwvN+KeUrFY@lizhi-Precision-Tower-5810 \
--to=frank.li@nxp.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=daniel.baluta@nxp.com \
--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