1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 20ed275efSAlexander Shiyanconfig SND_EP93XX_SOC 30ed275efSAlexander Shiyan tristate "SoC Audio support for the Cirrus Logic EP93xx series" 417cb37aaSAlexander Shiyan depends on ARCH_EP93XX || COMPILE_TEST 5e27e8a60SLars-Peter Clausen select SND_SOC_GENERIC_DMAENGINE_PCM 60ed275efSAlexander Shiyan help 70ed275efSAlexander Shiyan Say Y or M if you want to add support for codecs attached to 80ed275efSAlexander Shiyan the EP93xx I2S or AC97 interfaces. 90ed275efSAlexander Shiyan 100ed275efSAlexander Shiyanconfig SND_EP93XX_SOC_I2S 11*24f934beSAlexander Sverdlin tristate "I2S controller support for the Cirrus Logic EP93xx series" 12*24f934beSAlexander Sverdlin depends on SND_EP93XX_SOC 13*24f934beSAlexander Sverdlin help 14*24f934beSAlexander Sverdlin Say Y or M if you want to add support for codecs attached to 15*24f934beSAlexander Sverdlin the EP93xx I2S interface. 160ed275efSAlexander Shiyan 1798e1241cSAlexander Sverdlinif SND_EP93XX_SOC_I2S 1898e1241cSAlexander Sverdlin 1998e1241cSAlexander Sverdlinconfig SND_EP93XX_SOC_I2S_WATCHDOG 2098e1241cSAlexander Sverdlin bool "IRQ based underflow watchdog workaround" 2198e1241cSAlexander Sverdlin default y 2298e1241cSAlexander Sverdlin help 2398e1241cSAlexander Sverdlin I2S controller on EP93xx seems to have undocumented HW issue. 2498e1241cSAlexander Sverdlin Underflow of internal I2S controller FIFO could confuse the 2598e1241cSAlexander Sverdlin state machine and the whole stream can be shifted by one byte 2698e1241cSAlexander Sverdlin until I2S is disabled. This option enables IRQ based watchdog 2798e1241cSAlexander Sverdlin which disables and re-enables I2S in case of underflow and 2898e1241cSAlexander Sverdlin fills FIFO with zeroes. 2998e1241cSAlexander Sverdlin 3098e1241cSAlexander Sverdlin If you are unsure how to answer this question, answer Y. 3198e1241cSAlexander Sverdlin 3298e1241cSAlexander Sverdlinendif # if SND_EP93XX_SOC_I2S 3398e1241cSAlexander Sverdlin 34