blob: 9b2681397dba72edfb283469c1a181961068f85c [file] [log] [blame]
olivier moysan5561b662017-06-19 11:09:55 +02001menu "STMicroelectronics STM32 SOC audio support"
2
3config SND_SOC_STM32_SAI
4 tristate "STM32 SAI interface (Serial Audio Interface) support"
Olivier Moysan276d70f2018-02-05 11:49:45 +01005 depends on (ARCH_STM32 && OF) || COMPILE_TEST
olivier moysan3e086ed2017-04-10 17:19:56 +02006 depends on SND_SOC
7 select SND_SOC_GENERIC_DMAENGINE_PCM
8 select REGMAP_MMIO
olivier moysan187e01d2018-06-11 17:13:59 +02009 select SND_PCM_IEC958
olivier moysan3e086ed2017-04-10 17:19:56 +020010 help
olivier moysan5561b662017-06-19 11:09:55 +020011 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"
Olivier Moysan276d70f2018-02-05 11:49:45 +010015 depends on (ARCH_STM32 && OF) || COMPILE_TEST
olivier moysan5561b662017-06-19 11:09:55 +020016 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
olivier moysan03e4d5d2017-06-20 11:58:47 +020022config SND_SOC_STM32_SPDIFRX
23 tristate "STM32 S/PDIF receiver (SPDIFRX) support"
Olivier Moysan276d70f2018-02-05 11:49:45 +010024 depends on (ARCH_STM32 && OF) || COMPILE_TEST
olivier moysan03e4d5d2017-06-20 11:58:47 +020025 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
Arnaud Pouliquen55da0942018-01-10 11:13:15 +010032config SND_SOC_STM32_DFSDM
33 tristate "SoC Audio support for STM32 DFSDM"
Arnd Bergmann9cee7972018-01-11 11:33:26 +010034 depends on ARCH_STM32 || COMPILE_TEST
Arnaud Pouliquen55da0942018-01-10 11:13:15 +010035 depends on SND_SOC
Arnd Bergmann9cee7972018-01-11 11:33:26 +010036 depends on STM32_DFSDM_ADC
Arnaud Pouliquen55da0942018-01-10 11:13:15 +010037 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.
olivier moysan5561b662017-06-19 11:09:55 +020044endmenu