arm64: dts: qcom: sm8550: add TRNG node
[linux-modified.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 config SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES
17         bool "Use more user friendly long card names"
18         help
19           Some drivers report the I/O configuration to userspace through the
20           soundcard's long card name in the control user space AP. An unfortunate
21           side effect is that this long name may also be used by the GUI,
22           confusing users with information they don't need.
23           This option prevents the long name from being modified, and the I/O
24           configuration will be provided through a different component interface.
25           Select Y if userspace like UCM (Use Case Manager) uses the component
26           interface.
27           If unsure select N.
28
29 config SND_SOC_INTEL_HDA_DSP_COMMON
30         tristate
31
32 config SND_SOC_INTEL_SOF_MAXIM_COMMON
33         tristate
34
35 config SND_SOC_INTEL_SOF_REALTEK_COMMON
36         tristate
37
38 config SND_SOC_INTEL_SOF_CIRRUS_COMMON
39         tristate
40
41 config SND_SOC_INTEL_SOF_NUVOTON_COMMON
42         tristate
43
44 config SND_SOC_INTEL_SOF_SSP_COMMON
45         tristate
46
47 config SND_SOC_INTEL_SOF_BOARD_HELPERS
48         tristate
49
50 if SND_SOC_INTEL_CATPT
51
52 config SND_SOC_INTEL_HASWELL_MACH
53         tristate "Haswell with RT5640 I2S codec"
54         depends on I2C
55         depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
56         depends on X86_INTEL_LPSS || COMPILE_TEST
57         select SND_SOC_RT5640
58         help
59           This adds support for the Lynxpoint Audio DSP on Intel(R) Haswell
60           Ultrabook platforms. This is a recommended option.
61           Say Y or m if you have such a device.
62           If unsure select "N".
63
64 endif ## SND_SOC_INTEL_CATPT
65
66 if SND_SOC_INTEL_CATPT || SND_SOC_SOF_BROADWELL
67
68 config SND_SOC_INTEL_BDW_RT5650_MACH
69         tristate "Broadwell with RT5650 codec"
70         depends on I2C
71         depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
72         depends on X86_INTEL_LPSS || COMPILE_TEST
73         select SND_SOC_RT5645
74         help
75           This adds the ASoC machine driver for Intel Broadwell platforms with
76           the RT5650 codec.
77           Say Y if you have such a device.
78           If unsure select "N".
79
80 config SND_SOC_INTEL_BDW_RT5677_MACH
81         tristate "Broadwell with RT5677 codec"
82         depends on I2C
83         depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
84         depends on GPIOLIB || COMPILE_TEST
85         depends on X86_INTEL_LPSS || COMPILE_TEST
86         depends on SPI_MASTER
87         select SPI_PXA2XX
88         select SND_SOC_RT5677_SPI
89         select SND_SOC_RT5677
90         help
91           This adds support for Intel Broadwell platform based boards with
92           the RT5677 audio codec. This is a recommended option.
93           Say Y or m if you have such a device.
94           If unsure select "N".
95
96 config SND_SOC_INTEL_BROADWELL_MACH
97         tristate "Broadwell with RT286 I2S codec"
98         depends on I2C
99         depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
100         depends on X86_INTEL_LPSS || COMPILE_TEST
101         select SND_SOC_RT286
102         help
103           This adds support for the Wilcatpoint Audio DSP on Intel(R) Broadwell
104           Ultrabook platforms.
105           Say Y or m if you have such a device. This is a recommended option.
106           If unsure select "N".
107 endif ## SND_SOC_INTEL_CATPT || SND_SOC_SOF_BROADWELL
108
109 if SND_SST_ATOM_HIFI2_PLATFORM || SND_SOC_SOF_BAYTRAIL
110
111 config SND_SOC_INTEL_BYTCR_RT5640_MACH
112         tristate "Baytrail and Baytrail-CR with RT5640 codec"
113         depends on I2C && ACPI
114         depends on X86_INTEL_LPSS || COMPILE_TEST
115         depends on GPIOLIB || COMPILE_TEST
116         select SND_SOC_ACPI
117         select SND_SOC_RT5640
118         help
119           This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
120           platforms with RT5640 audio codec.
121           Say Y or m if you have such a device. This is a recommended option.
122           If unsure select "N".
123
124 config SND_SOC_INTEL_BYTCR_RT5651_MACH
125         tristate "Baytrail and Baytrail-CR with RT5651 codec"
126         depends on I2C && ACPI
127         depends on X86_INTEL_LPSS || COMPILE_TEST
128         depends on GPIOLIB || COMPILE_TEST
129         select SND_SOC_ACPI
130         select SND_SOC_RT5651
131         help
132           This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
133           platforms with RT5651 audio codec.
134           Say Y or m if you have such a device. This is a recommended option.
135           If unsure select "N".
136
137 config SND_SOC_INTEL_BYTCR_WM5102_MACH
138         tristate "Baytrail and Baytrail-CR with WM5102 codec"
139         depends on MFD_ARIZONA && MFD_WM5102 && SPI_MASTER && ACPI
140         depends on X86_INTEL_LPSS || COMPILE_TEST
141         depends on GPIOLIB || COMPILE_TEST
142         select SND_SOC_ACPI
143         select SND_SOC_WM5102
144         help
145           This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
146           platforms with WM5102 audio codec.
147           Say Y if you have such a device.
148           If unsure select "N".
149
150 config SND_SOC_INTEL_CHT_BSW_RT5672_MACH
151         tristate "Cherrytrail & Braswell with RT5672 codec"
152         depends on I2C && ACPI
153         depends on X86_INTEL_LPSS || COMPILE_TEST
154         depends on GPIOLIB || COMPILE_TEST
155         select SND_SOC_ACPI
156         select SND_SOC_RT5670
157         help
158           This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
159           platforms with RT5672 audio codec.
160           Say Y or m if you have such a device. This is a recommended option.
161           If unsure select "N".
162
163 config SND_SOC_INTEL_CHT_BSW_RT5645_MACH
164         tristate "Cherrytrail & Braswell with RT5645/5650 codec"
165         depends on I2C && ACPI
166         depends on X86_INTEL_LPSS || COMPILE_TEST
167         select SND_SOC_ACPI
168         select SND_SOC_RT5645
169         help
170           This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
171           platforms with RT5645/5650 audio codec.
172           Say Y or m if you have such a device. This is a recommended option.
173           If unsure select "N".
174
175 config SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH
176         tristate "Cherrytrail & Braswell with MAX98090 & TI codec"
177         depends on I2C && ACPI
178         depends on X86_INTEL_LPSS || COMPILE_TEST
179         depends on GPIOLIB || COMPILE_TEST
180         select SND_SOC_MAX98090
181         select SND_SOC_TS3A227E
182         help
183           This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
184           platforms with MAX98090 audio codec it also can support TI jack chip as aux device.
185           Say Y or m if you have such a device. This is a recommended option.
186           If unsure select "N".
187
188 config SND_SOC_INTEL_CHT_BSW_NAU8824_MACH
189         tristate "Cherrytrail & Braswell with NAU88L24 codec"
190         depends on I2C && ACPI
191         depends on X86_INTEL_LPSS || COMPILE_TEST
192         select SND_SOC_ACPI
193         select SND_SOC_NAU8824
194         help
195           This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
196           platforms with NAU88L24 audio codec.
197           Say Y or m if you have such a device. This is a recommended option.
198           If unsure select "N".
199
200 config SND_SOC_INTEL_BYT_CHT_CX2072X_MACH
201         tristate "Baytrail & Cherrytrail with CX2072X codec"
202         depends on I2C && ACPI
203         depends on X86_INTEL_LPSS || COMPILE_TEST
204         depends on GPIOLIB || COMPILE_TEST
205         select SND_SOC_ACPI
206         select SND_SOC_CX2072X
207         help
208           This adds support for ASoC machine driver for Intel(R) Baytrail &
209           Cherrytrail platforms with Conexant CX2072X audio codec.
210           Say Y or m if you have such a device. This is a recommended option.
211           If unsure select "N".
212
213 config SND_SOC_INTEL_BYT_CHT_DA7213_MACH
214         tristate "Baytrail & Cherrytrail with DA7212/7213 codec"
215         depends on I2C && ACPI
216         depends on X86_INTEL_LPSS || COMPILE_TEST
217         select SND_SOC_ACPI
218         select SND_SOC_DA7213
219         help
220           This adds support for ASoC machine driver for Intel(R) Baytrail & CherryTrail
221           platforms with DA7212/7213 audio codec.
222           Say Y or m if you have such a device. This is a recommended option.
223           If unsure select "N".
224
225 config SND_SOC_INTEL_BYT_CHT_ES8316_MACH
226         tristate "Baytrail & Cherrytrail with ES8316 codec"
227         depends on I2C && ACPI
228         depends on X86_INTEL_LPSS || COMPILE_TEST
229         depends on GPIOLIB || COMPILE_TEST
230         select SND_SOC_ACPI
231         select SND_SOC_ES8316
232         help
233           This adds support for ASoC machine driver for Intel(R) Baytrail &
234           Cherrytrail platforms with ES8316 audio codec.
235           Say Y or m if you have such a device. This is a recommended option.
236           If unsure select "N".
237
238 endif ## SND_SST_ATOM_HIFI2_PLATFORM || SND_SOC_SOF_BAYTRAIL
239
240 if SND_SST_ATOM_HIFI2_PLATFORM
241
242 config SND_SOC_INTEL_BYT_CHT_NOCODEC_MACH
243         tristate "Baytrail & Cherrytrail platform with no codec (MinnowBoard MAX, Up)"
244         depends on I2C && ACPI
245         depends on X86_INTEL_LPSS || COMPILE_TEST
246         help
247           This adds support for ASoC machine driver for the MinnowBoard Max or
248           Up boards and provides access to I2S signals on the Low-Speed
249           connector. This is not a recommended option outside of these cases.
250           It is not intended to be enabled by distros by default.
251           Say Y or m if you have such a device.
252
253           If unsure select "N".
254
255 endif ## SND_SST_ATOM_HIFI2_PLATFORM
256
257 if SND_SOC_INTEL_SKL
258
259 config SND_SOC_INTEL_SKL_RT286_MACH
260         tristate "SKL with RT286 I2S mode"
261         depends on I2C && ACPI
262         depends on MFD_INTEL_LPSS || COMPILE_TEST
263         select SND_SOC_RT286
264         select SND_SOC_DMIC
265         select SND_SOC_HDAC_HDMI
266         help
267            This adds support for ASoC machine driver for Skylake platforms
268            with RT286 I2S audio codec.
269            Say Y or m if you have such a device.
270            If unsure select "N".
271
272 config SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH
273         tristate "SKL with NAU88L25 and SSM4567 in I2S Mode"
274         depends on I2C && ACPI
275         depends on MFD_INTEL_LPSS || COMPILE_TEST
276         select SND_SOC_NAU8825
277         select SND_SOC_SSM4567
278         select SND_SOC_DMIC
279         select SND_SOC_HDAC_HDMI
280         help
281           This adds support for ASoC Onboard Codec I2S machine driver. This will
282           create an alsa sound card for NAU88L25 + SSM4567.
283           Say Y or m if you have such a device. This is a recommended option.
284           If unsure select "N".
285
286 config SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH
287         tristate "SKL with NAU88L25 and MAX98357A in I2S Mode"
288         depends on I2C && ACPI
289         depends on MFD_INTEL_LPSS || COMPILE_TEST
290         select SND_SOC_NAU8825
291         select SND_SOC_MAX98357A
292         select SND_SOC_DMIC
293         select SND_SOC_HDAC_HDMI
294         help
295           This adds support for ASoC Onboard Codec I2S machine driver. This will
296           create an alsa sound card for NAU88L25 + MAX98357A.
297           Say Y or m if you have such a device. This is a recommended option.
298           If unsure select "N".
299
300 endif ## SND_SOC_INTEL_SKL
301
302 config SND_SOC_INTEL_DA7219_MAX98357A_GENERIC
303         tristate
304         select SND_SOC_DA7219
305         select SND_SOC_MAX98357A
306         select SND_SOC_MAX98390
307         select SND_SOC_DMIC
308         select SND_SOC_HDAC_HDMI
309         select SND_SOC_INTEL_HDA_DSP_COMMON
310
311 config SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
312         tristate
313         select SND_SOC_INTEL_DA7219_MAX98357A_GENERIC
314
315 if SND_SOC_INTEL_APL
316
317 config SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH
318         tristate "Broxton with DA7219 and MAX98357A/MAX98390 in I2S Mode"
319         depends on I2C && ACPI
320         depends on MFD_INTEL_LPSS || COMPILE_TEST
321         depends on SND_HDA_CODEC_HDMI
322         select SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
323         help
324            This adds support for ASoC machine driver for Broxton-P platforms
325            with DA7219 + MAX98357A/MAX98390 I2S audio codec.
326            Say Y or m if you have such a device. This is a recommended option.
327            If unsure select "N".
328
329 config SND_SOC_INTEL_BXT_RT298_MACH
330         tristate "Broxton with RT298 I2S mode"
331         depends on I2C && ACPI
332         depends on MFD_INTEL_LPSS || COMPILE_TEST
333         select SND_SOC_RT298
334         select SND_SOC_DMIC
335         select SND_SOC_HDAC_HDMI
336         select SND_SOC_INTEL_HDA_DSP_COMMON
337         help
338            This adds support for ASoC machine driver for Broxton platforms
339            with RT286 I2S audio codec.
340            Say Y or m if you have such a device. This is a recommended option.
341            If unsure select "N".
342
343 endif ## SND_SOC_INTEL_APL
344
345 if SND_SOC_SOF_APOLLOLAKE
346
347 config SND_SOC_INTEL_SOF_WM8804_MACH
348         tristate "SOF with Wolfson/Cirrus WM8804 codec"
349         depends on I2C && ACPI
350         depends on MFD_INTEL_LPSS || COMPILE_TEST
351         depends on GPIOLIB || COMPILE_TEST
352         select SND_SOC_WM8804_I2C
353         help
354           This adds support for ASoC machine driver for Intel platforms
355           with the Wolfson/Cirrus WM8804 I2S audio codec.
356           Say Y or m if you have such a device. This is a recommended option.
357           If unsure select "N".
358
359 endif ## SND_SOC_SOF_APOLLOLAKE
360
361 if SND_SOC_INTEL_KBL
362
363 config SND_SOC_INTEL_KBL_RT5663_MAX98927_MACH
364         tristate "KBL with RT5663 and MAX98927 in I2S Mode"
365         depends on I2C && ACPI
366         depends on MFD_INTEL_LPSS || COMPILE_TEST
367         select SND_SOC_RT5663
368         select SND_SOC_MAX98927
369         select SND_SOC_DMIC
370         select SND_SOC_HDAC_HDMI
371         select SND_SOC_INTEL_SKYLAKE_SSP_CLK
372         help
373           This adds support for ASoC Onboard Codec I2S machine driver. This will
374           create an alsa sound card for RT5663 + MAX98927.
375           Say Y or m if you have such a device. This is a recommended option.
376           If unsure select "N".
377
378 config SND_SOC_INTEL_KBL_RT5663_RT5514_MAX98927_MACH
379         tristate "KBL with RT5663, RT5514 and MAX98927 in I2S Mode"
380         depends on I2C && ACPI
381         depends on MFD_INTEL_LPSS || COMPILE_TEST
382         depends on SPI
383         select SND_SOC_RT5663
384         select SND_SOC_RT5514
385         select SND_SOC_RT5514_SPI
386         select SND_SOC_MAX98927
387         select SND_SOC_HDAC_HDMI
388         select SND_SOC_INTEL_SKYLAKE_SSP_CLK
389         help
390           This adds support for ASoC Onboard Codec I2S machine driver. This will
391           create an alsa sound card for RT5663 + RT5514 + MAX98927.
392           Say Y or m if you have such a device. This is a recommended option.
393           If unsure select "N".
394
395 config SND_SOC_INTEL_KBL_DA7219_MAX98357A_MACH
396         tristate "KBL with DA7219 and MAX98357A in I2S Mode"
397         depends on I2C && ACPI
398         depends on MFD_INTEL_LPSS || COMPILE_TEST
399         select SND_SOC_INTEL_DA7219_MAX98357A_GENERIC
400         help
401           This adds support for ASoC Onboard Codec I2S machine driver. This will
402           create an alsa sound card for DA7219 + MAX98357A I2S audio codec.
403           Say Y if you have such a device.
404
405 config SND_SOC_INTEL_KBL_DA7219_MAX98927_MACH
406         tristate "KBL with DA7219 and MAX98927 in I2S Mode"
407         depends on I2C && ACPI
408         depends on MFD_INTEL_LPSS || COMPILE_TEST
409         select SND_SOC_DA7219
410         select SND_SOC_MAX98927
411         select SND_SOC_MAX98373_I2C
412         select SND_SOC_DMIC
413         select SND_SOC_HDAC_HDMI
414         help
415           This adds support for ASoC Onboard Codec I2S machine driver. This will
416           create an alsa sound card for DA7219 + MAX98927 I2S audio codec.
417           Say Y if you have such a device.
418           If unsure select "N".
419
420 config SND_SOC_INTEL_KBL_RT5660_MACH
421         tristate "KBL with RT5660 in I2S Mode"
422         depends on I2C && ACPI
423         depends on MFD_INTEL_LPSS || COMPILE_TEST
424         depends on GPIOLIB || COMPILE_TEST
425         select SND_SOC_RT5660
426         select SND_SOC_HDAC_HDMI
427         help
428           This adds support for ASoC Onboard Codec I2S machine driver. This will
429           create an alsa sound card for RT5660 I2S audio codec.
430           Say Y if you have such a device.
431
432 endif ## SND_SOC_INTEL_KBL
433
434 if SND_SOC_SOF_GEMINILAKE
435
436 config SND_SOC_INTEL_GLK_DA7219_MAX98357A_MACH
437         tristate "GLK with DA7219 and MAX98357A in I2S Mode"
438         depends on I2C && ACPI
439         depends on MFD_INTEL_LPSS || COMPILE_TEST
440         depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
441         select SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
442         help
443            This adds support for ASoC machine driver for Geminilake platforms
444            with DA7219 + MAX98357A I2S audio codec.
445            Say Y or m if you have such a device. This is a recommended option.
446            If unsure select "N".
447
448 config SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH
449         tristate "GLK with RT5682 and MAX98357A in I2S Mode"
450         depends on I2C && ACPI
451         depends on MFD_INTEL_LPSS || COMPILE_TEST
452         depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
453         select SND_SOC_RT5682_I2C
454         select SND_SOC_RT5682S
455         select SND_SOC_MAX98357A
456         select SND_SOC_DMIC
457         select SND_SOC_HDAC_HDMI
458         select SND_SOC_INTEL_HDA_DSP_COMMON
459         help
460            This adds support for ASoC machine driver for Geminilake platforms
461            with RT5682 + MAX98357A I2S audio codec.
462            Say Y if you have such a device.
463            If unsure select "N".
464
465 endif ## SND_SOC_SOF_GEMINILAKE
466
467 if SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC || SND_SOC_SOF_HDA_AUDIO_CODEC
468
469 config SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH
470         tristate "Skylake+ with HDA Codecs"
471         depends on SND_HDA_CODEC_HDMI
472         select SND_SOC_HDAC_HDMI
473         select SND_SOC_INTEL_HDA_DSP_COMMON
474         select SND_SOC_DMIC
475         # SND_SOC_HDAC_HDA is already selected
476         help
477           This adds support for ASoC machine driver for Intel Skylake+
478           platforms with display (HDMI/DP) and HDA audio codecs, and
479           Smart Sound Technology (SST) integrated audio DSP.
480           Say Y or m if you have such a device. This is a recommended option.
481           If unsure select "N".
482
483 endif ## SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC || SND_SOC_SOF_HDA_AUDIO_CODEC
484
485 if SND_SOC_SOF_HDA_LINK || SND_SOC_SOF_BAYTRAIL
486 config SND_SOC_INTEL_SOF_RT5682_MACH
487         tristate "SOF with rt5650/rt5682 codec in I2S Mode"
488         depends on I2C && ACPI
489         depends on ((SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC) &&\
490                     (MFD_INTEL_LPSS || COMPILE_TEST)) ||\
491                    (SND_SOC_SOF_BAYTRAIL && (X86_INTEL_LPSS || COMPILE_TEST))
492         select SND_SOC_MAX98373_I2C
493         select SND_SOC_MAX98390
494         select SND_SOC_RT1011
495         select SND_SOC_RT1015
496         select SND_SOC_RT1015P
497         select SND_SOC_RT5645
498         select SND_SOC_RT5682_I2C
499         select SND_SOC_RT5682S
500         select SND_SOC_DMIC
501         select SND_SOC_INTEL_HDA_DSP_COMMON
502         select SND_SOC_INTEL_SOF_BOARD_HELPERS
503         select SND_SOC_INTEL_SOF_MAXIM_COMMON
504         select SND_SOC_INTEL_SOF_REALTEK_COMMON
505         select SND_SOC_INTEL_SOF_SSP_COMMON
506         help
507            This adds support for ASoC machine driver for SOF platforms
508            with rt5650 or rt5682 codec.
509            Say Y if you have such a device.
510            If unsure select "N".
511
512 config SND_SOC_INTEL_SOF_CS42L42_MACH
513         tristate "SOF with cs42l42 codec in I2S Mode"
514         depends on I2C && ACPI
515         depends on ((SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC) &&\
516                     (MFD_INTEL_LPSS || COMPILE_TEST))
517         select SND_SOC_CS42L42
518         select SND_SOC_MAX98357A
519         select SND_SOC_DMIC
520         select SND_SOC_INTEL_HDA_DSP_COMMON
521         select SND_SOC_INTEL_SOF_BOARD_HELPERS
522         select SND_SOC_INTEL_SOF_MAXIM_COMMON
523         select SND_SOC_INTEL_SOF_SSP_COMMON
524         help
525            This adds support for ASoC machine driver for SOF platforms
526            with cs42l42 codec.
527            Say Y if you have such a device.
528            If unsure select "N".
529
530 config SND_SOC_INTEL_SOF_PCM512x_MACH
531         tristate "SOF with TI PCM512x codec"
532         depends on I2C && ACPI
533         depends on (SND_SOC_SOF_HDA_AUDIO_CODEC && (MFD_INTEL_LPSS || COMPILE_TEST)) ||\
534                    (SND_SOC_SOF_BAYTRAIL && (X86_INTEL_LPSS || COMPILE_TEST))
535         depends on SND_HDA_CODEC_HDMI
536         select SND_SOC_INTEL_HDA_DSP_COMMON
537         select SND_SOC_PCM512x_I2C
538         help
539           This adds support for ASoC machine driver for SOF platforms
540           with TI PCM512x I2S audio codec.
541           Say Y or m if you have such a device.
542           If unsure select "N".
543
544 config SND_SOC_INTEL_SOF_ES8336_MACH
545         tristate "SOF with ES8336 or ES8326 codec in I2S mode"
546         depends on I2C && ACPI
547         depends on MFD_INTEL_LPSS || COMPILE_TEST
548         depends on GPIOLIB || COMPILE_TEST
549         depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
550         select SND_SOC_ES8316
551         select SND_SOC_ES8326
552         select SND_SOC_DMIC
553         select SND_SOC_INTEL_HDA_DSP_COMMON
554         help
555            This adds support for ASoC machine driver for SOF platforms
556            with es8336 codec.
557            Say Y if you have such a device.
558            If unsure select "N".
559
560 config SND_SOC_INTEL_SOF_NAU8825_MACH
561         tristate "SOF with nau8825 codec in I2S Mode"
562         depends on I2C && ACPI
563         depends on ((SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC) &&\
564                     (MFD_INTEL_LPSS || COMPILE_TEST))
565         select SND_SOC_NAU8825
566         select SND_SOC_RT1015P
567         select SND_SOC_MAX98373_I2C
568         select SND_SOC_MAX98357A
569         select SND_SOC_NAU8315
570         select SND_SOC_DMIC
571         select SND_SOC_INTEL_HDA_DSP_COMMON
572         select SND_SOC_INTEL_SOF_BOARD_HELPERS
573         select SND_SOC_INTEL_SOF_MAXIM_COMMON
574         select SND_SOC_INTEL_SOF_NUVOTON_COMMON
575         select SND_SOC_INTEL_SOF_REALTEK_COMMON
576         select SND_SOC_INTEL_SOF_SSP_COMMON
577         help
578            This adds support for ASoC machine driver for SOF platforms
579            with nau8825 codec.
580            Say Y if you have such a device.
581            If unsure select "N".
582
583 endif ## SND_SOC_SOF_HDA_LINK || SND_SOC_SOF_BAYTRAIL
584
585 if (SND_SOC_SOF_COMETLAKE && SND_SOC_SOF_HDA_LINK)
586
587 config SND_SOC_INTEL_CML_LP_DA7219_MAX98357A_MACH
588         tristate "CML_LP with DA7219 and MAX98357A in I2S Mode"
589         depends on I2C && ACPI
590         depends on MFD_INTEL_LPSS || COMPILE_TEST
591         select SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
592         help
593            This adds support for ASoC machine driver for Cometlake platforms
594            with DA7219 + MAX98357A I2S audio codec.
595            Say Y or m if you have such a device. This is a recommended option.
596            If unsure select "N".
597
598 config SND_SOC_INTEL_SOF_CML_RT1011_RT5682_MACH
599         tristate "CML with RT1011 and RT5682 in I2S Mode"
600         depends on I2C && ACPI
601         depends on MFD_INTEL_LPSS || COMPILE_TEST
602         depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
603         select SND_SOC_RT1011
604         select SND_SOC_RT5682_I2C
605         select SND_SOC_DMIC
606         select SND_SOC_HDAC_HDMI
607         select SND_SOC_INTEL_HDA_DSP_COMMON
608         help
609           This adds support for ASoC machine driver for SOF platform with
610           RT1011 + RT5682 I2S codec.
611           Say Y if you have such a device.
612           If unsure select "N".
613
614 endif ## SND_SOC_SOF_COMETLAKE && SND_SOC_SOF_HDA_LINK
615
616 config SND_SOC_INTEL_SOF_DA7219_MACH
617         tristate "SOF with DA7219 codec in I2S Mode"
618         depends on I2C && ACPI
619         depends on MFD_INTEL_LPSS || COMPILE_TEST
620         depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
621         select SND_SOC_INTEL_HDA_DSP_COMMON
622         select SND_SOC_DA7219
623         select SND_SOC_MAX98357A
624         select SND_SOC_MAX98373_I2C
625         select SND_SOC_DMIC
626         select SND_SOC_INTEL_SOF_MAXIM_COMMON
627         select SND_SOC_INTEL_SOF_SSP_COMMON
628         help
629           This adds support for ASoC machine driver for SOF platforms
630           with Dialog DA7219 I2S audio codec.
631           Say Y if you have such a device.
632           If unsure select "N".
633
634 if SND_SOC_SOF_HDA_LINK
635
636 config SND_SOC_INTEL_SOF_SSP_AMP_MACH
637         tristate "SOF with amplifiers in I2S Mode"
638         depends on I2C && ACPI
639         depends on MFD_INTEL_LPSS || COMPILE_TEST
640         select SND_SOC_RT1308
641         select SND_SOC_CS35L41_I2C
642         select SND_SOC_DMIC
643         select SND_SOC_INTEL_HDA_DSP_COMMON
644         select SND_SOC_INTEL_SOF_BOARD_HELPERS
645         select SND_SOC_INTEL_SOF_REALTEK_COMMON
646         select SND_SOC_INTEL_SOF_CIRRUS_COMMON
647         select SND_SOC_INTEL_SOF_SSP_COMMON
648         help
649            This adds support for ASoC machine driver for SOF platforms
650            with RT1308/CS35L41 I2S audio codec.
651            Say Y if you have such a device.
652            If unsure select "N".
653 endif ## SND_SOC_SOF_HDA_LINK
654
655 if SND_SOC_SOF_ELKHARTLAKE
656
657 config SND_SOC_INTEL_EHL_RT5660_MACH
658         tristate "EHL with RT5660 in I2S mode"
659         depends on I2C && ACPI
660         depends on MFD_INTEL_LPSS || COMPILE_TEST
661         depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
662         select SND_SOC_RT5660
663         select SND_SOC_DMIC
664         select SND_SOC_INTEL_HDA_DSP_COMMON
665         help
666           This adds support for ASoC machine driver for Elkhart Lake
667           platform with RT5660 I2S audio codec.
668
669 endif ## SND_SOC_SOF_ELKHARTLAKE
670
671 if SND_SOC_SOF_INTEL_SOUNDWIRE
672
673 config SND_SOC_INTEL_SOUNDWIRE_SOF_MACH
674         tristate "SoundWire generic machine driver"
675         depends on I2C && ACPI
676         depends on MFD_INTEL_LPSS || COMPILE_TEST
677         depends on SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES || COMPILE_TEST
678         depends on SOUNDWIRE
679         select SND_SOC_MAX98363
680         select SND_SOC_MAX98373_I2C
681         select SND_SOC_MAX98373_SDW
682         select SND_SOC_RT700_SDW
683         select SND_SOC_RT711_SDW
684         select SND_SOC_RT711_SDCA_SDW
685         select SND_SOC_RT712_SDCA_SDW
686         select SND_SOC_RT712_SDCA_DMIC_SDW
687         select SND_SOC_RT715_SDW
688         select SND_SOC_RT715_SDCA_SDW
689         select SND_SOC_RT1308_SDW
690         select SND_SOC_RT1308
691         select SND_SOC_RT1316_SDW
692         select SND_SOC_RT1318_SDW
693         select SND_SOC_RT5682_SDW
694         select SND_SOC_CS42L42_SDW
695         select SND_SOC_CS42L43
696         select SND_SOC_CS42L43_SDW
697         select MFD_CS42L43
698         select MFD_CS42L43_SDW
699         select SND_SOC_CS35L56_SDW
700         select SND_SOC_DMIC
701         select SND_SOC_INTEL_HDA_DSP_COMMON
702         select SND_SOC_INTEL_SOF_MAXIM_COMMON
703         imply SND_SOC_SDW_MOCKUP
704         help
705           Add support for Intel SoundWire-based platforms connected to
706           MAX98373, RT700, RT711, RT1308 and RT715
707           If unsure select "N".
708
709 endif
710
711 endif ## SND_SOC_INTEL_MACH