2019-05-19 05:07:45 -07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2010-06-03 22:11:24 -07:00
|
|
|
config SND_EP93XX_SOC
|
|
|
|
tristate "SoC Audio support for the Cirrus Logic EP93xx series"
|
2014-02-25 11:01:54 -07:00
|
|
|
depends on ARCH_EP93XX || COMPILE_TEST
|
2013-04-20 10:29:05 -07:00
|
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
2010-06-03 22:11:24 -07:00
|
|
|
help
|
|
|
|
Say Y or M if you want to add support for codecs attached to
|
2010-10-14 07:49:06 -07:00
|
|
|
the EP93xx I2S or AC97 interfaces.
|
2010-06-03 22:11:24 -07:00
|
|
|
|
|
|
|
config SND_EP93XX_SOC_I2S
|
2023-04-10 15:39:02 -07:00
|
|
|
tristate "I2S controller support for the Cirrus Logic EP93xx series"
|
|
|
|
depends on SND_EP93XX_SOC
|
|
|
|
help
|
|
|
|
Say Y or M if you want to add support for codecs attached to
|
|
|
|
the EP93xx I2S interface.
|
2010-06-08 03:01:12 -07:00
|
|
|
|
2018-04-28 13:51:42 -07:00
|
|
|
if SND_EP93XX_SOC_I2S
|
|
|
|
|
|
|
|
config SND_EP93XX_SOC_I2S_WATCHDOG
|
|
|
|
bool "IRQ based underflow watchdog workaround"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
I2S controller on EP93xx seems to have undocumented HW issue.
|
|
|
|
Underflow of internal I2S controller FIFO could confuse the
|
|
|
|
state machine and the whole stream can be shifted by one byte
|
|
|
|
until I2S is disabled. This option enables IRQ based watchdog
|
|
|
|
which disables and re-enables I2S in case of underflow and
|
|
|
|
fills FIFO with zeroes.
|
|
|
|
|
|
|
|
If you are unsure how to answer this question, answer Y.
|
|
|
|
|
|
|
|
endif # if SND_EP93XX_SOC_I2S
|
|
|
|
|