summaryrefslogtreecommitdiffstats
path: root/sound/soc/stm/Kconfig
diff options
context:
space:
mode:
authorArnaud Pouliquen <arnaud.pouliquen@st.com>2018-01-10 11:13:15 +0100
committerMark Brown <broonie@kernel.org>2018-01-10 11:52:05 +0100
commit55da094824c4ef1d50bc591733d79448d00265bb (patch)
tree03200b7774191dff4e8cb9097a47621d5834110a /sound/soc/stm/Kconfig
parentASoC: add bindings for stm32 DFSDM filter (diff)
downloadlinux-55da094824c4ef1d50bc591733d79448d00265bb.tar.xz
linux-55da094824c4ef1d50bc591733d79448d00265bb.zip
ASoC: stm32: add DFSDM DAI support
Add driver to handle DAI interface for PDM microphones connected to Digital Filter for Sigma Delta Modulators IP. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/stm/Kconfig')
-rw-r--r--sound/soc/stm/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/soc/stm/Kconfig b/sound/soc/stm/Kconfig
index 3398e6c57f37..a78f7700d489 100644
--- a/sound/soc/stm/Kconfig
+++ b/sound/soc/stm/Kconfig
@@ -28,4 +28,15 @@ config SND_SOC_STM32_SPDIFRX
help
Say Y if you want to enable S/PDIF capture for STM32
+config SND_SOC_STM32_DFSDM
+ tristate "SoC Audio support for STM32 DFSDM"
+ depends on (ARCH_STM32 && OF && STM32_DFSDM_ADC) || COMPILE_TEST
+ depends on SND_SOC
+ 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.
endmenu