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
19 select SND_SOC_GENERIC_DMAENGINE_PCM
22 Say Y if you want to enable I2S for STM32
24 config SND_SOC_STM32_SPDIFRX
25 tristate "STM32 S/PDIF receiver (SPDIFRX) support"
26 depends on (ARCH_STM32 && OF) || COMPILE_TEST
28 select SND_SOC_GENERIC_DMAENGINE_PCM
32 Say Y if you want to enable S/PDIF capture for STM32
34 config SND_SOC_STM32_DFSDM
35 tristate "SoC Audio support for STM32 DFSDM"
36 depends on ARCH_STM32 || COMPILE_TEST
38 depends on STM32_DFSDM_ADC
39 select SND_SOC_GENERIC_DMAENGINE_PCM
43 Select this option to enable the STM32 Digital Filter
44 for Sigma Delta Modulators (DFSDM) driver used
45 in various STM32 series for digital microphone capture.