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