2019-05-19 13:07:45 +01:00
# SPDX-License-Identifier: GPL-2.0-only
2017-06-19 11:09:55 +02:00
menu "STMicroelectronics STM32 SOC audio support"
config SND_SOC_STM32_SAI
tristate "STM32 SAI interface (Serial Audio Interface) support"
2018-02-05 11:49:45 +01:00
depends on (ARCH_STM32 && OF) || COMPILE_TEST
2018-10-22 17:10:45 +02:00
depends on COMMON_CLK
2017-04-10 17:19:56 +02:00
depends on SND_SOC
select SND_SOC_GENERIC_DMAENGINE_PCM
select REGMAP_MMIO
2018-06-11 17:13:59 +02:00
select SND_PCM_IEC958
2017-04-10 17:19:56 +02:00
help
2017-06-19 11:09:55 +02: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 11:49:45 +01:00
depends on (ARCH_STM32 && OF) || COMPILE_TEST
2017-06-19 11:09:55 +02: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 11:58:47 +02:00
config SND_SOC_STM32_SPDIFRX
tristate "STM32 S/PDIF receiver (SPDIFRX) support"
2018-02-05 11:49:45 +01:00
depends on (ARCH_STM32 && OF) || COMPILE_TEST
2017-06-20 11:58:47 +02: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 11:13:15 +01:00
config SND_SOC_STM32_DFSDM
tristate "SoC Audio support for STM32 DFSDM"
2018-01-11 11:33:26 +01:00
depends on ARCH_STM32 || COMPILE_TEST
2018-01-10 11:13:15 +01:00
depends on SND_SOC
2018-01-11 11:33:26 +01:00
depends on STM32_DFSDM_ADC
2018-01-10 11:13:15 +01: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 11:09:55 +02:00
endmenu