[PATCH v2] ASoC: SOF: imx8m: add SAI2,5,6,7

Daniel Baluta posted 1 patch 11 months ago
sound/soc/sof/imx/imx8m.c | 44 +++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
[PATCH v2] ASoC: SOF: imx8m: add SAI2,5,6,7
Posted by Daniel Baluta 11 months ago
From: Alexander Boehm <aboehm@eurofunk.com>

Added the remaining SAIs in addition to SAI1 and SAI3. There is no SAI4.

Signed-off-by: Alexander Boehm <aboehm@eurofunk.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
---
Changes since v1:
	- add my S-o-B since I'm picking this patch from
	  thesofproject/topic/sof-dev tree.

 sound/soc/sof/imx/imx8m.c | 44 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/sound/soc/sof/imx/imx8m.c b/sound/soc/sof/imx/imx8m.c
index ff42743efa79..4ab5814e9117 100644
--- a/sound/soc/sof/imx/imx8m.c
+++ b/sound/soc/sof/imx/imx8m.c
@@ -294,6 +294,17 @@ static struct snd_soc_dai_driver imx8m_dai[] = {
 		.channels_max = 32,
 	},
 },
+{
+	.name = "sai2",
+	.playback = {
+		.channels_min = 1,
+		.channels_max = 32,
+	},
+	.capture = {
+		.channels_min = 1,
+		.channels_max = 32,
+	},
+},
 {
 	.name = "sai3",
 	.playback = {
@@ -305,6 +316,39 @@ static struct snd_soc_dai_driver imx8m_dai[] = {
 		.channels_max = 32,
 	},
 },
+{
+	.name = "sai5",
+	.playback = {
+		.channels_min = 1,
+		.channels_max = 32,
+	},
+	.capture = {
+		.channels_min = 1,
+		.channels_max = 32,
+	},
+},
+{
+	.name = "sai6",
+	.playback = {
+		.channels_min = 1,
+		.channels_max = 32,
+	},
+	.capture = {
+		.channels_min = 1,
+		.channels_max = 32,
+	},
+},
+{
+	.name = "sai7",
+	.playback = {
+		.channels_min = 1,
+		.channels_max = 32,
+	},
+	.capture = {
+		.channels_min = 1,
+		.channels_max = 32,
+	},
+},
 {
 	.name = "micfil",
 	.capture = {
-- 
2.43.0
Re: [PATCH v2] ASoC: SOF: imx8m: add SAI2,5,6,7
Posted by Mark Brown 11 months ago
On Wed, 22 Jan 2025 10:29:27 +0200, Daniel Baluta wrote:
> Added the remaining SAIs in addition to SAI1 and SAI3. There is no SAI4.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: SOF: imx8m: add SAI2,5,6,7
      commit: b76b3ee5573fd6ff8761d82feb74d707eb2139ef

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
Re: [PATCH v2] ASoC: SOF: imx8m: add SAI2,5,6,7
Posted by Iuliana Prodan 11 months ago
On 1/22/2025 10:29 AM, Daniel Baluta wrote:
> From: Alexander Boehm <aboehm@eurofunk.com>
>
> Added the remaining SAIs in addition to SAI1 and SAI3. There is no SAI4.
>
> Signed-off-by: Alexander Boehm <aboehm@eurofunk.com>
> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>

Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>

Thanks,
Iulia

> ---
> Changes since v1:
> 	- add my S-o-B since I'm picking this patch from
> 	  thesofproject/topic/sof-dev tree.
>
>   sound/soc/sof/imx/imx8m.c | 44 +++++++++++++++++++++++++++++++++++++++
>   1 file changed, 44 insertions(+)
>
> diff --git a/sound/soc/sof/imx/imx8m.c b/sound/soc/sof/imx/imx8m.c
> index ff42743efa79..4ab5814e9117 100644
> --- a/sound/soc/sof/imx/imx8m.c
> +++ b/sound/soc/sof/imx/imx8m.c
> @@ -294,6 +294,17 @@ static struct snd_soc_dai_driver imx8m_dai[] = {
>   		.channels_max = 32,
>   	},
>   },
> +{
> +	.name = "sai2",
> +	.playback = {
> +		.channels_min = 1,
> +		.channels_max = 32,
> +	},
> +	.capture = {
> +		.channels_min = 1,
> +		.channels_max = 32,
> +	},
> +},
>   {
>   	.name = "sai3",
>   	.playback = {
> @@ -305,6 +316,39 @@ static struct snd_soc_dai_driver imx8m_dai[] = {
>   		.channels_max = 32,
>   	},
>   },
> +{
> +	.name = "sai5",
> +	.playback = {
> +		.channels_min = 1,
> +		.channels_max = 32,
> +	},
> +	.capture = {
> +		.channels_min = 1,
> +		.channels_max = 32,
> +	},
> +},
> +{
> +	.name = "sai6",
> +	.playback = {
> +		.channels_min = 1,
> +		.channels_max = 32,
> +	},
> +	.capture = {
> +		.channels_min = 1,
> +		.channels_max = 32,
> +	},
> +},
> +{
> +	.name = "sai7",
> +	.playback = {
> +		.channels_min = 1,
> +		.channels_max = 32,
> +	},
> +	.capture = {
> +		.channels_min = 1,
> +		.channels_max = 32,
> +	},
> +},
>   {
>   	.name = "micfil",
>   	.capture = {