GNU Linux-libre 4.19.286-gnu1
[releases.git] / sound / soc / omap / Kconfig
1 config SND_OMAP_SOC
2         tristate "SoC Audio for Texas Instruments OMAP chips (deprecated)"
3         depends on (ARCH_OMAP && DMA_OMAP) || (ARM && COMPILE_TEST)
4         select SND_SDMA_SOC
5
6 config SND_SDMA_SOC
7         tristate "SoC Audio for Texas Instruments chips using sDMA"
8         depends on DMA_OMAP || COMPILE_TEST
9         select SND_SOC_GENERIC_DMAENGINE_PCM
10
11 config SND_OMAP_SOC_DMIC
12         tristate
13
14 config SND_OMAP_SOC_MCBSP
15         tristate
16
17 config SND_OMAP_SOC_MCPDM
18         tristate
19
20 config SND_OMAP_SOC_HDMI_AUDIO
21         tristate "HDMI audio support for OMAP4+ based SoCs"
22         depends on SND_SDMA_SOC
23         help
24           For HDMI audio to work OMAPDSS HDMI support should be
25           enabled.
26           The hdmi audio driver implements cpu-dai component using the
27           callbacks provided by OMAPDSS and registers the component
28           under DSS HDMI device. Omap-pcm is registered for platform
29           component also under DSS HDMI device. Dummy codec is used as
30           as codec component. The hdmi audio driver implements also
31           the card and registers it under its own platform device.
32           The device for the driver is registered by OMAPDSS hdmi
33           driver.
34
35 config SND_OMAP_SOC_N810
36         tristate "SoC Audio support for Nokia N810"
37         depends on SND_SDMA_SOC && MACH_NOKIA_N810 && I2C
38         select SND_OMAP_SOC_MCBSP
39         select SND_SOC_TLV320AIC3X
40         help
41           Say Y if you want to add support for SoC audio on Nokia N810.
42
43 config SND_OMAP_SOC_RX51
44         tristate "SoC Audio support for Nokia N900 (RX-51)"
45         depends on SND_SDMA_SOC && ARM && I2C
46         select SND_OMAP_SOC_MCBSP
47         select SND_SOC_TLV320AIC3X
48         select SND_SOC_TPA6130A2
49         depends on GPIOLIB
50         help
51           Say Y if you want to add support for SoC audio on Nokia N900
52           cellphone.
53
54 config SND_OMAP_SOC_AMS_DELTA
55         tristate "SoC Audio support for Amstrad E3 (Delta) videophone"
56         depends on SND_SDMA_SOC && MACH_AMS_DELTA && TTY
57         select SND_OMAP_SOC_MCBSP
58         select SND_SOC_CX20442
59         help
60           Say Y  if you want to add support  for SoC audio device  connected to
61           a handset and a speakerphone found on Amstrad E3 (Delta) videophone.
62
63           Note that in order to get those devices fully supported,  you have to
64           build  the kernel  with  standard  serial port  driver  included  and
65           configured for at least 4 ports.  Then, from userspace, you must load
66           a line discipline #19 on the modem (ttyS3) serial line.  The simplest
67           way to achieve this is to install util-linux-ng  and use the included
68           ldattach  utility.  This  can be  started  automatically  from  udev,
69           a simple rule like this one should do the trick (it does for me):
70                 ACTION=="add", KERNEL=="controlC0", \
71                                 RUN+="/usr/sbin/ldattach 19 /dev/ttyS3"
72
73 config SND_OMAP_SOC_OSK5912
74         tristate "SoC Audio support for omap osk5912"
75         depends on SND_SDMA_SOC && MACH_OMAP_OSK && I2C
76         select SND_OMAP_SOC_MCBSP
77         select SND_SOC_TLV320AIC23_I2C
78         help
79           Say Y if you want to add support for SoC audio on osk5912.
80
81 config SND_OMAP_SOC_AM3517EVM
82         tristate "SoC Audio support for OMAP3517 / AM3517 EVM"
83         depends on SND_SDMA_SOC && MACH_OMAP3517EVM && I2C
84         select SND_OMAP_SOC_MCBSP
85         select SND_SOC_TLV320AIC23_I2C
86         help
87           Say Y if you want to add support for SoC audio on the OMAP3517 / AM3517
88           EVM.
89
90 config SND_OMAP_SOC_OMAP_TWL4030
91         tristate "SoC Audio support for TI SoC based boards with twl4030 codec"
92         depends on TWL4030_CORE && SND_SDMA_SOC
93         select SND_OMAP_SOC_MCBSP
94         select SND_SOC_TWL4030
95         help
96           Say Y if you want to add support for SoC audio on TI SoC based boards
97           using twl4030 as c codec. This driver currently supports:
98           - Beagleboard or Devkit8000
99           - Gumstix Overo or CompuLab CM-T35/CM-T3730
100           - IGEP v2
101           - OMAP3EVM
102           - SDP3430
103           - Zoom2
104
105 config SND_OMAP_SOC_OMAP_ABE_TWL6040
106         tristate "SoC Audio support for OMAP boards using ABE and twl6040 codec"
107         depends on TWL6040_CORE && SND_SDMA_SOC && COMMON_CLK
108         depends on ARCH_OMAP4 || (SOC_OMAP5 && MFD_PALMAS) || COMPILE_TEST
109         select SND_OMAP_SOC_DMIC
110         select SND_OMAP_SOC_MCPDM
111         select SND_SOC_TWL6040
112         select SND_SOC_DMIC
113         select COMMON_CLK_PALMAS if (SOC_OMAP5 && MFD_PALMAS)
114         select CLK_TWL6040
115         help
116           Say Y if you want to add support for SoC audio on OMAP boards using
117           ABE and twl6040 codec. This driver currently supports:
118           - SDP4430/Blaze boards
119           - PandaBoard (4430)
120           - PandaBoardES (4460)
121           - omap5-uevm (5432)
122
123 config SND_OMAP_SOC_OMAP3_PANDORA
124         tristate "SoC Audio support for OMAP3 Pandora"
125         depends on TWL4030_CORE && SND_SDMA_SOC && MACH_OMAP3_PANDORA
126         select SND_OMAP_SOC_MCBSP
127         select SND_SOC_TWL4030
128         help
129           Say Y if you want to add support for SoC audio on the OMAP3 Pandora.