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