xref: /linux/sound/soc/cirrus/Kconfig (revision 177bf8620cf4ed290ee170a6c5966adc0924b336)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2*8a40e95aSKuninori Morimotomenu "Cirrus Logic"
3*8a40e95aSKuninori Morimoto
40ed275efSAlexander Shiyanconfig SND_EP93XX_SOC
50ed275efSAlexander Shiyan	tristate "SoC Audio support for the Cirrus Logic EP93xx series"
617cb37aaSAlexander Shiyan	depends on ARCH_EP93XX || COMPILE_TEST
7e27e8a60SLars-Peter Clausen	select SND_SOC_GENERIC_DMAENGINE_PCM
80ed275efSAlexander Shiyan	help
90ed275efSAlexander Shiyan	  Say Y or M if you want to add support for codecs attached to
100ed275efSAlexander Shiyan	  the EP93xx I2S or AC97 interfaces.
110ed275efSAlexander Shiyan
120ed275efSAlexander Shiyanconfig SND_EP93XX_SOC_I2S
1324f934beSAlexander Sverdlin	tristate "I2S controller support for the Cirrus Logic EP93xx series"
1424f934beSAlexander Sverdlin	depends on SND_EP93XX_SOC
1524f934beSAlexander Sverdlin	help
1624f934beSAlexander Sverdlin	  Say Y or M if you want to add support for codecs attached to
1724f934beSAlexander Sverdlin	  the EP93xx I2S interface.
180ed275efSAlexander Shiyan
1998e1241cSAlexander Sverdlinif SND_EP93XX_SOC_I2S
2098e1241cSAlexander Sverdlin
2198e1241cSAlexander Sverdlinconfig SND_EP93XX_SOC_I2S_WATCHDOG
2298e1241cSAlexander Sverdlin	bool "IRQ based underflow watchdog workaround"
2398e1241cSAlexander Sverdlin	default y
2498e1241cSAlexander Sverdlin	help
2598e1241cSAlexander Sverdlin	  I2S controller on EP93xx seems to have undocumented HW issue.
2698e1241cSAlexander Sverdlin	  Underflow of internal I2S controller FIFO could confuse the
2798e1241cSAlexander Sverdlin	  state machine and the whole stream can be shifted by one byte
2898e1241cSAlexander Sverdlin	  until I2S is disabled. This option enables IRQ based watchdog
2998e1241cSAlexander Sverdlin	  which disables and re-enables I2S in case of underflow and
3098e1241cSAlexander Sverdlin	  fills FIFO with zeroes.
3198e1241cSAlexander Sverdlin
3298e1241cSAlexander Sverdlin	  If you are unsure how to answer this question, answer Y.
3398e1241cSAlexander Sverdlin
3498e1241cSAlexander Sverdlinendif # if SND_EP93XX_SOC_I2S
3598e1241cSAlexander Sverdlin
36*8a40e95aSKuninori Morimotoendmenu
37