2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2010-06-04 13:11:24 +08:00
|
|
|
config SND_EP93XX_SOC
|
|
|
|
tristate "SoC Audio support for the Cirrus Logic EP93xx series"
|
2014-02-26 02:01:54 +08:00
|
|
|
depends on ARCH_EP93XX || COMPILE_TEST
|
2013-04-21 01:29:05 +08:00
|
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
2010-06-04 13:11:24 +08:00
|
|
|
help
|
|
|
|
Say Y or M if you want to add support for codecs attached to
|
2010-10-14 22:49:06 +08:00
|
|
|
the EP93xx I2S or AC97 interfaces.
|
2010-06-04 13:11:24 +08:00
|
|
|
|
|
|
|
config SND_EP93XX_SOC_I2S
|
2023-04-11 06:39:02 +08: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 18:01:12 +08:00
|
|
|
|
2018-04-29 04:51:42 +08: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
|
|
|
|
|
2011-01-23 09:01:15 +08:00
|
|
|
config SND_EP93XX_SOC_EDB93XX
|
|
|
|
tristate "SoC Audio support for Cirrus Logic EDB93xx boards"
|
|
|
|
depends on SND_EP93XX_SOC && (MACH_EDB9301 || MACH_EDB9302 || MACH_EDB9302A || MACH_EDB9307A || MACH_EDB9315A)
|
|
|
|
select SND_EP93XX_SOC_I2S
|
2014-10-06 23:09:47 +08:00
|
|
|
select SND_SOC_CS4271_I2C if I2C
|
|
|
|
select SND_SOC_CS4271_SPI if SPI_MASTER
|
2011-01-23 09:01:15 +08:00
|
|
|
help
|
|
|
|
Say Y or M here if you want to add support for I2S audio on the
|
|
|
|
Cirrus Logic EDB93xx boards.
|