1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "STMicroelectronics STM32 SOC audio support"
4 config SND_SOC_STM32_SAI
5 tristate "STM32 SAI interface (Serial Audio Interface) support"
6 depends on (ARCH_STM32 && OF) || COMPILE_TEST
9 select SND_SOC_GENERIC_DMAENGINE_PCM
13 Say Y if you want to enable SAI for STM32
15 config SND_SOC_STM32_I2S
16 tristate "STM32 I2S interface (SPI/I2S block) support"
17 depends on (ARCH_STM32 && OF) || COMPILE_TEST
20 select SND_SOC_GENERIC_DMAENGINE_PCM
23 Say Y if you want to enable I2S for STM32
25 config SND_SOC_STM32_SPDIFRX
26 tristate "STM32 S/PDIF receiver (SPDIFRX) support"
27 depends on (ARCH_STM32 && OF) || COMPILE_TEST
29 select SND_SOC_GENERIC_DMAENGINE_PCM
33 Say Y if you want to enable S/PDIF capture for STM32
35 config SND_SOC_STM32_DFSDM
36 tristate "SoC Audio support for STM32 DFSDM"
37 depends on ARCH_STM32 || COMPILE_TEST
39 depends on STM32_DFSDM_ADC
40 select SND_SOC_GENERIC_DMAENGINE_PCM
44 Select this option to enable the STM32 Digital Filter
45 for Sigma Delta Modulators (DFSDM) driver used
46 in various STM32 series for digital microphone capture.