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

From: Daniel Baluta
Date: Thu Nov 09 2023 - 08:59:27 EST


From: Daniel Baluta <daniel.baluta@xxxxxxx>

This will allow creating of PDM DAI links.

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

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,
--
2.25.1