[PATCH] ASoC: SOF: imx8m: add SAI1 info

Daniel Baluta daniel.baluta at oss.nxp.com
Thu Sep 16 09:37:25 CEST 2021


From: Viorel Suman <viorel.suman at nxp.com>

Add SAI1 instance to imx8m_dai array.

Signed-off-by: Viorel Suman <viorel.suman at nxp.com>
Reviewed-by: Paul Olaru <paul.olaru at oss.nxp.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen at linux.intel.com>
---
 sound/soc/sof/imx/imx8m.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/sound/soc/sof/imx/imx8m.c b/sound/soc/sof/imx/imx8m.c
index b9f8a9e8cc3a..6dad87ed0bc8 100644
--- a/sound/soc/sof/imx/imx8m.c
+++ b/sound/soc/sof/imx/imx8m.c
@@ -253,6 +253,17 @@ static int imx8m_ipc_pcm_params(struct snd_sof_dev *sdev,
 }
 
 static struct snd_soc_dai_driver imx8m_dai[] = {
+{
+	.name = "sai1",
+	.playback = {
+		.channels_min = 1,
+		.channels_max = 32,
+	},
+	.capture = {
+		.channels_min = 1,
+		.channels_max = 32,
+	},
+},
 {
 	.name = "sai3",
 	.playback = {
-- 
2.27.0



More information about the Alsa-devel mailing list