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 340ed275efSAlexander Shiyanconfig SND_EP93XX_SOC_EDB93XX 350ed275efSAlexander Shiyan tristate "SoC Audio support for Cirrus Logic EDB93xx boards" 360ed275efSAlexander Shiyan depends on SND_EP93XX_SOC && (MACH_EDB9301 || MACH_EDB9302 || MACH_EDB9302A || MACH_EDB9307A || MACH_EDB9315A) 370ed275efSAlexander Shiyan select SND_EP93XX_SOC_I2S 38c973b8a7SAxel Lin select SND_SOC_CS4271_I2C if I2C 39c973b8a7SAxel Lin select SND_SOC_CS4271_SPI if SPI_MASTER 400ed275efSAlexander Shiyan help 410ed275efSAlexander Shiyan Say Y or M here if you want to add support for I2S audio on the 420ed275efSAlexander Shiyan Cirrus Logic EDB93xx boards. 43