xref: /linux/sound/soc/cirrus/Kconfig (revision 9a6b55ac)
1# SPDX-License-Identifier: GPL-2.0-only
2config SND_EP93XX_SOC
3	tristate "SoC Audio support for the Cirrus Logic EP93xx series"
4	depends on ARCH_EP93XX || COMPILE_TEST
5	select SND_SOC_GENERIC_DMAENGINE_PCM
6	help
7	  Say Y or M if you want to add support for codecs attached to
8	  the EP93xx I2S or AC97 interfaces.
9
10config SND_EP93XX_SOC_I2S
11	tristate
12
13if SND_EP93XX_SOC_I2S
14
15config SND_EP93XX_SOC_I2S_WATCHDOG
16	bool "IRQ based underflow watchdog workaround"
17	default y
18	help
19	  I2S controller on EP93xx seems to have undocumented HW issue.
20	  Underflow of internal I2S controller FIFO could confuse the
21	  state machine and the whole stream can be shifted by one byte
22	  until I2S is disabled. This option enables IRQ based watchdog
23	  which disables and re-enables I2S in case of underflow and
24	  fills FIFO with zeroes.
25
26	  If you are unsure how to answer this question, answer Y.
27
28endif # if SND_EP93XX_SOC_I2S
29
30config SND_EP93XX_SOC_AC97
31	tristate
32	select AC97_BUS
33	select SND_SOC_AC97_BUS
34
35config SND_EP93XX_SOC_SNAPPERCL15
36	tristate "SoC Audio support for Bluewater Systems Snapper CL15 module"
37	depends on SND_EP93XX_SOC && MACH_SNAPPER_CL15 && I2C
38	select SND_EP93XX_SOC_I2S
39	select SND_SOC_TLV320AIC23_I2C
40	help
41	  Say Y or M here if you want to add support for I2S audio on the
42	  Bluewater Systems Snapper CL15 module.
43
44config SND_EP93XX_SOC_SIMONE
45	tristate "SoC Audio support for Simplemachines Sim.One board"
46	depends on SND_EP93XX_SOC && MACH_SIM_ONE
47	select SND_EP93XX_SOC_AC97
48	select SND_SOC_AC97_CODEC
49	help
50	  Say Y or M here if you want to add support for AC97 audio on the
51	  Simplemachines Sim.One board.
52
53config SND_EP93XX_SOC_EDB93XX
54	tristate "SoC Audio support for Cirrus Logic EDB93xx boards"
55	depends on SND_EP93XX_SOC && (MACH_EDB9301 || MACH_EDB9302 || MACH_EDB9302A || MACH_EDB9307A || MACH_EDB9315A)
56	select SND_EP93XX_SOC_I2S
57	select SND_SOC_CS4271_I2C if I2C
58	select SND_SOC_CS4271_SPI if SPI_MASTER
59	help
60	  Say Y or M here if you want to add support for I2S audio on the
61	  Cirrus Logic EDB93xx boards.
62