Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / sound / soc / ti / Kconfig
1 menu "Audio support for Texas Instruments SoCs"
2 depends on DMA_OMAP || TI_EDMA || COMPILE_TEST
3
4 config SND_SOC_TI_EDMA_PCM
5         tristate
6         select SND_SOC_GENERIC_DMAENGINE_PCM
7
8 config SND_SOC_TI_SDMA_PCM
9         tristate
10         select SND_SOC_GENERIC_DMAENGINE_PCM
11
12 comment "Texas Instruments DAI support for:"
13 config SND_SOC_DAVINCI_ASP
14         tristate "daVinci Audio Serial Port (ASP) or McBSP suport"
15         depends on ARCH_DAVINCI || COMPILE_TEST
16         select SND_SOC_TI_EDMA_PCM
17         help
18           Say Y or M here if you want audio support via daVinci ASP or McBSP.
19           The driver only implements the ASP support which is a subset of
20           daVinci McBSP (w/o the multichannel support).
21
22 config SND_SOC_DAVINCI_MCASP
23         tristate "Multichannel Audio Serial Port (McASP) support"
24         select SND_SOC_TI_EDMA_PCM
25         select SND_SOC_TI_SDMA_PCM
26         help
27           Say Y or M here if you want to have support for McASP IP found in
28           various Texas Instruments SoCs like:
29           - daVinci devices
30           - Sitara line of SoCs (AM335x, AM438x, etc)
31           - DRA7x devices
32           - Keystone devices
33
34 config SND_SOC_DAVINCI_VCIF
35         tristate "daVinci Voice Interface (VCIF) suport"
36         depends on ARCH_DAVINCI || COMPILE_TEST
37         select SND_SOC_TI_EDMA_PCM
38         help
39           Say Y or M here if you want audio support via daVinci VCIF.
40
41 config SND_SOC_OMAP_DMIC
42         tristate "Digital Microphone Module (DMIC) support"
43         depends on ARCH_OMAP4 || SOC_OMAP5 || COMPILE_TEST
44         select SND_SOC_TI_SDMA_PCM
45         help
46           Say Y or M here if you want to have support for DMIC IP found in
47           OMAP4 and OMAP5.
48
49 config SND_SOC_OMAP_MCBSP
50         tristate "Multichannel Buffered Serial Port (McBSP) support"
51         depends on ARCH_OMAP || ARCH_OMAP1 || COMPILE_TEST
52         select SND_SOC_TI_SDMA_PCM
53         help
54           Say Y or M here if you want to have support for McBSP IP found in
55           Texas Instruments OMAP1/2/3/4/5 SoCs.
56
57 config SND_SOC_OMAP_MCPDM
58         tristate "Multichannel PDM Controller (McPDM) support"
59         depends on ARCH_OMAP4 || SOC_OMAP5 || COMPILE_TEST
60         select SND_SOC_TI_SDMA_PCM
61         help
62           Say Y or M here if you want to have support for McPDM IP found in
63           OMAP4 and OMAP5.
64
65 comment "Audio support for boards with Texas Instruments SoCs"
66 config SND_SOC_NOKIA_N810
67         tristate "SoC Audio support for Nokia N810"
68         depends on MACH_NOKIA_N810 && I2C
69         select SND_SOC_OMAP_MCBSP
70         select SND_SOC_TLV320AIC3X
71         help
72           Say Y or M if you want to add support for SoC audio on Nokia N810.
73
74 config SND_SOC_NOKIA_RX51
75         tristate "SoC Audio support for Nokia RX-51"
76         depends on ARCH_OMAP3 && I2C && GPIOLIB
77         select SND_SOC_OMAP_MCBSP
78         select SND_SOC_TLV320AIC3X
79         select SND_SOC_TPA6130A2
80         help
81           Say Y or M if you want to add support for SoC audio on Nokia RX-51
82           hardware. This is also known as Nokia N900 product.
83
84 config SND_SOC_OMAP3_PANDORA
85         tristate "SoC Audio support for OMAP3 Pandora"
86         depends on ARCH_OMAP3
87         depends on TWL4030_CORE
88         select SND_SOC_OMAP_MCBSP
89         select SND_SOC_TWL4030
90         help
91           Say Y or M if you want to add support for SoC audio on the OMAP3 Pandora.
92
93 config SND_SOC_OMAP3_TWL4030
94         tristate "SoC Audio support for OMAP3 based boards with twl4030 codec"
95         depends on ARCH_OMAP3 || COMPILE_TEST
96         depends on TWL4030_CORE
97         select SND_SOC_OMAP_MCBSP
98         select SND_SOC_TWL4030
99         help
100           Say Y or M if you want to add support for SoC audio on OMAP3 based
101           boards using twl4030 as codec. This driver currently supports:
102           - Beagleboard or Devkit8000
103           - Gumstix Overo or CompuLab CM-T35/CM-T3730
104           - IGEP v2
105           - OMAP3EVM
106           - SDP3430
107           - Zoom2
108
109 config SND_SOC_OMAP_ABE_TWL6040
110         tristate "SoC Audio support for OMAP boards using ABE and twl6040 codec"
111         depends on TWL6040_CORE && COMMON_CLK
112         depends on ARCH_OMAP4 || (SOC_OMAP5 && MFD_PALMAS) || COMPILE_TEST
113         select SND_SOC_OMAP_DMIC
114         select SND_SOC_OMAP_MCPDM
115         select SND_SOC_TWL6040
116         help
117           Say Y or M if you want to add support for SoC audio on OMAP boards
118           using ABE and twl6040 codec. This driver currently supports:
119           - SDP4430/Blaze boards
120           - PandaBoard (4430)
121           - PandaBoardES (4460)
122           - OMAP5 uEVM
123
124 config SND_SOC_OMAP_AMS_DELTA
125         tristate "SoC Audio support for Amstrad E3 (Delta) videophone"
126         depends on MACH_AMS_DELTA && TTY
127         select SND_SOC_OMAP_MCBSP
128         select SND_SOC_CX20442
129         help
130           Say Y  or M if you want to add support  for SoC audio device
131           connected to a handset and a speakerphone found on Amstrad E3 (Delta)
132           videophone.
133
134           Note that in order to get those devices fully supported,  you have to
135           build  the kernel  with  standard  serial port  driver  included  and
136           configured for at least 4 ports.  Then, from userspace, you must load
137           a line discipline #19 on the modem (ttyS3) serial line.  The simplest
138           way to achieve this is to install util-linux-ng  and use the included
139           ldattach  utility.  This  can be  started  automatically  from  udev,
140           a simple rule like this one should do the trick (it does for me):
141                 ACTION=="add", KERNEL=="controlC0", \
142                                 RUN+="/usr/sbin/ldattach 19 /dev/ttyS3"
143
144 config SND_SOC_OMAP_HDMI
145         tristate "OMAP4/5 HDMI audio support"
146         depends on OMAP4_DSS_HDMI || OMAP5_DSS_HDMI || COMPILE_TEST
147         select SND_SOC_TI_SDMA_PCM
148         help
149           For HDMI audio to work OMAPDSS HDMI support should be
150           enabled.
151           The hdmi audio driver implements cpu-dai component using the
152           callbacks provided by OMAPDSS and registers the component
153           under DSS HDMI device. Omap-pcm is registered for platform
154           component also under DSS HDMI device. Dummy codec is used as
155           as codec component. The hdmi audio driver implements also
156           the card and registers it under its own platform device.
157           The device for the driver is registered by OMAPDSS hdmi
158           driver.
159
160 config SND_SOC_OMAP_OSK5912
161         tristate "SoC Audio support for omap osk5912"
162         depends on MACH_OMAP_OSK && I2C
163         select SND_SOC_OMAP_MCBSP
164         select SND_SOC_TLV320AIC23_I2C
165         help
166           Say Y or M if you want to add support for SoC audio on osk5912.
167
168 config SND_SOC_DAVINCI_EVM
169         tristate "SoC Audio support for DaVinci EVMs"
170         depends on ARCH_DAVINCI && I2C
171         select SND_SOC_DAVINCI_ASP if MACH_DAVINCI_DM355_EVM
172         select SND_SOC_DAVINCI_ASP if SND_SOC_DM365_AIC3X_CODEC
173         select SND_SOC_DAVINCI_VCIF if SND_SOC_DM365_VOICE_CODEC
174         select SND_SOC_DAVINCI_ASP if MACH_DAVINCI_EVM # DM6446
175         select SND_SOC_DAVINCI_MCASP if MACH_DAVINCI_DM6467_EVM
176         select SND_SOC_SPDIF if MACH_DAVINCI_DM6467_EVM
177         select SND_SOC_DAVINCI_MCASP if MACH_DAVINCI_DA830_EVM
178         select SND_SOC_DAVINCI_MCASP if MACH_DAVINCI_DA850_EVM
179         select SND_SOC_TLV320AIC3X
180         help
181           Say Y if you want to add support for SoC audio on the following TI
182           DaVinci EVM platforms:
183           - DM355
184           - DM365
185           - DM6446
186           - DM6447
187           - DM830
188           - DM850
189
190 choice
191         prompt "DM365 codec select"
192         depends on SND_SOC_DAVINCI_EVM
193         depends on MACH_DAVINCI_DM365_EVM
194
195 config SND_SOC_DM365_AIC3X_CODEC
196         bool "Audio Codec - AIC3101"
197         help
198           Say Y if you want to add support for AIC3101 audio codec
199
200 config SND_SOC_DM365_VOICE_CODEC
201         bool "Voice Codec - CQ93VC"
202         select MFD_DAVINCI_VOICECODEC
203         select SND_SOC_CQ0093VC
204         help
205           Say Y if you want to add support for SoC On-chip voice codec
206 endchoice
207
208 endmenu
209