0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config SND_EP93XX_SOC
0003 tristate "SoC Audio support for the Cirrus Logic EP93xx series"
0004 depends on ARCH_EP93XX || COMPILE_TEST
0005 select SND_SOC_GENERIC_DMAENGINE_PCM
0006 help
0007 Say Y or M if you want to add support for codecs attached to
0008 the EP93xx I2S or AC97 interfaces.
0009
0010 config SND_EP93XX_SOC_I2S
0011 tristate
0012
0013 if SND_EP93XX_SOC_I2S
0014
0015 config SND_EP93XX_SOC_I2S_WATCHDOG
0016 bool "IRQ based underflow watchdog workaround"
0017 default y
0018 help
0019 I2S controller on EP93xx seems to have undocumented HW issue.
0020 Underflow of internal I2S controller FIFO could confuse the
0021 state machine and the whole stream can be shifted by one byte
0022 until I2S is disabled. This option enables IRQ based watchdog
0023 which disables and re-enables I2S in case of underflow and
0024 fills FIFO with zeroes.
0025
0026 If you are unsure how to answer this question, answer Y.
0027
0028 endif # if SND_EP93XX_SOC_I2S
0029
0030 config SND_EP93XX_SOC_AC97
0031 tristate
0032 select AC97_BUS
0033 select SND_SOC_AC97_BUS
0034
0035 config SND_EP93XX_SOC_SNAPPERCL15
0036 tristate "SoC Audio support for Bluewater Systems Snapper CL15 module"
0037 depends on SND_EP93XX_SOC && MACH_SNAPPER_CL15 && I2C
0038 select SND_EP93XX_SOC_I2S
0039 select SND_SOC_TLV320AIC23_I2C
0040 help
0041 Say Y or M here if you want to add support for I2S audio on the
0042 Bluewater Systems Snapper CL15 module.
0043
0044 config SND_EP93XX_SOC_SIMONE
0045 tristate "SoC Audio support for Simplemachines Sim.One board"
0046 depends on SND_EP93XX_SOC && MACH_SIM_ONE
0047 select SND_EP93XX_SOC_AC97
0048 select SND_SOC_AC97_CODEC
0049 help
0050 Say Y or M here if you want to add support for AC97 audio on the
0051 Simplemachines Sim.One board.
0052
0053 config SND_EP93XX_SOC_EDB93XX
0054 tristate "SoC Audio support for Cirrus Logic EDB93xx boards"
0055 depends on SND_EP93XX_SOC && (MACH_EDB9301 || MACH_EDB9302 || MACH_EDB9302A || MACH_EDB9307A || MACH_EDB9315A)
0056 select SND_EP93XX_SOC_I2S
0057 select SND_SOC_CS4271_I2C if I2C
0058 select SND_SOC_CS4271_SPI if SPI_MASTER
0059 help
0060 Say Y or M here if you want to add support for I2S audio on the
0061 Cirrus Logic EDB93xx boards.