Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 menu "STMicroelectronics STM32 SOC audio support"
0003 
0004 config SND_SOC_STM32_SAI
0005         tristate "STM32 SAI interface (Serial Audio Interface) support"
0006         depends on (ARCH_STM32 && OF) || COMPILE_TEST
0007         depends on COMMON_CLK
0008         depends on SND_SOC
0009         select SND_SOC_GENERIC_DMAENGINE_PCM
0010         select REGMAP_MMIO
0011         select SND_PCM_IEC958
0012         help
0013           Say Y if you want to enable SAI for STM32
0014 
0015 config SND_SOC_STM32_I2S
0016         tristate "STM32 I2S interface (SPI/I2S block) support"
0017         depends on (ARCH_STM32 && OF) || COMPILE_TEST
0018         depends on COMMON_CLK
0019         depends on SND_SOC
0020         select SND_SOC_GENERIC_DMAENGINE_PCM
0021         select REGMAP_MMIO
0022         help
0023           Say Y if you want to enable I2S for STM32
0024 
0025 config SND_SOC_STM32_SPDIFRX
0026         tristate "STM32 S/PDIF receiver (SPDIFRX) support"
0027         depends on (ARCH_STM32 && OF) || COMPILE_TEST
0028         depends on SND_SOC
0029         select SND_SOC_GENERIC_DMAENGINE_PCM
0030         select REGMAP_MMIO
0031         select SND_SOC_SPDIF
0032         help
0033           Say Y if you want to enable S/PDIF capture for STM32
0034 
0035 config SND_SOC_STM32_DFSDM
0036         tristate "SoC Audio support for STM32 DFSDM"
0037         depends on ARCH_STM32 || COMPILE_TEST
0038         depends on SND_SOC
0039         depends on STM32_DFSDM_ADC
0040         select SND_SOC_GENERIC_DMAENGINE_PCM
0041         select SND_SOC_DMIC
0042         select IIO_BUFFER_CB
0043         help
0044           Select this option to enable the STM32 Digital Filter
0045           for Sigma Delta Modulators (DFSDM) driver used
0046           in various STM32 series for digital microphone capture.
0047 endmenu