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