Merge tag 'asoc-v5.5' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[linux-2.6-microblaze.git] / sound / soc / intel / boards / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 menuconfig SND_SOC_INTEL_MACH
3         bool "Intel Machine drivers"
4         depends on SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
5         help
6          Intel ASoC Machine Drivers. If you have a Intel machine that
7          has an audio controller with a DSP and I2S or DMIC port, then
8          enable this option by saying Y
9
10          Note that the answer to this question doesn't directly affect the
11          kernel: saying N will just cause the configurator to skip all
12          the questions about Intel ASoC machine drivers.
13
14 if SND_SOC_INTEL_MACH
15
16 if SND_SOC_INTEL_HASWELL
17
18 config SND_SOC_INTEL_HASWELL_MACH
19         tristate "Haswell Lynxpoint"
20         depends on I2C
21         depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
22         depends on X86_INTEL_LPSS || COMPILE_TEST
23         select SND_SOC_RT5640
24         help
25           This adds support for the Lynxpoint Audio DSP on Intel(R) Haswell
26           Ultrabook platforms. This is a recommended option.
27           Say Y or m if you have such a device.
28           If unsure select "N".
29
30 endif ## SND_SOC_INTEL_HASWELL
31
32 if SND_SOC_INTEL_HASWELL || SND_SOC_SOF_BROADWELL
33
34 config SND_SOC_INTEL_BDW_RT5677_MACH
35         tristate "Broadwell with RT5677 codec"
36         depends on I2C
37         depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
38         depends on GPIOLIB || COMPILE_TEST
39         depends on X86_INTEL_LPSS || COMPILE_TEST
40         select SND_SOC_RT5677
41         help
42           This adds support for Intel Broadwell platform based boards with
43           the RT5677 audio codec. This is a recommended option.
44           Say Y or m if you have such a device.
45           If unsure select "N".
46
47 config SND_SOC_INTEL_BROADWELL_MACH
48         tristate "Broadwell Wildcatpoint"
49         depends on I2C
50         depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
51         depends on X86_INTEL_LPSS || COMPILE_TEST
52         select SND_SOC_RT286
53         help
54           This adds support for the Wilcatpoint Audio DSP on Intel(R) Broadwell
55           Ultrabook platforms.
56           Say Y or m if you have such a device. This is a recommended option.
57           If unsure select "N".
58 endif ## SND_SOC_INTEL_HASWELL || SND_SOC_SOF_BROADWELL
59
60 if SND_SOC_INTEL_BAYTRAIL
61
62 config SND_SOC_INTEL_BYT_MAX98090_MACH
63         tristate "Baytrail with MAX98090 codec"
64         depends on I2C
65         depends on X86_INTEL_LPSS || COMPILE_TEST
66         select SND_SOC_MAX98090
67         help
68           This adds audio driver for Intel Baytrail platform based boards
69           with the MAX98090 audio codec. This driver is deprecated, use
70           SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH instead for better
71           functionality.
72
73 config SND_SOC_INTEL_BYT_RT5640_MACH
74         tristate "Baytrail with RT5640 codec"
75         depends on I2C
76         depends on X86_INTEL_LPSS || COMPILE_TEST
77         select SND_SOC_RT5640
78         help
79           This adds audio driver for Intel Baytrail platform based boards
80           with the RT5640 audio codec. This driver is deprecated, use
81           SND_SOC_INTEL_BYTCR_RT5640_MACH instead for better functionality.
82
83 endif ## SND_SOC_INTEL_BAYTRAIL
84
85 if SND_SST_ATOM_HIFI2_PLATFORM || SND_SOC_SOF_BAYTRAIL
86
87 config SND_SOC_INTEL_BYTCR_RT5640_MACH
88         tristate "Baytrail and Baytrail-CR with RT5640 codec"
89         depends on I2C && ACPI
90         depends on X86_INTEL_LPSS || COMPILE_TEST
91         select SND_SOC_ACPI
92         select SND_SOC_RT5640
93         help
94           This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
95           platforms with RT5640 audio codec.
96           Say Y or m if you have such a device. This is a recommended option.
97           If unsure select "N".
98
99 config SND_SOC_INTEL_BYTCR_RT5651_MACH
100         tristate "Baytrail and Baytrail-CR with RT5651 codec"
101         depends on I2C && ACPI
102         depends on X86_INTEL_LPSS || COMPILE_TEST
103         select SND_SOC_ACPI
104         select SND_SOC_RT5651
105         help
106           This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
107           platforms with RT5651 audio codec.
108           Say Y or m if you have such a device. This is a recommended option.
109           If unsure select "N".
110
111 config SND_SOC_INTEL_CHT_BSW_RT5672_MACH
112         tristate "Cherrytrail & Braswell with RT5672 codec"
113         depends on I2C && ACPI
114         depends on X86_INTEL_LPSS || COMPILE_TEST
115         select SND_SOC_ACPI
116         select SND_SOC_RT5670
117         help
118           This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
119           platforms with RT5672 audio codec.
120           Say Y or m if you have such a device. This is a recommended option.
121           If unsure select "N".
122
123 config SND_SOC_INTEL_CHT_BSW_RT5645_MACH
124         tristate "Cherrytrail & Braswell with RT5645/5650 codec"
125         depends on I2C && ACPI
126         depends on X86_INTEL_LPSS || COMPILE_TEST
127         select SND_SOC_ACPI
128         select SND_SOC_RT5645
129         help
130           This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
131           platforms with RT5645/5650 audio codec.
132           Say Y or m if you have such a device. This is a recommended option.
133           If unsure select "N".
134
135 config SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH
136         tristate "Cherrytrail & Braswell with MAX98090 & TI codec"
137         depends on I2C && ACPI
138         depends on X86_INTEL_LPSS || COMPILE_TEST
139         select SND_SOC_MAX98090
140         select SND_SOC_TS3A227E
141         help
142           This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
143           platforms with MAX98090 audio codec it also can support TI jack chip as aux device.
144           Say Y or m if you have such a device. This is a recommended option.
145           If unsure select "N".
146
147 config SND_SOC_INTEL_CHT_BSW_NAU8824_MACH
148         tristate "Cherrytrail & Braswell with NAU88L24 codec"
149         depends on I2C && ACPI
150         depends on X86_INTEL_LPSS || COMPILE_TEST
151         select SND_SOC_ACPI
152         select SND_SOC_NAU8824
153         help
154           This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
155           platforms with NAU88L24 audio codec.
156           Say Y or m if you have such a device. This is a recommended option.
157           If unsure select "N".
158
159 config SND_SOC_INTEL_BYT_CHT_CX2072X_MACH
160         tristate "Baytrail & Cherrytrail with CX2072X codec"
161         depends on I2C && ACPI
162         depends on X86_INTEL_LPSS || COMPILE_TEST
163         select SND_SOC_ACPI
164         select SND_SOC_CX2072X
165         help
166           This adds support for ASoC machine driver for Intel(R) Baytrail &
167           Cherrytrail platforms with Conexant CX2072X audio codec.
168           Say Y or m if you have such a device. This is a recommended option.
169           If unsure select "N".
170
171 config SND_SOC_INTEL_BYT_CHT_DA7213_MACH
172         tristate "Baytrail & Cherrytrail with DA7212/7213 codec"
173         depends on I2C && ACPI
174         depends on X86_INTEL_LPSS || COMPILE_TEST
175         select SND_SOC_ACPI
176         select SND_SOC_DA7213
177         help
178           This adds support for ASoC machine driver for Intel(R) Baytrail & CherryTrail
179           platforms with DA7212/7213 audio codec.
180           Say Y or m if you have such a device. This is a recommended option.
181           If unsure select "N".
182
183 config SND_SOC_INTEL_BYT_CHT_ES8316_MACH
184         tristate "Baytrail & Cherrytrail with ES8316 codec"
185         depends on I2C && ACPI
186         depends on X86_INTEL_LPSS || COMPILE_TEST
187         select SND_SOC_ACPI
188         select SND_SOC_ES8316
189         help
190           This adds support for ASoC machine driver for Intel(R) Baytrail &
191           Cherrytrail platforms with ES8316 audio codec.
192           Say Y or m if you have such a device. This is a recommended option.
193           If unsure select "N".
194
195 endif ## SND_SST_ATOM_HIFI2_PLATFORM || SND_SOC_SOF_BAYTRAIL
196
197 if SND_SST_ATOM_HIFI2_PLATFORM
198
199 config SND_SOC_INTEL_BYT_CHT_NOCODEC_MACH
200         tristate "Baytrail & Cherrytrail platform with no codec (MinnowBoard MAX, Up)"
201         depends on I2C && ACPI
202         depends on X86_INTEL_LPSS || COMPILE_TEST
203         help
204           This adds support for ASoC machine driver for the MinnowBoard Max or
205           Up boards and provides access to I2S signals on the Low-Speed
206           connector. This is not a recommended option outside of these cases.
207           It is not intended to be enabled by distros by default.
208           Say Y or m if you have such a device.
209
210           If unsure select "N".
211
212 endif ## SND_SST_ATOM_HIFI2_PLATFORM
213
214 if SND_SOC_INTEL_SKL
215
216 config SND_SOC_INTEL_SKL_RT286_MACH
217         tristate "SKL with RT286 I2S mode"
218         depends on I2C && ACPI
219         depends on MFD_INTEL_LPSS || COMPILE_TEST
220         select SND_SOC_RT286
221         select SND_SOC_DMIC
222         select SND_SOC_HDAC_HDMI
223         help
224            This adds support for ASoC machine driver for Skylake platforms
225            with RT286 I2S audio codec.
226            Say Y or m if you have such a device.
227            If unsure select "N".
228
229 config SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH
230         tristate "SKL with NAU88L25 and SSM4567 in I2S Mode"
231         depends on I2C && ACPI
232         depends on MFD_INTEL_LPSS || COMPILE_TEST
233         select SND_SOC_NAU8825
234         select SND_SOC_SSM4567
235         select SND_SOC_DMIC
236         select SND_SOC_HDAC_HDMI
237         help
238           This adds support for ASoC Onboard Codec I2S machine driver. This will
239           create an alsa sound card for NAU88L25 + SSM4567.
240           Say Y or m if you have such a device. This is a recommended option.
241           If unsure select "N".
242
243 config SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH
244         tristate "SKL with NAU88L25 and MAX98357A in I2S Mode"
245         depends on I2C && ACPI
246         depends on MFD_INTEL_LPSS || COMPILE_TEST
247         select SND_SOC_NAU8825
248         select SND_SOC_MAX98357A
249         select SND_SOC_DMIC
250         select SND_SOC_HDAC_HDMI
251         help
252           This adds support for ASoC Onboard Codec I2S machine driver. This will
253           create an alsa sound card for NAU88L25 + MAX98357A.
254           Say Y or m if you have such a device. This is a recommended option.
255           If unsure select "N".
256
257 endif ## SND_SOC_INTEL_SKL
258
259 config SND_SOC_INTEL_DA7219_MAX98357A_GENERIC
260         tristate
261         select SND_SOC_DA7219
262         select SND_SOC_MAX98357A
263         select SND_SOC_DMIC
264         select SND_SOC_HDAC_HDMI
265
266 config SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
267         tristate
268         select SND_SOC_INTEL_DA7219_MAX98357A_GENERIC
269
270 if SND_SOC_INTEL_APL
271
272 config SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH
273         tristate "Broxton with DA7219 and MAX98357A in I2S Mode"
274         depends on I2C && ACPI
275         depends on MFD_INTEL_LPSS || COMPILE_TEST
276         select SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
277         help
278            This adds support for ASoC machine driver for Broxton-P platforms
279            with DA7219 + MAX98357A I2S audio codec.
280            Say Y or m if you have such a device. This is a recommended option.
281            If unsure select "N".
282
283 config SND_SOC_INTEL_BXT_RT298_MACH
284         tristate "Broxton with RT298 I2S mode"
285         depends on I2C && ACPI
286         depends on MFD_INTEL_LPSS || COMPILE_TEST
287         select SND_SOC_RT298
288         select SND_SOC_DMIC
289         select SND_SOC_HDAC_HDMI
290         help
291            This adds support for ASoC machine driver for Broxton platforms
292            with RT286 I2S audio codec.
293            Say Y or m if you have such a device. This is a recommended option.
294            If unsure select "N".
295
296 endif ## SND_SOC_INTEL_APL
297
298 if SND_SOC_INTEL_KBL
299
300 config SND_SOC_INTEL_KBL_RT5663_MAX98927_MACH
301         tristate "KBL with RT5663 and MAX98927 in I2S Mode"
302         depends on I2C && ACPI
303         depends on MFD_INTEL_LPSS || COMPILE_TEST
304         select SND_SOC_RT5663
305         select SND_SOC_MAX98927
306         select SND_SOC_DMIC
307         select SND_SOC_HDAC_HDMI
308         select SND_SOC_INTEL_SKYLAKE_SSP_CLK
309         help
310           This adds support for ASoC Onboard Codec I2S machine driver. This will
311           create an alsa sound card for RT5663 + MAX98927.
312           Say Y or m if you have such a device. This is a recommended option.
313           If unsure select "N".
314
315 config SND_SOC_INTEL_KBL_RT5663_RT5514_MAX98927_MACH
316         tristate "KBL with RT5663, RT5514 and MAX98927 in I2S Mode"
317         depends on I2C && ACPI
318         depends on MFD_INTEL_LPSS || COMPILE_TEST
319         depends on SPI
320         select SND_SOC_RT5663
321         select SND_SOC_RT5514
322         select SND_SOC_RT5514_SPI
323         select SND_SOC_MAX98927
324         select SND_SOC_HDAC_HDMI
325         select SND_SOC_INTEL_SKYLAKE_SSP_CLK
326         help
327           This adds support for ASoC Onboard Codec I2S machine driver. This will
328           create an alsa sound card for RT5663 + RT5514 + MAX98927.
329           Say Y or m if you have such a device. This is a recommended option.
330           If unsure select "N".
331
332 config SND_SOC_INTEL_KBL_DA7219_MAX98357A_MACH
333         tristate "KBL with DA7219 and MAX98357A in I2S Mode"
334         depends on I2C && ACPI
335         depends on MFD_INTEL_LPSS || COMPILE_TEST
336         select SND_SOC_INTEL_DA7219_MAX98357A_GENERIC
337         help
338           This adds support for ASoC Onboard Codec I2S machine driver. This will
339           create an alsa sound card for DA7219 + MAX98357A I2S audio codec.
340           Say Y if you have such a device.
341
342 config SND_SOC_INTEL_KBL_DA7219_MAX98927_MACH
343         tristate "KBL with DA7219 and MAX98927 in I2S Mode"
344         depends on I2C && ACPI
345         depends on MFD_INTEL_LPSS || COMPILE_TEST
346         select SND_SOC_DA7219
347         select SND_SOC_MAX98927
348         select SND_SOC_MAX98373
349         select SND_SOC_DMIC
350         select SND_SOC_HDAC_HDMI
351         help
352           This adds support for ASoC Onboard Codec I2S machine driver. This will
353           create an alsa sound card for DA7219 + MAX98927 I2S audio codec.
354           Say Y if you have such a device.
355           If unsure select "N".
356
357 config SND_SOC_INTEL_KBL_RT5660_MACH
358         tristate "KBL with RT5660 in I2S Mode"
359         depends on I2C && ACPI
360         depends on MFD_INTEL_LPSS || COMPILE_TEST
361         select SND_SOC_RT5660
362         select SND_SOC_HDAC_HDMI
363         help
364           This adds support for ASoC Onboard Codec I2S machine driver. This will
365           create an alsa sound card for RT5660 I2S audio codec.
366           Say Y if you have such a device.
367
368 endif ## SND_SOC_INTEL_KBL
369
370 if SND_SOC_SOF_GEMINILAKE  && SND_SOC_SOF_HDA_LINK
371
372 config SND_SOC_INTEL_GLK_DA7219_MAX98357A_MACH
373         tristate "GLK with DA7219 and MAX98357A in I2S Mode"
374         depends on I2C && ACPI
375         depends on MFD_INTEL_LPSS || COMPILE_TEST
376         select SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
377         help
378            This adds support for ASoC machine driver for Geminilake platforms
379            with DA7219 + MAX98357A I2S audio codec.
380            Say Y or m if you have such a device. This is a recommended option.
381            If unsure select "N".
382
383 config SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH
384         tristate "GLK with RT5682 and MAX98357A in I2S Mode"
385         depends on I2C && ACPI
386         depends on MFD_INTEL_LPSS || COMPILE_TEST
387         select SND_SOC_RT5682
388         select SND_SOC_MAX98357A
389         select SND_SOC_DMIC
390         select SND_SOC_HDAC_HDMI
391         help
392            This adds support for ASoC machine driver for Geminilake platforms
393            with RT5682 + MAX98357A I2S audio codec.
394            Say Y if you have such a device.
395            If unsure select "N".
396
397 endif ## SND_SOC_SOF_GEMINILAKE  && SND_SOC_SOF_HDA_LINK
398
399 if SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC || SND_SOC_SOF_HDA_AUDIO_CODEC
400
401 config SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH
402         tristate "SKL/KBL/BXT/APL with HDA Codecs"
403         select SND_SOC_HDAC_HDMI
404         select SND_SOC_DMIC
405         # SND_SOC_HDAC_HDA is already selected
406         help
407           This adds support for ASoC machine driver for Intel platforms
408           SKL/KBL/BXT/APL with iDisp, HDA audio codecs.
409           Say Y or m if you have such a device. This is a recommended option.
410           If unsure select "N".
411
412 endif ## SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC || SND_SOC_SOF_HDA_AUDIO_CODEC
413
414 if SND_SOC_SOF_HDA_LINK || SND_SOC_SOF_BAYTRAIL
415 config SND_SOC_INTEL_SOF_RT5682_MACH
416         tristate "SOF with rt5682 codec in I2S Mode"
417         depends on I2C && ACPI
418         depends on (SND_SOC_SOF_HDA_LINK && (MFD_INTEL_LPSS || COMPILE_TEST)) ||\
419                    (SND_SOC_SOF_BAYTRAIL && (X86_INTEL_LPSS || COMPILE_TEST))
420         select SND_SOC_RT5682
421         select SND_SOC_DMIC
422         select SND_SOC_HDAC_HDMI
423         help
424            This adds support for ASoC machine driver for SOF platforms
425            with rt5682 codec.
426            Say Y if you have such a device.
427            If unsure select "N".
428 endif ## SND_SOC_SOF_HDA_LINK || SND_SOC_SOF_BAYTRAIL
429
430 if (SND_SOC_SOF_COMETLAKE_LP && SND_SOC_SOF_HDA_LINK)
431
432 config SND_SOC_INTEL_CML_LP_DA7219_MAX98357A_MACH
433         tristate "CML_LP with DA7219 and MAX98357A in I2S Mode"
434         depends on I2C && ACPI
435         depends on MFD_INTEL_LPSS || COMPILE_TEST
436         select SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
437         help
438            This adds support for ASoC machine driver for Cometlake platforms
439            with DA7219 + MAX98357A I2S audio codec.
440            Say Y or m if you have such a device. This is a recommended option.
441            If unsure select "N".
442
443 config SND_SOC_INTEL_SOF_CML_RT1011_RT5682_MACH
444         tristate "CML with RT1011 and RT5682 in I2S Mode"
445         depends on I2C && ACPI
446         depends on MFD_INTEL_LPSS || COMPILE_TEST
447         select SND_SOC_RT1011
448         select SND_SOC_RT5682
449         select SND_SOC_DMIC
450         select SND_SOC_HDAC_HDMI
451         help
452           This adds support for ASoC machine driver for SOF platform with
453           RT1011 + RT5682 I2S codec.
454           Say Y if you have such a device.
455           If unsure select "N".
456
457 endif ## SND_SOC_SOF_COMETLAKE_LP && SND_SOC_SOF_HDA_LINK
458
459 endif ## SND_SOC_INTEL_MACH