ASoC: stm32: Add SPDIFRX support
[sfrench/cifs-2.6.git] / sound / soc / stm / Kconfig
index 23600a5dd46f36d62af435f1be155e03c25f6e68..3398e6c57f37d3d05be0fbc962ea59c87e2cdb28 100644 (file)
@@ -18,4 +18,14 @@ config SND_SOC_STM32_I2S
        help
          Say Y if you want to enable I2S for STM32
 
+config SND_SOC_STM32_SPDIFRX
+       tristate "STM32 S/PDIF receiver (SPDIFRX) support"
+       depends on ARCH_STM32 || COMPILE_TEST
+       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
+
 endmenu