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