diff options
author | Daniel Baluta <daniel.baluta@nxp.com> | 2023-11-09 15:59:00 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-11-13 00:43:06 +0000 |
commit | 89ef42088b3ba884a007ad10bd89ce8a81b9dedd (patch) | |
tree | 4f50a02d4bf31520ec1aaf488ea479382823c004 /include/sound/sof/dai.h | |
parent | ASoC: SOF: imx8m: Add DAI driver entry for MICFIL PDM (diff) | |
download | wireguard-linux-89ef42088b3ba884a007ad10bd89ce8a81b9dedd.tar.xz wireguard-linux-89ef42088b3ba884a007ad10bd89ce8a81b9dedd.zip |
ASoC: SOF: Add support for configuring PDM interface from topology
Currently we only support configuration for number of channels and
sample rate.
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-3-daniel.baluta@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/sof/dai.h')
-rw-r--r-- | include/sound/sof/dai.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/sof/dai.h b/include/sound/sof/dai.h index 3041f5805b7b..4773a5f616a4 100644 --- a/include/sound/sof/dai.h +++ b/include/sound/sof/dai.h @@ -88,6 +88,7 @@ enum sof_ipc_dai_type { SOF_DAI_AMD_HS, /**< Amd HS */ SOF_DAI_AMD_SP_VIRTUAL, /**< AMD ACP SP VIRTUAL */ SOF_DAI_AMD_HS_VIRTUAL, /**< AMD ACP HS VIRTUAL */ + SOF_DAI_IMX_MICFIL, /** < i.MX MICFIL PDM */ }; /* general purpose DAI configuration */ @@ -117,6 +118,7 @@ struct sof_ipc_dai_config { struct sof_ipc_dai_acpdmic_params acpdmic; struct sof_ipc_dai_acp_params acphs; struct sof_ipc_dai_mtk_afe_params afe; + struct sof_ipc_dai_micfil_params micfil; }; } __packed; |