]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: fsl_sai: Add DSD bit format support
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 17 Jun 2022 07:44:32 +0000 (15:44 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jun 2022 12:18:07 +0000 (13:18 +0100)
Support DSD_U8, DSD_U16_LE, DSD_U32_LE.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1655451877-16382-3-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.h

index bc2a86a413e1055104f6191a40b2e880b86160b9..e28a49ce12ef2819a8650d8c23715bc293adc892 100644 (file)
 #define FSL_SAI_FORMATS (SNDRV_PCM_FMTBIT_S16_LE |\
                         SNDRV_PCM_FMTBIT_S20_3LE |\
                         SNDRV_PCM_FMTBIT_S24_LE |\
-                        SNDRV_PCM_FMTBIT_S32_LE)
+                        SNDRV_PCM_FMTBIT_S32_LE |\
+                        SNDRV_PCM_FMTBIT_DSD_U8 |\
+                        SNDRV_PCM_FMTBIT_DSD_U16_LE |\
+                        SNDRV_PCM_FMTBIT_DSD_U32_LE)
 
 /* SAI Register Map Register */
 #define FSL_SAI_VERID  0x00 /* SAI Version ID Register */