162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_cimenu "STMicroelectronics STM32 SOC audio support" 362306a36Sopenharmony_ci 462306a36Sopenharmony_ciconfig SND_SOC_STM32_SAI 562306a36Sopenharmony_ci tristate "STM32 SAI interface (Serial Audio Interface) support" 662306a36Sopenharmony_ci depends on (ARCH_STM32 && OF) || COMPILE_TEST 762306a36Sopenharmony_ci depends on COMMON_CLK 862306a36Sopenharmony_ci depends on SND_SOC 962306a36Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 1062306a36Sopenharmony_ci select REGMAP_MMIO 1162306a36Sopenharmony_ci select SND_PCM_IEC958 1262306a36Sopenharmony_ci help 1362306a36Sopenharmony_ci Say Y if you want to enable SAI for STM32 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ciconfig SND_SOC_STM32_I2S 1662306a36Sopenharmony_ci tristate "STM32 I2S interface (SPI/I2S block) support" 1762306a36Sopenharmony_ci depends on (ARCH_STM32 && OF) || COMPILE_TEST 1862306a36Sopenharmony_ci depends on COMMON_CLK 1962306a36Sopenharmony_ci depends on SND_SOC 2062306a36Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 2162306a36Sopenharmony_ci select REGMAP_MMIO 2262306a36Sopenharmony_ci help 2362306a36Sopenharmony_ci Say Y if you want to enable I2S for STM32 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ciconfig SND_SOC_STM32_SPDIFRX 2662306a36Sopenharmony_ci tristate "STM32 S/PDIF receiver (SPDIFRX) support" 2762306a36Sopenharmony_ci depends on (ARCH_STM32 && OF) || COMPILE_TEST 2862306a36Sopenharmony_ci depends on SND_SOC 2962306a36Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 3062306a36Sopenharmony_ci select REGMAP_MMIO 3162306a36Sopenharmony_ci select SND_SOC_SPDIF 3262306a36Sopenharmony_ci help 3362306a36Sopenharmony_ci Say Y if you want to enable S/PDIF capture for STM32 3462306a36Sopenharmony_ci 3562306a36Sopenharmony_ciconfig SND_SOC_STM32_DFSDM 3662306a36Sopenharmony_ci tristate "SoC Audio support for STM32 DFSDM" 3762306a36Sopenharmony_ci depends on ARCH_STM32 || COMPILE_TEST 3862306a36Sopenharmony_ci depends on SND_SOC 3962306a36Sopenharmony_ci depends on STM32_DFSDM_ADC 4062306a36Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 4162306a36Sopenharmony_ci select SND_SOC_DMIC 4262306a36Sopenharmony_ci select IIO_BUFFER_CB 4362306a36Sopenharmony_ci help 4462306a36Sopenharmony_ci Select this option to enable the STM32 Digital Filter 4562306a36Sopenharmony_ci for Sigma Delta Modulators (DFSDM) driver used 4662306a36Sopenharmony_ci in various STM32 series for digital microphone capture. 4762306a36Sopenharmony_ciendmenu 48