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