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