diff mbox series

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

Message ID 20250122082928.1321536-1-daniel.baluta@nxp.com (mailing list archive)
State New
Headers show
Series [v2] ASoC: SOF: imx8m: add SAI2,5,6,7 | expand

Commit Message

Daniel Baluta Jan. 22, 2025, 8:29 a.m. UTC
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(+)

Comments

Iuliana Prodan Jan. 22, 2025, 8:55 a.m. UTC | #1
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 = {
diff mbox series

Patch

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 = {