2019-05-19 15:07:45 +03:00
# SPDX-License-Identifier: GPL-2.0-only
2017-06-19 12:09:55 +03:00
menu "STMicroelectronics STM32 SOC audio support"
config SND_SOC_STM32_SAI
tristate "STM32 SAI interface (Serial Audio Interface) support"
2018-02-05 13:49:45 +03:00
depends on (ARCH_STM32 && OF) || COMPILE_TEST
2018-10-22 18:10:45 +03:00
depends on COMMON_CLK
2017-04-10 18:19:56 +03:00
depends on SND_SOC
select SND_SOC_GENERIC_DMAENGINE_PCM
select REGMAP_MMIO
2018-06-11 18:13:59 +03:00
select SND_PCM_IEC958
2017-04-10 18:19:56 +03:00
help
2017-06-19 12:09:55 +03:00
Say Y if you want to enable SAI for STM32
config SND_SOC_STM32_I2S
tristate "STM32 I2S interface (SPI/I2S block) support"
2018-02-05 13:49:45 +03:00
depends on (ARCH_STM32 && OF) || COMPILE_TEST
2020-11-16 20:51:32 +03:00
depends on COMMON_CLK
2017-06-19 12:09:55 +03:00
depends on SND_SOC
select SND_SOC_GENERIC_DMAENGINE_PCM
select REGMAP_MMIO
help
Say Y if you want to enable I2S for STM32
2017-06-20 12:58:47 +03:00
config SND_SOC_STM32_SPDIFRX
tristate "STM32 S/PDIF receiver (SPDIFRX) support"
2018-02-05 13:49:45 +03:00
depends on (ARCH_STM32 && OF) || COMPILE_TEST
2017-06-20 12:58:47 +03:00
depends on SND_SOC
select SND_SOC_GENERIC_DMAENGINE_PCM
select REGMAP_MMIO
select SND_SOC_SPDIF
help
Say Y if you want to enable S/PDIF capture for STM32
2018-01-10 13:13:15 +03:00
config SND_SOC_STM32_DFSDM
tristate "SoC Audio support for STM32 DFSDM"
2018-01-11 13:33:26 +03:00
depends on ARCH_STM32 || COMPILE_TEST
2018-01-10 13:13:15 +03:00
depends on SND_SOC
2018-01-11 13:33:26 +03:00
depends on STM32_DFSDM_ADC
2018-01-10 13:13:15 +03:00
select SND_SOC_GENERIC_DMAENGINE_PCM
select SND_SOC_DMIC
select IIO_BUFFER_CB
help
Select this option to enable the STM32 Digital Filter
for Sigma Delta Modulators (DFSDM) driver used
in various STM32 series for digital microphone capture.
2017-06-19 12:09:55 +03:00
endmenu