xref: /openbmc/linux/sound/soc/stm/Kconfig (revision cc1e6315)
1menu "STMicroelectronics STM32 SOC audio support"
2
3config SND_SOC_STM32_SAI
4	tristate "STM32 SAI interface (Serial Audio Interface) support"
5	depends on (ARCH_STM32 && OF) || COMPILE_TEST
6	depends on SND_SOC
7	select SND_SOC_GENERIC_DMAENGINE_PCM
8	select REGMAP_MMIO
9	select SND_PCM_IEC958
10	help
11	  Say Y if you want to enable SAI for STM32
12
13config SND_SOC_STM32_I2S
14	tristate "STM32 I2S interface (SPI/I2S block) support"
15	depends on (ARCH_STM32 && OF) || COMPILE_TEST
16	depends on SND_SOC
17	select SND_SOC_GENERIC_DMAENGINE_PCM
18	select REGMAP_MMIO
19	help
20	  Say Y if you want to enable I2S for STM32
21
22config SND_SOC_STM32_SPDIFRX
23	tristate "STM32 S/PDIF receiver (SPDIFRX) support"
24	depends on (ARCH_STM32 && OF) || COMPILE_TEST
25	depends on SND_SOC
26	select SND_SOC_GENERIC_DMAENGINE_PCM
27	select REGMAP_MMIO
28	select SND_SOC_SPDIF
29	help
30	  Say Y if you want to enable S/PDIF capture for STM32
31
32config SND_SOC_STM32_DFSDM
33	tristate "SoC Audio support for STM32 DFSDM"
34	depends on ARCH_STM32 || COMPILE_TEST
35	depends on SND_SOC
36	depends on STM32_DFSDM_ADC
37	select SND_SOC_GENERIC_DMAENGINE_PCM
38	select SND_SOC_DMIC
39	select IIO_BUFFER_CB
40	help
41	  Select this option to enable the STM32 Digital Filter
42	  for Sigma Delta Modulators (DFSDM) driver used
43	  in various STM32 series for digital microphone capture.
44endmenu
45