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