xref: /openbmc/linux/sound/soc/stm/Kconfig (revision 03e4d5d5)
15561b66bSolivier moysanmenu "STMicroelectronics STM32 SOC audio support"
25561b66bSolivier moysan
35561b66bSolivier moysanconfig SND_SOC_STM32_SAI
45561b66bSolivier moysan	tristate "STM32 SAI interface (Serial Audio Interface) support"
53e086edfSolivier moysan	depends on ARCH_STM32 || COMPILE_TEST
63e086edfSolivier moysan	depends on SND_SOC
73e086edfSolivier moysan	select SND_SOC_GENERIC_DMAENGINE_PCM
83e086edfSolivier moysan	select REGMAP_MMIO
93e086edfSolivier moysan	help
105561b66bSolivier moysan	  Say Y if you want to enable SAI for STM32
115561b66bSolivier moysan
125561b66bSolivier moysanconfig SND_SOC_STM32_I2S
135561b66bSolivier moysan	tristate "STM32 I2S interface (SPI/I2S block) support"
145561b66bSolivier moysan	depends on ARCH_STM32 || COMPILE_TEST
155561b66bSolivier moysan	depends on SND_SOC
165561b66bSolivier moysan	select SND_SOC_GENERIC_DMAENGINE_PCM
175561b66bSolivier moysan	select REGMAP_MMIO
185561b66bSolivier moysan	help
195561b66bSolivier moysan	  Say Y if you want to enable I2S for STM32
205561b66bSolivier moysan
2103e4d5d5Solivier moysanconfig SND_SOC_STM32_SPDIFRX
2203e4d5d5Solivier moysan	tristate "STM32 S/PDIF receiver (SPDIFRX) support"
2303e4d5d5Solivier moysan	depends on ARCH_STM32 || COMPILE_TEST
2403e4d5d5Solivier moysan	depends on SND_SOC
2503e4d5d5Solivier moysan	select SND_SOC_GENERIC_DMAENGINE_PCM
2603e4d5d5Solivier moysan	select REGMAP_MMIO
2703e4d5d5Solivier moysan	select SND_SOC_SPDIF
2803e4d5d5Solivier moysan	help
2903e4d5d5Solivier moysan	  Say Y if you want to enable S/PDIF capture for STM32
3003e4d5d5Solivier moysan
315561b66bSolivier moysanendmenu
32