xref: /openbmc/linux/sound/soc/intel/boards/Kconfig (revision 08b7cf13)
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 Lynxpoint"
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 Wildcatpoint"
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 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_RT5682_I2C
489	select SND_SOC_RT5682S
490	select SND_SOC_DMIC
491	select SND_SOC_HDAC_HDMI
492	select SND_SOC_INTEL_HDA_DSP_COMMON
493	select SND_SOC_INTEL_SOF_MAXIM_COMMON
494	select SND_SOC_INTEL_SOF_REALTEK_COMMON
495	help
496	   This adds support for ASoC machine driver for SOF platforms
497	   with rt5682 codec.
498	   Say Y if you have such a device.
499	   If unsure select "N".
500
501config SND_SOC_INTEL_SOF_CS42L42_MACH
502	tristate "SOF with cs42l42 codec in I2S Mode"
503	depends on I2C && ACPI
504	depends on ((SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC) &&\
505		    (MFD_INTEL_LPSS || COMPILE_TEST))
506	select SND_SOC_CS42L42
507	select SND_SOC_MAX98357A
508	select SND_SOC_DMIC
509	select SND_SOC_HDAC_HDMI
510	select SND_SOC_INTEL_HDA_DSP_COMMON
511	select SND_SOC_INTEL_SOF_MAXIM_COMMON
512	help
513	   This adds support for ASoC machine driver for SOF platforms
514	   with cs42l42 codec.
515	   Say Y if you have such a device.
516	   If unsure select "N".
517
518config SND_SOC_INTEL_SOF_PCM512x_MACH
519	tristate "SOF with TI PCM512x codec"
520	depends on I2C && ACPI
521	depends on (SND_SOC_SOF_HDA_AUDIO_CODEC && (MFD_INTEL_LPSS || COMPILE_TEST)) ||\
522		   (SND_SOC_SOF_BAYTRAIL && (X86_INTEL_LPSS || COMPILE_TEST))
523	depends on SND_HDA_CODEC_HDMI
524	select SND_SOC_INTEL_HDA_DSP_COMMON
525	select SND_SOC_PCM512x_I2C
526	help
527	  This adds support for ASoC machine driver for SOF platforms
528	  with TI PCM512x I2S audio codec.
529	  Say Y or m if you have such a device.
530	  If unsure select "N".
531
532config SND_SOC_INTEL_SOF_ES8336_MACH
533	tristate "SOF with ES8336 or ES8326 codec in I2S mode"
534	depends on I2C && ACPI
535	depends on MFD_INTEL_LPSS || COMPILE_TEST
536	depends on GPIOLIB || COMPILE_TEST
537	depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
538	select SND_SOC_ES8316
539	select SND_SOC_ES8326
540	select SND_SOC_DMIC
541	select SND_SOC_INTEL_HDA_DSP_COMMON
542	help
543	   This adds support for ASoC machine driver for SOF platforms
544	   with es8336 codec.
545	   Say Y if you have such a device.
546	   If unsure select "N".
547
548config SND_SOC_INTEL_SOF_NAU8825_MACH
549	tristate "SOF with nau8825 codec in I2S Mode"
550	depends on I2C && ACPI
551	depends on ((SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC) &&\
552		    (MFD_INTEL_LPSS || COMPILE_TEST))
553	select SND_SOC_NAU8825
554	select SND_SOC_RT1015P
555	select SND_SOC_MAX98373_I2C
556	select SND_SOC_MAX98357A
557	select SND_SOC_DMIC
558	select SND_SOC_HDAC_HDMI
559	select SND_SOC_INTEL_HDA_DSP_COMMON
560	select SND_SOC_INTEL_SOF_MAXIM_COMMON
561	help
562	   This adds support for ASoC machine driver for SOF platforms
563	   with nau8825 codec.
564	   Say Y if you have such a device.
565	   If unsure select "N".
566
567endif ## SND_SOC_SOF_HDA_LINK || SND_SOC_SOF_BAYTRAIL
568
569if (SND_SOC_SOF_COMETLAKE && SND_SOC_SOF_HDA_LINK)
570
571config SND_SOC_INTEL_CML_LP_DA7219_MAX98357A_MACH
572	tristate "CML_LP with DA7219 and MAX98357A in I2S Mode"
573	depends on I2C && ACPI
574	depends on MFD_INTEL_LPSS || COMPILE_TEST
575	select SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON
576	help
577	   This adds support for ASoC machine driver for Cometlake platforms
578	   with DA7219 + MAX98357A I2S audio codec.
579	   Say Y or m if you have such a device. This is a recommended option.
580	   If unsure select "N".
581
582config SND_SOC_INTEL_SOF_CML_RT1011_RT5682_MACH
583	tristate "CML with RT1011 and RT5682 in I2S Mode"
584	depends on I2C && ACPI
585	depends on MFD_INTEL_LPSS || COMPILE_TEST
586	depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
587	select SND_SOC_RT1011
588	select SND_SOC_RT5682_I2C
589	select SND_SOC_DMIC
590	select SND_SOC_HDAC_HDMI
591	select SND_SOC_INTEL_HDA_DSP_COMMON
592	help
593	  This adds support for ASoC machine driver for SOF platform with
594	  RT1011 + RT5682 I2S codec.
595	  Say Y if you have such a device.
596	  If unsure select "N".
597
598endif ## SND_SOC_SOF_COMETLAKE && SND_SOC_SOF_HDA_LINK
599
600if SND_SOC_SOF_JASPERLAKE
601
602config SND_SOC_INTEL_SOF_DA7219_MAX98373_MACH
603	tristate "SOF with DA7219 and MAX98373/MAX98360A in I2S Mode"
604	depends on I2C && ACPI
605	depends on MFD_INTEL_LPSS || COMPILE_TEST
606	depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
607	select SND_SOC_INTEL_HDA_DSP_COMMON
608	select SND_SOC_DA7219
609	select SND_SOC_MAX98373_I2C
610	select SND_SOC_DMIC
611	help
612	  This adds support for ASoC machine driver for SOF platforms
613	  with DA7219 + MAX98373/MAX98360A I2S audio codec.
614	  Say Y if you have such a device.
615	  If unsure select "N".
616
617endif ## SND_SOC_SOF_JASPERLAKE
618
619if SND_SOC_SOF_HDA_LINK
620
621config SND_SOC_INTEL_SOF_SSP_AMP_MACH
622	tristate "SOF with amplifiers in I2S Mode"
623	depends on I2C && ACPI
624	depends on MFD_INTEL_LPSS || COMPILE_TEST
625	select SND_SOC_RT1308
626	select SND_SOC_CS35L41_I2C
627	select SND_SOC_DMIC
628	select SND_SOC_HDAC_HDMI
629	select SND_SOC_INTEL_HDA_DSP_COMMON
630	select SND_SOC_INTEL_SOF_REALTEK_COMMON
631	select SND_SOC_INTEL_SOF_CIRRUS_COMMON
632	help
633	   This adds support for ASoC machine driver for SOF platforms
634	   with RT1308/CS35L41 I2S audio codec.
635	   Say Y if you have such a device.
636	   If unsure select "N".
637endif ## SND_SOC_SOF_HDA_LINK
638
639if SND_SOC_SOF_ELKHARTLAKE
640
641config SND_SOC_INTEL_EHL_RT5660_MACH
642	tristate "EHL with RT5660 in I2S mode"
643	depends on I2C && ACPI
644	depends on MFD_INTEL_LPSS || COMPILE_TEST
645	depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
646	select SND_SOC_RT5660
647	select SND_SOC_DMIC
648	select SND_SOC_INTEL_HDA_DSP_COMMON
649	help
650	  This adds support for ASoC machine driver for Elkhart Lake
651	  platform with RT5660 I2S audio codec.
652
653endif ## SND_SOC_SOF_ELKHARTLAKE
654
655if SND_SOC_SOF_INTEL_SOUNDWIRE
656
657config SND_SOC_INTEL_SOUNDWIRE_SOF_MACH
658	tristate "SoundWire generic machine driver"
659	depends on I2C && ACPI
660	depends on MFD_INTEL_LPSS || COMPILE_TEST
661	depends on SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES || COMPILE_TEST
662	depends on SOUNDWIRE
663	depends on SND_HDA_CODEC_HDMI && SND_SOC_SOF_HDA_AUDIO_CODEC
664	select SND_SOC_MAX98373_I2C
665	select SND_SOC_MAX98373_SDW
666	select SND_SOC_RT700_SDW
667	select SND_SOC_RT711_SDW
668	select SND_SOC_RT711_SDCA_SDW
669	select SND_SOC_RT1308_SDW
670	select SND_SOC_RT1308
671	select SND_SOC_RT1316_SDW
672	select SND_SOC_RT715_SDW
673	select SND_SOC_RT715_SDCA_SDW
674	select SND_SOC_RT5682_SDW
675	select SND_SOC_DMIC
676	select SND_SOC_INTEL_HDA_DSP_COMMON
677	select SND_SOC_INTEL_SOF_MAXIM_COMMON
678	imply SND_SOC_SDW_MOCKUP
679	help
680	  Add support for Intel SoundWire-based platforms connected to
681	  MAX98373, RT700, RT711, RT1308 and RT715
682	  If unsure select "N".
683
684endif
685
686endif ## SND_SOC_INTEL_MACH
687