xref: /linux/sound/soc/cirrus/Kconfig (revision 177bf8620cf4ed290ee170a6c5966adc0924b336)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "Cirrus Logic"
3
4config SND_EP93XX_SOC
5	tristate "SoC Audio support for the Cirrus Logic EP93xx series"
6	depends on ARCH_EP93XX || COMPILE_TEST
7	select SND_SOC_GENERIC_DMAENGINE_PCM
8	help
9	  Say Y or M if you want to add support for codecs attached to
10	  the EP93xx I2S or AC97 interfaces.
11
12config SND_EP93XX_SOC_I2S
13	tristate "I2S controller support for the Cirrus Logic EP93xx series"
14	depends on SND_EP93XX_SOC
15	help
16	  Say Y or M if you want to add support for codecs attached to
17	  the EP93xx I2S interface.
18
19if SND_EP93XX_SOC_I2S
20
21config SND_EP93XX_SOC_I2S_WATCHDOG
22	bool "IRQ based underflow watchdog workaround"
23	default y
24	help
25	  I2S controller on EP93xx seems to have undocumented HW issue.
26	  Underflow of internal I2S controller FIFO could confuse the
27	  state machine and the whole stream can be shifted by one byte
28	  until I2S is disabled. This option enables IRQ based watchdog
29	  which disables and re-enables I2S in case of underflow and
30	  fills FIFO with zeroes.
31
32	  If you are unsure how to answer this question, answer Y.
33
34endif # if SND_EP93XX_SOC_I2S
35
36endmenu
37