18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_cimenu "STMicroelectronics STM32 SOC audio support" 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciconfig SND_SOC_STM32_SAI 58c2ecf20Sopenharmony_ci tristate "STM32 SAI interface (Serial Audio Interface) support" 68c2ecf20Sopenharmony_ci depends on (ARCH_STM32 && OF) || COMPILE_TEST 78c2ecf20Sopenharmony_ci depends on COMMON_CLK 88c2ecf20Sopenharmony_ci depends on SND_SOC 98c2ecf20Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 108c2ecf20Sopenharmony_ci select REGMAP_MMIO 118c2ecf20Sopenharmony_ci select SND_PCM_IEC958 128c2ecf20Sopenharmony_ci help 138c2ecf20Sopenharmony_ci Say Y if you want to enable SAI for STM32 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciconfig SND_SOC_STM32_I2S 168c2ecf20Sopenharmony_ci tristate "STM32 I2S interface (SPI/I2S block) support" 178c2ecf20Sopenharmony_ci depends on (ARCH_STM32 && OF) || COMPILE_TEST 188c2ecf20Sopenharmony_ci depends on SND_SOC 198c2ecf20Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 208c2ecf20Sopenharmony_ci select REGMAP_MMIO 218c2ecf20Sopenharmony_ci help 228c2ecf20Sopenharmony_ci Say Y if you want to enable I2S for STM32 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciconfig SND_SOC_STM32_SPDIFRX 258c2ecf20Sopenharmony_ci tristate "STM32 S/PDIF receiver (SPDIFRX) support" 268c2ecf20Sopenharmony_ci depends on (ARCH_STM32 && OF) || COMPILE_TEST 278c2ecf20Sopenharmony_ci depends on SND_SOC 288c2ecf20Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 298c2ecf20Sopenharmony_ci select REGMAP_MMIO 308c2ecf20Sopenharmony_ci select SND_SOC_SPDIF 318c2ecf20Sopenharmony_ci help 328c2ecf20Sopenharmony_ci Say Y if you want to enable S/PDIF capture for STM32 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ciconfig SND_SOC_STM32_DFSDM 358c2ecf20Sopenharmony_ci tristate "SoC Audio support for STM32 DFSDM" 368c2ecf20Sopenharmony_ci depends on ARCH_STM32 || COMPILE_TEST 378c2ecf20Sopenharmony_ci depends on SND_SOC 388c2ecf20Sopenharmony_ci depends on STM32_DFSDM_ADC 398c2ecf20Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 408c2ecf20Sopenharmony_ci select SND_SOC_DMIC 418c2ecf20Sopenharmony_ci select IIO_BUFFER_CB 428c2ecf20Sopenharmony_ci help 438c2ecf20Sopenharmony_ci Select this option to enable the STM32 Digital Filter 448c2ecf20Sopenharmony_ci for Sigma Delta Modulators (DFSDM) driver used 458c2ecf20Sopenharmony_ci in various STM32 series for digital microphone capture. 468c2ecf20Sopenharmony_ciendmenu 47