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