summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/Kconfig
blob: 47ed21d7e7ecdb32d2e6aec4e8bd489643f03bd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
config SND_SOC_TEGRA
	tristate "SoC Audio for the Tegra System-on-Chip"
	depends on ARCH_TEGRA && TEGRA20_APB_DMA
	select REGMAP_MMIO
	select SND_SOC_DMAENGINE_PCM if TEGRA20_APB_DMA
	help
	  Say Y or M here if you want support for SoC audio on Tegra.

config SND_SOC_TEGRA_OFFLOAD
	tristate "Audio offload support for Tegra SoC"
	depends on SND_SOC_TEGRA
	help
	  Say Y or M here if you want support for offload audio on Tegra.
	  When offload support is enabled offload platform is used and it
	  sends both PCM and compressed data to AVP/DSP for decode and
	  rendering.

config SND_SOC_TEGRA20_DAS
	tristate
	depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
	help
	  Say Y or M if you want to add support for the Tegra20 DAS module.
	  You will also need to select the individual machine drivers to
	  support below.

config SND_SOC_TEGRA20_I2S
	tristate
	depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA20_DAS
	help
	  Say Y or M if you want to add support for codecs attached to the
	  Tegra20 I2S interface. You will also need to select the individual
	  machine drivers to support below.

config SND_SOC_TEGRA30_AHUB
	tristate "Tegra 30 Audio Hub driver"
	depends on SND_SOC_TEGRA && !ARCH_TEGRA_2x_SOC

config SND_SOC_TEGRA30_DAM
	tristate "Tegra 30 Audio Dam driver"
	depends on SND_SOC_TEGRA && !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_AHUB

config SND_SOC_TEGRA_DMIC
	tristate "Tegra DMic driver"
	depends on SND_SOC_TEGRA && !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_AHUB
	help
	  Say Y or M if you want to add support for DMIC platform driver for
	  dummy DMIC codec interfaces.

config SND_SOC_TEGRA30_I2S
	tristate "Tegra 30 I2S driver"
	depends on SND_SOC_TEGRA && !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_AHUB
	help
	  Say Y or M if you want to add support for codecs attached to the
	  Tegra I2S interface. You will also need to select the individual
	  machine drivers to support below.

config SND_SOC_TEGRA20_SPDIF
	tristate
	depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC && TEGRA_DC
	default m
	help
	  Say Y or M if you want to add support for the TEGRA20 SPDIF interface.
	  You will also need to select the individual machine drivers to support
	  below.

config SND_SOC_TEGRA30_SPDIF
	tristate
	depends on SND_SOC_TEGRA && !ARCH_TEGRA_2x_SOC && TEGRA_DC
	select SND_SOC_TEGRA30_AHUB
	help
	  Say Y or M if you want to add support for the TEGRA30 SPDIF interface.
	  You will also need to select the individual machine drivers to support
	  below.

config SND_SOC_TEGRA30_AHUB
	tristate
	depends on SND_SOC_TEGRA && !ARCH_TEGRA_2x_SOC
	help
	  Say Y or M if you want to add support for the Tegra30 AHUB module.
	  You will also need to select the individual machine drivers to
	  support below.

config SND_SOC_TEGRA30_DAM
	tristate
	depends on SND_SOC_TEGRA && !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_AHUB
	help
	  Say Y or M if you want to add support for the Tegra30 DAM module.
	  You will also need to select the individual machine drivers to
	  support below.

config SND_SOC_TEGRA30_I2S
	tristate
	depends on SND_SOC_TEGRA && !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_AHUB
	help
	  Say Y or M if you want to add support for codecs attached to the
	  Tegra30 I2S interface. You will also need to select the individual
	  machine drivers to support below.

config SND_SOC_TEGRA30_AVP
	tristate
	depends on SND_SOC_TEGRA
	select SND_SOC_TEGRA_OFFLOAD
	help
	  Say Y or M if you want to add support for the Tegra30 AVP rendering
	  module. You will also need to select the individual machine drivers to
	  support below.

config SND_SOC_TEGRA_WM8753
	tristate "SoC Audio support for Tegra boards using a WM8753 codec"
	depends on SND_SOC_TEGRA && I2C
	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
	select SND_SOC_WM8753
	help
	  Say Y or M here if you want to add support for SoC audio on Tegra
	  boards using the WM8753 codec, such as Whistler.

config SND_SOC_TEGRA_WM8903
	tristate "SoC Audio support for Tegra boards using a WM8903 codec"
	depends on SND_SOC_TEGRA && I2C && TEGRA_DC
	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA20_SPDIF if ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
	select SND_SOC_WM8903
	select SND_SOC_SPDIF
	select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
	help
	  Say Y or M here if you want to add support for SoC audio on Tegra
	  boards using the WM8093 codec. Currently, the supported boards are
	  Harmony, Ventana, Seaboard, Kaen, and Aebl.

config SND_SOC_TEGRA_TRIMSLICE
	tristate "SoC Audio support for TrimSlice board"
	depends on SND_SOC_TEGRA && I2C
	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
	select SND_SOC_TLV320AIC23
	help
	  Say Y or M here if you want to add support for SoC audio on the
	  TrimSlice platform.

config SND_SOC_TEGRA_ALC5632
	tristate "SoC Audio support for Tegra boards using an ALC5632 codec"
	depends on SND_SOC_TEGRA && I2C && TEGRA_DC
	select SND_SOC_TEGRA_I2S
	select SND_SOC_ALC5632
	help
	  Say Y or M here if you want to add support for SoC audio on the
	  Toshiba AC100 netbook.

config SND_SOC_TEGRA_P1852
	tristate "SoC Audio support for P1852 SKUs"
	depends on SND_SOC_TEGRA
	depends on MACH_P1852
	select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
	select SND_SOC_SPDIF
	select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
	help
	  Say Y or M here if you want to add support for SoC audio on the
	  TEGRA P1852 SKUs. These are plug-n-play boards and and the codecs
	  used by the system integrator needs to be provided while instantiating
	  the driver.

config SND_SOC_TEGRA_E1853
	tristate "SoC Audio support for E1853 SKUs"
	depends on SND_SOC_TEGRA
	depends on MACH_E1853
	select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
	select SND_SOC_TEGRA30_SPDIF if ARCH_TEGRA_3x_SOC
	select SND_SOC_SPDIF
	select SND_SOC_TEGRA30_DAM if ARCH_TEGRA_3x_SOC
	select SND_SOC_WM8731
	select SND_SOC_AD193X
	help
	  Say Y or M here if you want to add support for SoC audio on the
	  TEGRA E1853 SKUs. These are plug-n-play boards and and the codecs
	  used by the system integrator needs to be provided while instantiating
	  the driver.

config SND_SOC_TEGRA_M2601
	tristate "SoC Audio support for M2601 SKUs"
	depends on SND_SOC_TEGRA
	depends on MACH_M2601
	select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
	select SND_SOC_AD193X
	help
	  Say Y or M here if you want to add support for SoC audio on the
	  TEGRA M2601 SKUs. These are plug-n-play boards and and the codecs
	  used by the system integrator needs to be provided while instantiating
	  the driver.

config MACH_HAS_SND_SOC_TEGRA_WM8753
	bool
	help
	  Machines that use the SND_SOC_TEGRA_WM8753 driver should select
	  this config option, in order to allow the user to enable
	  SND_SOC_TEGRA_WM8753.

config SND_SOC_TEGRA_WM8753
	tristate "SoC Audio support for Tegra boards using a WM8753 codec"
	depends on SND_SOC_TEGRA && I2C && TEGRA_DC
	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA20_SPDIF if ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
	select SND_SOC_WM8753
	select SND_SOC_SPDIF
	help
	  Say Y or M here if you want to add support for SoC audio on Tegra
	  boards using the WM8753 codec. Currently, only supported board is
	  Whistler.

config SND_SOC_TEGRA_MAX98088
	tristate "SoC Audio support for Tegra boards using a MAX98088 codec"
	depends on SND_SOC_TEGRA && I2C && TEGRA_DC
	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
	select SND_SOC_MAX98088
	select SND_SOC_SPDIF
	select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
	help
	  Say Y or M here if you want to add support for SoC audio on Tegra
	  boards using the MAX98088 codec. Currently, only supported board is
	  Enterprise.

config SND_SOC_TEGRA_TLV320AIC326X
	tristate "SoC Audio support for Tegra boards using a TI AIC326x codec"
	depends on SND_SOC_TEGRA && I2C && TEGRA_DC
	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
	select SND_SOC_TLV320AIC326X
	select SND_SOC_SPDIF
	select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
	help
	  Say Y or M here if you want to add support for SoC audio on Tegra
	  boards using the TI AIC326X codec.

config MACH_HAS_SND_SOC_TEGRA_TLV320AIC325X
	bool
	help
	  Machines that use the SND_SOC_TEGRA_TLV320AIC325X driver should select
	  this config option, in order to allow the user to enable
	  SND_SOC_TEGRA_TLV320AIC325X.

config SND_SOC_TEGRA_TLV320AIC325X
	tristate "SoC Audio support for Tegra boards using a TI AIC325x codec"
	depends on SND_SOC_TEGRA && I2C && TEGRA_DC
	depends on MACH_HAS_SND_SOC_TEGRA_TLV320AIC325X
	select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
	select SND_SOC_TLV320AIC325X
	select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
	select SND_SOC_SPDIF
	select MFD_AIC3256_I2C
	help
	  Say Y or M here if you want to add support for SoC audio on Tegra
	  boards using the TI AIC325X codec.

config MACH_HAS_SND_SOC_TEGRA_RT5639
	bool
	help
	  Machines that use the SND_SOC_TEGRA_RT5639 driver should select
	  this config option, in order to allow the user to enable
	  SND_SOC_TEGRA_RT5639.

config SND_SOC_TEGRA_RT5639
	tristate "SoC Audio support for Tegra boards using a ALC5639 codec"
	depends on SND_SOC_TEGRA && I2C && TEGRA_DC
	depends on SND_SOC_TEGRA_RT5640
	select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
	select SND_SOC_RT5639
	select SND_SOC_SPDIF
	select SND_SOC_TEGRA30_AVP if !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
	help
	  Say Y or M here if you want to add support for SoC audio on Tegra
	  boards using the ALC5639 codec. Currently, the supported board
	  is Kai and Ardbeg.

config SND_SOC_TEGRA_RT5640
	tristate "SoC Audio support for Tegra boards using a ALC5640 codec"
	depends on SND_SOC_TEGRA && I2C && TEGRA_DC
	select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
	select SND_SOC_RT5640
	select SND_SOC_SPDIF
	select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_AVP if !ARCH_TEGRA_2x_SOC
	help
	  Say Y or M here if you want to add support for SoC audio on Tegra
	  boards using the ALC5640 codec. Currently, the supported boards
	  are Kai,Cardhu and Dalmore.

config MACH_HAS_SND_SOC_TEGRA_RT5645
	bool
	help
	  Machines that use the SND_SOC_TEGRA_RT5645 driver should select
	  this config option, in order to allow the user to enable
	  SND_SOC_TEGRA_RT5645.

config SND_SOC_TEGRA_RT5645
	tristate "SoC Audio support for Tegra boards using a ALC5645 codec"
	depends on SND_SOC_TEGRA && I2C && TEGRA_DC
	select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
	select SND_SOC_RT5645
	select SND_SOC_SPDIF
	select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
	help
	  Say Y or M here if you want to add support for SoC audio on Tegra
	  boards using the ALC5645 codec. Currently, the supported boards
	  are Ardbeg.

config SND_SOC_TEGRA_MAX98095
	tristate "SoC Audio support for Tegra boards using a MAX98095 codec"
	depends on SND_SOC_TEGRA && I2C && TEGRA_DC
	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
	select SND_SOC_MAX98095
	select SND_SOC_SPDIF
	select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
	help
	  Say Y or M here if you want to add support for SoC audio on Tegra
	  boards using the MAX98095 codec. Currently, only supported board is
	  Cardhu.

config SND_SOC_TEGRA_CS42L73
	tristate "SoC Audio support for Tegra boards using a CS42L73 codec"
	depends on SND_SOC_TEGRA && I2C && TEGRA_DC
	select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
	select SND_SOC_CS42L73
	select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
	help
	  Say Y or M here if you want to add support for SoC audio on Tegra
	  boards using the CS42L73 codec. Currently, only supported board is
	  Pluto.

config MACH_HAS_SND_SOC_TEGRA_MAX98090
	bool
	help
	  Machines that use the SND_SOC_TEGRA_MAX98090 driver should select
	  this config option, in order to allow the user to enable
	  SND_SOC_TEGRA_MAX98090.

config SND_SOC_TEGRA_MAX98090
	tristate "SoC Audio support for Tegra boards using a MAX98090 codec"
	depends on SND_SOC_TEGRA && I2C && TEGRA_DC
	depends on MACH_HAS_SND_SOC_TEGRA_MAX98090
	select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
	select SND_SOC_MAX98090
	select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
	select SND_SOC_MAX97236
	select SND_SOC_SPDIF
	help
	  Say Y or M here if you want to add support for SoC audio on Tegra
	  boards using the MAX98090 codec. Currently, only supported board is
	  Pluto.

config MACH_HAS_SND_SOC_TEGRA_DMIC_REV1
	bool
	help
	  Machines that use the SND_SOC_TEGRA_DMIC_REV1 driver should select
	  this config option, in order to allow the user to enable
	  SND_SOC_TEGRA_DMIC_REV1.

config SND_SOC_TEGRA_DMIC_REV1
	tristate "SoC Audio support for Tegra boards using a DMIC_REV1 codec"
	depends on SND_SOC_TEGRA
	depends on MACH_HAS_SND_SOC_TEGRA_DMIC_REV1
	select SND_SOC_DMIC
	select SND_SOC_TEGRA_DMIC if !ARCH_TEGRA_2x_SOC
	select SND_SOC_TEGRA30_AHUB if !ARCH_TEGRA_2x_SOC
	help
	  Say Y or M here if you want to add support for SoC audio on Tegra
	  boards using the DMIC_REV1 codec. Currently, only supported board is
	  E1664 (dolak).

config SND_SOC_TEGRA_DUMMY
	tristate "SoC Audio support for Tegra boards that doesn't use codecs"
	depends on SND_SOC_TEGRA
	select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
	select SND_SOC_SPDIF
	help
	  Say Y or M here if you want to add support for SoC audio on Tegra
	  boards that doesn't use codecs (like SPDIF).
	  One such board is a customer board called Sandman.