olivier moysan | 5561b66 | 2017-06-19 11:09:55 +0200 | [diff] [blame] | 1 | menu "STMicroelectronics STM32 SOC audio support" |
| 2 | |
| 3 | config SND_SOC_STM32_SAI |
| 4 | tristate "STM32 SAI interface (Serial Audio Interface) support" |
Olivier Moysan | 276d70f | 2018-02-05 11:49:45 +0100 | [diff] [blame] | 5 | depends on (ARCH_STM32 && OF) || COMPILE_TEST |
olivier moysan | 3e086ed | 2017-04-10 17:19:56 +0200 | [diff] [blame] | 6 | depends on SND_SOC |
| 7 | select SND_SOC_GENERIC_DMAENGINE_PCM |
| 8 | select REGMAP_MMIO |
olivier moysan | 187e01d | 2018-06-11 17:13:59 +0200 | [diff] [blame] | 9 | select SND_PCM_IEC958 |
olivier moysan | 3e086ed | 2017-04-10 17:19:56 +0200 | [diff] [blame] | 10 | help |
olivier moysan | 5561b66 | 2017-06-19 11:09:55 +0200 | [diff] [blame] | 11 | Say Y if you want to enable SAI for STM32 |
| 12 | |
| 13 | config SND_SOC_STM32_I2S |
| 14 | tristate "STM32 I2S interface (SPI/I2S block) support" |
Olivier Moysan | 276d70f | 2018-02-05 11:49:45 +0100 | [diff] [blame] | 15 | depends on (ARCH_STM32 && OF) || COMPILE_TEST |
olivier moysan | 5561b66 | 2017-06-19 11:09:55 +0200 | [diff] [blame] | 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 | |
olivier moysan | 03e4d5d | 2017-06-20 11:58:47 +0200 | [diff] [blame] | 22 | config SND_SOC_STM32_SPDIFRX |
| 23 | tristate "STM32 S/PDIF receiver (SPDIFRX) support" |
Olivier Moysan | 276d70f | 2018-02-05 11:49:45 +0100 | [diff] [blame] | 24 | depends on (ARCH_STM32 && OF) || COMPILE_TEST |
olivier moysan | 03e4d5d | 2017-06-20 11:58:47 +0200 | [diff] [blame] | 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 | |
Arnaud Pouliquen | 55da094 | 2018-01-10 11:13:15 +0100 | [diff] [blame] | 32 | config SND_SOC_STM32_DFSDM |
| 33 | tristate "SoC Audio support for STM32 DFSDM" |
Arnd Bergmann | 9cee797 | 2018-01-11 11:33:26 +0100 | [diff] [blame] | 34 | depends on ARCH_STM32 || COMPILE_TEST |
Arnaud Pouliquen | 55da094 | 2018-01-10 11:13:15 +0100 | [diff] [blame] | 35 | depends on SND_SOC |
Arnd Bergmann | 9cee797 | 2018-01-11 11:33:26 +0100 | [diff] [blame] | 36 | depends on STM32_DFSDM_ADC |
Arnaud Pouliquen | 55da094 | 2018-01-10 11:13:15 +0100 | [diff] [blame] | 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. |
olivier moysan | 5561b66 | 2017-06-19 11:09:55 +0200 | [diff] [blame] | 44 | endmenu |