summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2023-11-09 15:58:59 +0200
committerMark Brown <broonie@kernel.org>2023-11-13 00:43:05 +0000
commitfc85d9d0b3ba8f8934963c760af98fc38029d9da (patch)
tree0b7594c7c5f6a1e3672909064556e721cae6a716
parentb85ea95d086471afb4ad062012a4d73cd328fa86 (diff)
downloadlinux-fc85d9d0b3ba8f8934963c760af98fc38029d9da.tar.gz
linux-fc85d9d0b3ba8f8934963c760af98fc38029d9da.tar.bz2
linux-fc85d9d0b3ba8f8934963c760af98fc38029d9da.zip
ASoC: SOF: imx8m: Add DAI driver entry for MICFIL PDM
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> Link: https://lore.kernel.org/r/20231109135900.88310-2-daniel.baluta@oss.nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/sof/imx/imx8m.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/sof/imx/imx8m.c b/sound/soc/sof/imx/imx8m.c
index 2680f061ba42..f088fd1a672b 100644
--- a/sound/soc/sof/imx/imx8m.c
+++ b/sound/soc/sof/imx/imx8m.c
@@ -313,6 +313,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,