Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03e4d5d5 authored by olivier moysan's avatar olivier moysan Committed by Mark Brown
Browse files

ASoC: stm32: Add SPDIFRX support



Add SPDIFRX support to STM32.

Signed-off-by: default avatarolivier moysan <olivier.moysan@st.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 0507cb02
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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
+4 −0
Original line number Diff line number Diff line
@@ -8,3 +8,7 @@ obj-$(CONFIG_SND_SOC_STM32_SAI) += snd-soc-stm32-sai.o
# I2S
snd-soc-stm32-i2s-objs := stm32_i2s.o
obj-$(CONFIG_SND_SOC_STM32_I2S) += snd-soc-stm32-i2s.o

# SPDIFRX
snd-soc-stm32-spdifrx-objs := stm32_spdifrx.o
obj-$(CONFIG_SND_SOC_STM32_SPDIFRX) += snd-soc-stm32-spdifrx.o
+998 −0

File added.

Preview size limit exceeded, changes collapsed.