From: Daniel Baluta <daniel.baluta@oss.nxp.com> To: broonie@kernel.org, robh+dt@kernel.org Cc: festevam@gmail.com, alsa-devel@alsa-project.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Paul Olaru <paul.olaru@nxp.com>, Daniel Baluta <daniel.baluta@nxp.com> Subject: [RESEND 1/4] ASoC: SOF: Rename i.MX8 platform to i.MX8X Date: Mon, 10 Feb 2020 11:58:14 +0200 [thread overview] Message-ID: <20200210095817.13226-2-daniel.baluta@oss.nxp.com> (raw) In-Reply-To: <20200210095817.13226-1-daniel.baluta@oss.nxp.com> From: Paul Olaru <paul.olaru@nxp.com> i.MX8 and i.MX8X platforms are very similar and were treated the same. Anyhow, we need to account for the differences somehow. Current supported platform is i.MX8QXP which is from i.MX8X family. Rename i.MX8 platform to i.MX8X to prepare for future i.MX8 platforms. Signed-off-by: Paul Olaru <paul.olaru@nxp.com> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> --- sound/soc/sof/imx/imx8.c | 10 +++++----- sound/soc/sof/sof-of-dev.c | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sound/soc/sof/imx/imx8.c b/sound/soc/sof/imx/imx8.c index b2556f5e2871..9ffc2a955e4f 100644 --- a/sound/soc/sof/imx/imx8.c +++ b/sound/soc/sof/imx/imx8.c @@ -138,7 +138,7 @@ static int imx8_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) /* * DSP control. */ -static int imx8_run(struct snd_sof_dev *sdev) +static int imx8x_run(struct snd_sof_dev *sdev) { struct imx8_priv *dsp_priv = (struct imx8_priv *)sdev->private; int ret; @@ -360,13 +360,13 @@ static struct snd_soc_dai_driver imx8_dai[] = { }, }; -/* i.MX8 ops */ -struct snd_sof_dsp_ops sof_imx8_ops = { +/* i.MX8X ops */ +struct snd_sof_dsp_ops sof_imx8x_ops = { /* probe and remove */ .probe = imx8_probe, .remove = imx8_remove, /* DSP core boot */ - .run = imx8_run, + .run = imx8x_run, /* Block IO */ .block_read = sof_block_read, @@ -398,6 +398,6 @@ struct snd_sof_dsp_ops sof_imx8_ops = { SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_NO_PERIOD_WAKEUP }; -EXPORT_SYMBOL(sof_imx8_ops); +EXPORT_SYMBOL(sof_imx8x_ops); MODULE_LICENSE("Dual BSD/GPL"); diff --git a/sound/soc/sof/sof-of-dev.c b/sound/soc/sof/sof-of-dev.c index 39ea8af6213f..2da1bd859d98 100644 --- a/sound/soc/sof/sof-of-dev.c +++ b/sound/soc/sof/sof-of-dev.c @@ -19,9 +19,9 @@ extern struct snd_sof_dsp_ops sof_imx8_ops; static struct sof_dev_desc sof_of_imx8qxp_desc = { .default_fw_path = "imx/sof", .default_tplg_path = "imx/sof-tplg", - .default_fw_filename = "sof-imx8.ri", + .default_fw_filename = "sof-imx8x.ri", .nocodec_tplg_filename = "sof-imx8-nocodec.tplg", - .ops = &sof_imx8_ops, + .ops = &sof_imx8x_ops, }; #endif -- 2.17.1
WARNING: multiple messages have this Message-ID (diff)
From: Daniel Baluta <daniel.baluta@oss.nxp.com> To: broonie@kernel.org, robh+dt@kernel.org Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Daniel Baluta <daniel.baluta@nxp.com>, linux-kernel@vger.kernel.org, Paul Olaru <paul.olaru@nxp.com>, linux-imx@nxp.com, festevam@gmail.com Subject: [alsa-devel] [RESEND 1/4] ASoC: SOF: Rename i.MX8 platform to i.MX8X Date: Mon, 10 Feb 2020 11:58:14 +0200 [thread overview] Message-ID: <20200210095817.13226-2-daniel.baluta@oss.nxp.com> (raw) In-Reply-To: <20200210095817.13226-1-daniel.baluta@oss.nxp.com> From: Paul Olaru <paul.olaru@nxp.com> i.MX8 and i.MX8X platforms are very similar and were treated the same. Anyhow, we need to account for the differences somehow. Current supported platform is i.MX8QXP which is from i.MX8X family. Rename i.MX8 platform to i.MX8X to prepare for future i.MX8 platforms. Signed-off-by: Paul Olaru <paul.olaru@nxp.com> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> --- sound/soc/sof/imx/imx8.c | 10 +++++----- sound/soc/sof/sof-of-dev.c | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sound/soc/sof/imx/imx8.c b/sound/soc/sof/imx/imx8.c index b2556f5e2871..9ffc2a955e4f 100644 --- a/sound/soc/sof/imx/imx8.c +++ b/sound/soc/sof/imx/imx8.c @@ -138,7 +138,7 @@ static int imx8_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) /* * DSP control. */ -static int imx8_run(struct snd_sof_dev *sdev) +static int imx8x_run(struct snd_sof_dev *sdev) { struct imx8_priv *dsp_priv = (struct imx8_priv *)sdev->private; int ret; @@ -360,13 +360,13 @@ static struct snd_soc_dai_driver imx8_dai[] = { }, }; -/* i.MX8 ops */ -struct snd_sof_dsp_ops sof_imx8_ops = { +/* i.MX8X ops */ +struct snd_sof_dsp_ops sof_imx8x_ops = { /* probe and remove */ .probe = imx8_probe, .remove = imx8_remove, /* DSP core boot */ - .run = imx8_run, + .run = imx8x_run, /* Block IO */ .block_read = sof_block_read, @@ -398,6 +398,6 @@ struct snd_sof_dsp_ops sof_imx8_ops = { SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_NO_PERIOD_WAKEUP }; -EXPORT_SYMBOL(sof_imx8_ops); +EXPORT_SYMBOL(sof_imx8x_ops); MODULE_LICENSE("Dual BSD/GPL"); diff --git a/sound/soc/sof/sof-of-dev.c b/sound/soc/sof/sof-of-dev.c index 39ea8af6213f..2da1bd859d98 100644 --- a/sound/soc/sof/sof-of-dev.c +++ b/sound/soc/sof/sof-of-dev.c @@ -19,9 +19,9 @@ extern struct snd_sof_dsp_ops sof_imx8_ops; static struct sof_dev_desc sof_of_imx8qxp_desc = { .default_fw_path = "imx/sof", .default_tplg_path = "imx/sof-tplg", - .default_fw_filename = "sof-imx8.ri", + .default_fw_filename = "sof-imx8x.ri", .nocodec_tplg_filename = "sof-imx8-nocodec.tplg", - .ops = &sof_imx8_ops, + .ops = &sof_imx8x_ops, }; #endif -- 2.17.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2020-02-10 9:58 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-02-10 9:58 [RESEND 0/4] Add a better separation between i.MX8 families Daniel Baluta 2020-02-10 9:58 ` [alsa-devel] " Daniel Baluta 2020-02-10 9:58 ` Daniel Baluta [this message] 2020-02-10 9:58 ` [alsa-devel] [RESEND 1/4] ASoC: SOF: Rename i.MX8 platform to i.MX8X Daniel Baluta 2020-02-11 15:49 ` Applied "ASoC: SOF: Rename i.MX8 platform to i.MX8X" to the asoc tree Mark Brown 2020-02-11 15:49 ` [alsa-devel] " Mark Brown 2020-02-10 9:58 ` [RESEND 2/4] ASoC: SOF: imx8: Add ops for i.MX8QM Daniel Baluta 2020-02-10 9:58 ` [alsa-devel] " Daniel Baluta 2020-02-11 15:49 ` Applied "ASoC: SOF: imx8: Add ops for i.MX8QM" to the asoc tree Mark Brown 2020-02-11 15:49 ` [alsa-devel] " Mark Brown 2020-02-10 9:58 ` [RESEND 3/4] ASoC: SOF: Add i.MX8QM device descriptor Daniel Baluta 2020-02-10 9:58 ` [alsa-devel] " Daniel Baluta 2020-02-11 15:49 ` Applied "ASoC: SOF: Add i.MX8QM device descriptor" to the asoc tree Mark Brown 2020-02-11 15:49 ` [alsa-devel] " Mark Brown 2020-02-10 9:58 ` [RESEND 4/4] dt-bindings: dsp: fsl: Add fsl,imx8qm-dsp entry Daniel Baluta 2020-02-10 9:58 ` [alsa-devel] [RESEND 4/4] dt-bindings: dsp: fsl: Add fsl, imx8qm-dsp entry Daniel Baluta 2020-02-19 22:14 ` [RESEND 4/4] dt-bindings: dsp: fsl: Add fsl,imx8qm-dsp entry Rob Herring 2020-02-19 22:14 ` Rob Herring 2020-03-12 21:16 ` Daniel Baluta 2020-03-12 21:16 ` Daniel Baluta 2020-02-10 14:23 ` [alsa-devel] [RESEND 0/4] Add a better separation between i.MX8 families Pierre-Louis Bossart 2020-02-10 14:23 ` Pierre-Louis Bossart
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=20200210095817.13226-2-daniel.baluta@oss.nxp.com \ --to=daniel.baluta@oss.nxp.com \ --cc=alsa-devel@alsa-project.org \ --cc=broonie@kernel.org \ --cc=daniel.baluta@nxp.com \ --cc=devicetree@vger.kernel.org \ --cc=festevam@gmail.com \ --cc=linux-imx@nxp.com \ --cc=linux-kernel@vger.kernel.org \ --cc=paul.olaru@nxp.com \ --cc=robh+dt@kernel.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.