ASoC: dmic: Add DSD big endian format support

Add DSD big endian format support in this generic dmic driver:
DSD_U16_BE and DSD_U32_BE.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/20250205062444.1694810-1-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Shengjiu Wang 2025-02-05 14:24:44 +08:00
parent 561c52ef15
commit eb9012764a

View File

@ -85,7 +85,9 @@ static struct snd_soc_dai_driver dmic_dai = {
| SNDRV_PCM_FMTBIT_S16_LE
| SNDRV_PCM_FMTBIT_DSD_U8
| SNDRV_PCM_FMTBIT_DSD_U16_LE
| SNDRV_PCM_FMTBIT_DSD_U32_LE,
| SNDRV_PCM_FMTBIT_DSD_U32_LE
| SNDRV_PCM_FMTBIT_DSD_U16_BE
| SNDRV_PCM_FMTBIT_DSD_U32_BE,
},
.ops = &dmic_dai_ops,
};