diff mbox series

[1/2] ASoC: SOF: imx8m: Add DAI driver entry for MICFIL PDM

Message ID 20231109135900.88310-2-daniel.baluta@oss.nxp.com
State New
Headers show
Series [1/2] ASoC: SOF: imx8m: Add DAI driver entry for MICFIL PDM | expand

Commit Message

Daniel Baluta Nov. 9, 2023, 1:58 p.m. UTC
From: Daniel Baluta <daniel.baluta@nxp.com>

This will allow creating of PDM DAI links.

Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
---
 sound/soc/sof/imx/imx8m.c | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/sound/soc/sof/imx/imx8m.c b/sound/soc/sof/imx/imx8m.c
index cc748838e0e2..190730d5ca07 100644
--- a/sound/soc/sof/imx/imx8m.c
+++ b/sound/soc/sof/imx/imx8m.c
@@ -357,6 +357,13 @@  static struct snd_soc_dai_driver imx8m_dai[] = {
 		.channels_max = 32,
 	},
 },
+{
+	.name = "micfil",
+	.capture = {
+		.channels_min = 1,
+		.channels_max = 8,
+	},
+},
 };
 
 static int imx8m_dsp_set_power_state(struct snd_sof_dev *sdev,