1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 25561b66bSolivier moysanmenu "STMicroelectronics STM32 SOC audio support" 35561b66bSolivier moysan 45561b66bSolivier moysanconfig SND_SOC_STM32_SAI 55561b66bSolivier moysan tristate "STM32 SAI interface (Serial Audio Interface) support" 6276d70f7SOlivier Moysan depends on (ARCH_STM32 && OF) || COMPILE_TEST 7e6d7942cSOlivier Moysan depends on COMMON_CLK 83e086edfSolivier moysan depends on SND_SOC 93e086edfSolivier moysan select SND_SOC_GENERIC_DMAENGINE_PCM 103e086edfSolivier moysan select REGMAP_MMIO 11187e01d0Solivier moysan select SND_PCM_IEC958 123e086edfSolivier moysan help 135561b66bSolivier moysan Say Y if you want to enable SAI for STM32 145561b66bSolivier moysan 155561b66bSolivier moysanconfig SND_SOC_STM32_I2S 165561b66bSolivier moysan tristate "STM32 I2S interface (SPI/I2S block) support" 17276d70f7SOlivier Moysan depends on (ARCH_STM32 && OF) || COMPILE_TEST 18*82ceffceSKrzysztof Kozlowski depends on COMMON_CLK 195561b66bSolivier moysan depends on SND_SOC 205561b66bSolivier moysan select SND_SOC_GENERIC_DMAENGINE_PCM 215561b66bSolivier moysan select REGMAP_MMIO 225561b66bSolivier moysan help 235561b66bSolivier moysan Say Y if you want to enable I2S for STM32 245561b66bSolivier moysan 2503e4d5d5Solivier moysanconfig SND_SOC_STM32_SPDIFRX 2603e4d5d5Solivier moysan tristate "STM32 S/PDIF receiver (SPDIFRX) support" 27276d70f7SOlivier Moysan depends on (ARCH_STM32 && OF) || COMPILE_TEST 2803e4d5d5Solivier moysan depends on SND_SOC 2903e4d5d5Solivier moysan select SND_SOC_GENERIC_DMAENGINE_PCM 3003e4d5d5Solivier moysan select REGMAP_MMIO 3103e4d5d5Solivier moysan select SND_SOC_SPDIF 3203e4d5d5Solivier moysan help 3303e4d5d5Solivier moysan Say Y if you want to enable S/PDIF capture for STM32 3403e4d5d5Solivier moysan 3555da0948SArnaud Pouliquenconfig SND_SOC_STM32_DFSDM 3655da0948SArnaud Pouliquen tristate "SoC Audio support for STM32 DFSDM" 379cee7972SArnd Bergmann depends on ARCH_STM32 || COMPILE_TEST 3855da0948SArnaud Pouliquen depends on SND_SOC 399cee7972SArnd Bergmann depends on STM32_DFSDM_ADC 4055da0948SArnaud Pouliquen select SND_SOC_GENERIC_DMAENGINE_PCM 4155da0948SArnaud Pouliquen select SND_SOC_DMIC 4255da0948SArnaud Pouliquen select IIO_BUFFER_CB 4355da0948SArnaud Pouliquen help 4455da0948SArnaud Pouliquen Select this option to enable the STM32 Digital Filter 4555da0948SArnaud Pouliquen for Sigma Delta Modulators (DFSDM) driver used 4655da0948SArnaud Pouliquen in various STM32 series for digital microphone capture. 475561b66bSolivier moysanendmenu 48