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 (mailing list archive)
State Accepted
Commit fc85d9d0b3ba8f8934963c760af98fc38029d9da
Headers show
Series ASoC: SOF: Add support for MICFIL PDM interface | expand

Commit Message

Daniel Baluta (OSS) 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,