xref: /openbmc/linux/sound/soc/intel/boards/Kconfig (revision 08283d30)
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
16if SND_SOC_INTEL_HASWELL
17
18config SND_SOC_INTEL_HASWELL_MACH
19	tristate "Haswell Lynxpoint"
20	depends on I2C
21	depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
22	depends on X86_INTEL_LPSS || COMPILE_TEST
23	select SND_SOC_RT5640
24	help
25	  This adds support for the Lynxpoint Audio DSP on Intel(R) Haswell
26	  Ultrabook platforms. This is a recommended option.
27	  Say Y or m if you have such a device.
28	  If unsure select "N".
29
30endif ## SND_SOC_INTEL_HASWELL
31
32if SND_SOC_INTEL_HASWELL || SND_SOC_SOF_BROADWELL
33
34config SND_SOC_INTEL_BDW_RT5677_MACH
35	tristate "Broadwell with RT5677 codec"
36	depends on I2C
37	depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
38	depends on GPIOLIB || COMPILE_TEST
39	depends on X86_INTEL_LPSS || COMPILE_TEST
40	select SND_SOC_RT5677
41	help
42	  This adds support for Intel Broadwell platform based boards with
43	  the RT5677 audio codec. This is a recommended option.
44	  Say Y or m if you have such a device.
45	  If unsure select "N".
46
47config SND_SOC_INTEL_BROADWELL_MACH
48	tristate "Broadwell Wildcatpoint"
49	depends on I2C
50	depends on I2C_DESIGNWARE_PLATFORM || COMPILE_TEST
51	depends on X86_INTEL_LPSS || COMPILE_TEST
52	select SND_SOC_RT286
53	help
54	  This adds support for the Wilcatpoint Audio DSP on Intel(R) Broadwell
55	  Ultrabook platforms.
56	  Say Y or m if you have such a device. This is a recommended option.
57	  If unsure select "N".
58endif ## SND_SOC_INTEL_HASWELL || SND_SOC_SOF_BROADWELL
59
60if SND_SOC_INTEL_BAYTRAIL
61
62config SND_SOC_INTEL_BYT_MAX98090_MACH
63	tristate "Baytrail with MAX98090 codec"
64	depends on I2C
65	depends on X86_INTEL_LPSS || COMPILE_TEST
66	select SND_SOC_MAX98090
67	help
68	  This adds audio driver for Intel Baytrail platform based boards
69	  with the MAX98090 audio codec. This driver is deprecated, use
70	  SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH instead for better
71	  functionality.
72
73config SND_SOC_INTEL_BYT_RT5640_MACH
74	tristate "Baytrail with RT5640 codec"
75	depends on I2C
76	depends on X86_INTEL_LPSS || COMPILE_TEST
77	select SND_SOC_RT5640
78	help
79	  This adds audio driver for Intel Baytrail platform based boards
80	  with the RT5640 audio codec. This driver is deprecated, use
81	  SND_SOC_INTEL_BYTCR_RT5640_MACH instead for better functionality.
82
83endif ## SND_SOC_INTEL_BAYTRAIL
84
85if SND_SST_ATOM_HIFI2_PLATFORM || SND_SOC_SOF_BAYTRAIL
86
87config SND_SOC_INTEL_BYTCR_RT5640_MACH
88	tristate "Baytrail and Baytrail-CR with RT5640 codec"
89	depends on I2C && ACPI
90	depends on X86_INTEL_LPSS || COMPILE_TEST
91	select SND_SOC_ACPI
92	select SND_SOC_RT5640
93	help
94	  This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
95	  platforms with RT5640 audio codec.
96	  Say Y or m if you have such a device. This is a recommended option.
97	  If unsure select "N".
98
99config SND_SOC_INTEL_BYTCR_RT5651_MACH
100	tristate "Baytrail and Baytrail-CR with RT5651 codec"
101	depends on I2C && ACPI
102	depends on X86_INTEL_LPSS || COMPILE_TEST
103	select SND_SOC_ACPI
104	select SND_SOC_RT5651
105	help
106	  This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
107	  platforms with RT5651 audio codec.
108	  Say Y or m if you have such a device. This is a recommended option.
109	  If unsure select "N".
110
111config SND_SOC_INTEL_CHT_BSW_RT5672_MACH
112	tristate "Cherrytrail & Braswell with RT5672 codec"
113	depends on I2C && ACPI
114	depends on X86_INTEL_LPSS || COMPILE_TEST
115	select SND_SOC_ACPI
116	select SND_SOC_RT5670
117        help
118          This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
119          platforms with RT5672 audio codec.
120          Say Y or m if you have such a device. This is a recommended option.
121          If unsure select "N".
122
123config SND_SOC_INTEL_CHT_BSW_RT5645_MACH
124	tristate "Cherrytrail & Braswell with RT5645/5650 codec"
125	depends on I2C && ACPI
126	depends on X86_INTEL_LPSS || COMPILE_TEST
127	select SND_SOC_ACPI
128	select SND_SOC_RT5645
129	help
130	  This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
131	  platforms with RT5645/5650 audio codec.
132	  Say Y or m if you have such a device. This is a recommended option.
133	  If unsure select "N".
134
135config SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH
136	tristate "Cherrytrail & Braswell with MAX98090 & TI codec"
137	depends on I2C && ACPI
138	depends on X86_INTEL_LPSS || COMPILE_TEST
139	select SND_SOC_MAX98090
140	select SND_SOC_TS3A227E
141	help
142	  This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
143	  platforms with MAX98090 audio codec it also can support TI jack chip as aux device.
144	  Say Y or m if you have such a device. This is a recommended option.
145	  If unsure select "N".
146
147config SND_SOC_INTEL_CHT_BSW_NAU8824_MACH
148	tristate "Cherrytrail & Braswell with NAU88L24 codec"
149	depends on I2C && ACPI
150	depends on X86_INTEL_LPSS || COMPILE_TEST
151	select SND_SOC_ACPI
152	select SND_SOC_NAU8824
153	help
154	  This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
155	  platforms with NAU88L24 audio codec.
156	  Say Y or m if you have such a device. This is a recommended option.
157	  If unsure select "N".
158
159config SND_SOC_INTEL_BYT_CHT_CX2072X_MACH
160	tristate "Baytrail & Cherrytrail with CX2072X codec"
161	depends on I2C && ACPI
162	depends on X86_INTEL_LPSS || COMPILE_TEST
163	select SND_SOC_ACPI
164	select SND_SOC_CX2072X
165	help
166	  This adds support for ASoC machine driver for Intel(R) Baytrail &
167	  Cherrytrail platforms with Conexant CX2072X audio codec.
168	  Say Y or m if you have such a device. This is a recommended option.
169	  If unsure select "N".
170
171config SND_SOC_INTEL_BYT_CHT_DA7213_MACH
172	tristate "Baytrail & Cherrytrail with DA7212/7213 codec"
173	depends on I2C && ACPI
174	depends on X86_INTEL_LPSS || COMPILE_TEST
175	select SND_SOC_ACPI
176	select SND_SOC_DA7213
177	help
178	  This adds support for ASoC machine driver for Intel(R) Baytrail & CherryTrail
179	  platforms with DA7212/7213 audio codec.
180	  Say Y or m if you have such a device. This is a recommended option.
181	  If unsure select "N".
182
183config SND_SOC_INTEL_BYT_CHT_ES8316_MACH
184	tristate "Baytrail & Cherrytrail with ES8316 codec"
185	depends on I2C && ACPI
186	depends on X86_INTEL_LPSS || COMPILE_TEST
187	select SND_SOC_ACPI
188	select SND_SOC_ES8316
189	help
190	  This adds support for ASoC machine driver for Intel(R) Baytrail &
191	  Cherrytrail platforms with ES8316 audio codec.
192	  Say Y or m if you have such a device. This is a recommended option.
193	  If unsure select "N".
194
195endif ## SND_SST_ATOM_HIFI2_PLATFORM || SND_SOC_SOF_BAYTRAIL
196
197if SND_SST_ATOM_HIFI2_PLATFORM
198
199config SND_SOC_INTEL_BYT_CHT_NOCODEC_MACH
200	tristate "Baytrail & Cherrytrail platform with no codec (MinnowBoard MAX, Up)"
201	depends on I2C && ACPI
202	depends on X86_INTEL_LPSS || COMPILE_TEST
203	help
204	  This adds support for ASoC machine driver for the MinnowBoard Max or
205	  Up boards and provides access to I2S signals on the Low-Speed
206	  connector. This is not a recommended option outside of these cases.
207	  It is not intended to be enabled by distros by default.
208	  Say Y or m if you have such a device.
209
210	  If unsure select "N".
211
212endif ## SND_SST_ATOM_HIFI2_PLATFORM
213
214if SND_SOC_INTEL_SKL
215
216config SND_SOC_INTEL_SKL_RT286_MACH
217	tristate "SKL with RT286 I2S mode"
218	depends on I2C && ACPI
219	depends on MFD_INTEL_LPSS || COMPILE_TEST
220	select SND_SOC_RT286
221	select SND_SOC_DMIC
222	select SND_SOC_HDAC_HDMI
223	help
224	   This adds support for ASoC machine driver for Skylake platforms
225	   with RT286 I2S audio codec.
226	   Say Y or m if you have such a device.
227	   If unsure select "N".
228
229config SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH
230	tristate "SKL with NAU88L25 and SSM4567 in I2S Mode"
231	depends on I2C && ACPI
232	depends on MFD_INTEL_LPSS || COMPILE_TEST
233	select SND_SOC_NAU8825
234	select SND_SOC_SSM4567
235	select SND_SOC_DMIC
236	select SND_SOC_HDAC_HDMI
237	help
238	  This adds support for ASoC Onboard Codec I2S machine driver. This will
239	  create an alsa sound card for NAU88L25 + SSM4567.
240	  Say Y or m if you have such a device. This is a recommended option.
241	  If unsure select "N".
242
243config SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH
244	tristate "SKL with NAU88L25 and MAX98357A in I2S Mode"
245	depends on I2C && ACPI
246	depends on MFD_INTEL_LPSS || COMPILE_TEST
247	select SND_SOC_NAU8825
248	select SND_SOC_MAX98357A
249	select SND_SOC_DMIC
250	select SND_SOC_HDAC_HDMI
251	help
252	  This adds support for ASoC Onboard Codec I2S machine driver. This will
253	  create an alsa sound card for NAU88L25 + MAX98357A.
254	  Say Y or m if you have such a device. This is a recommended option.
255	  If unsure select "N".
256
257endif ## SND_SOC_INTEL_SKL
258
259config SND_SOC_INTEL_DA7219_MAX98357A_GENERIC
260	tristate
261	select SND_SOC_DA7219
262	select SND_SOC_MAX98357A
263	select SND_SOC_DMIC
264	select SND_SOC_HDAC_HDMI
265
266if SND_SOC_INTEL_APL
267
268config SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH
269	tristate "Broxton with DA7219 and MAX98357A in I2S Mode"
270	depends on I2C && ACPI
271	depends on MFD_INTEL_LPSS || COMPILE_TEST
272	select SND_SOC_INTEL_DA7219_MAX98357A_GENERIC
273	select SND_HDA_DSP_LOADER
274	help
275	   This adds support for ASoC machine driver for Broxton-P platforms
276	   with DA7219 + MAX98357A I2S audio codec.
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_BXT_RT298_MACH
281	tristate "Broxton with RT298 I2S mode"
282	depends on I2C && ACPI
283	depends on MFD_INTEL_LPSS || COMPILE_TEST
284	select SND_SOC_RT298
285	select SND_SOC_DMIC
286	select SND_SOC_HDAC_HDMI
287	select SND_HDA_DSP_LOADER
288	help
289	   This adds support for ASoC machine driver for Broxton platforms
290	   with RT286 I2S audio codec.
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_APL
295
296if SND_SOC_INTEL_KBL
297
298config SND_SOC_INTEL_KBL_RT5663_MAX98927_MACH
299	tristate "KBL with RT5663 and MAX98927 in I2S Mode"
300	depends on I2C && ACPI
301	depends on MFD_INTEL_LPSS || COMPILE_TEST
302	select SND_SOC_RT5663
303	select SND_SOC_MAX98927
304	select SND_SOC_DMIC
305	select SND_SOC_HDAC_HDMI
306	select SND_SOC_INTEL_SKYLAKE_SSP_CLK
307	help
308	  This adds support for ASoC Onboard Codec I2S machine driver. This will
309	  create an alsa sound card for RT5663 + MAX98927.
310	  Say Y or m if you have such a device. This is a recommended option.
311	  If unsure select "N".
312
313config SND_SOC_INTEL_KBL_RT5663_RT5514_MAX98927_MACH
314        tristate "KBL with RT5663, RT5514 and MAX98927 in I2S Mode"
315	depends on I2C && ACPI
316	depends on MFD_INTEL_LPSS || COMPILE_TEST
317        depends on SPI
318        select SND_SOC_RT5663
319        select SND_SOC_RT5514
320        select SND_SOC_RT5514_SPI
321        select SND_SOC_MAX98927
322        select SND_SOC_HDAC_HDMI
323        help
324          This adds support for ASoC Onboard Codec I2S machine driver. This will
325          create an alsa sound card for RT5663 + RT5514 + MAX98927.
326          Say Y or m if you have such a device. This is a recommended option.
327          If unsure select "N".
328
329config SND_SOC_INTEL_KBL_DA7219_MAX98357A_MACH
330	tristate "KBL with DA7219 and MAX98357A in I2S Mode"
331	depends on I2C && ACPI
332	depends on MFD_INTEL_LPSS || COMPILE_TEST
333	select SND_SOC_INTEL_DA7219_MAX98357A_GENERIC
334	help
335	  This adds support for ASoC Onboard Codec I2S machine driver. This will
336	  create an alsa sound card for DA7219 + MAX98357A I2S audio codec.
337	  Say Y if you have such a device.
338
339config SND_SOC_INTEL_KBL_DA7219_MAX98927_MACH
340	tristate "KBL with DA7219 and MAX98927 in I2S Mode"
341	depends on I2C && ACPI
342	depends on MFD_INTEL_LPSS || COMPILE_TEST
343	select SND_SOC_DA7219
344	select SND_SOC_MAX98927
345	select SND_SOC_MAX98373
346	select SND_SOC_DMIC
347	select SND_SOC_HDAC_HDMI
348	help
349	  This adds support for ASoC Onboard Codec I2S machine driver. This will
350	  create an alsa sound card for DA7219 + MAX98927 I2S audio codec.
351	  Say Y if you have such a device.
352	  If unsure select "N".
353
354config SND_SOC_INTEL_KBL_RT5660_MACH
355	tristate "KBL with RT5660 in I2S Mode"
356	depends on I2C && ACPI
357	depends on MFD_INTEL_LPSS || COMPILE_TEST
358	select SND_SOC_RT5660
359	select SND_SOC_HDAC_HDMI
360	help
361	  This adds support for ASoC Onboard Codec I2S machine driver. This will
362	  create an alsa sound card for RT5660 I2S audio codec.
363	  Say Y if you have such a device.
364
365endif ## SND_SOC_INTEL_KBL
366
367if SND_SOC_INTEL_GLK || (SND_SOC_SOF_GEMINILAKE  && SND_SOC_SOF_HDA_LINK)
368
369config SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH
370	tristate "GLK with RT5682 and MAX98357A in I2S Mode"
371	depends on I2C && ACPI
372	depends on MFD_INTEL_LPSS || COMPILE_TEST
373	select SND_SOC_RT5682
374	select SND_SOC_MAX98357A
375	select SND_SOC_DMIC
376	select SND_SOC_HDAC_HDMI
377	select SND_HDA_DSP_LOADER
378	help
379	   This adds support for ASoC machine driver for Geminilake platforms
380	   with RT5682 + MAX98357A I2S audio codec.
381	   Say Y if you have such a device.
382	   If unsure select "N".
383
384endif ## SND_SOC_INTEL_GLK || (SND_SOC_SOF_GEMINILAKE  && SND_SOC_SOF_HDA_LINK)
385
386if SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC || SND_SOC_SOF_HDA_AUDIO_CODEC
387
388config SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH
389	tristate "SKL/KBL/BXT/APL with HDA Codecs"
390	select SND_SOC_HDAC_HDMI
391	select SND_SOC_DMIC
392	# SND_SOC_HDAC_HDA is already selected
393	help
394	  This adds support for ASoC machine driver for Intel platforms
395	  SKL/KBL/BXT/APL with iDisp, HDA audio codecs.
396          Say Y or m if you have such a device. This is a recommended option.
397	  If unsure select "N".
398
399endif ## SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC || SND_SOC_SOF_HDA_AUDIO_CODEC
400
401if SND_SOC_SOF_HDA_COMMON || SND_SOC_SOF_BAYTRAIL
402config SND_SOC_INTEL_SOF_RT5682_MACH
403	tristate "SOF with rt5682 codec in I2S Mode"
404	depends on I2C && ACPI
405	depends on (SND_SOC_SOF_HDA_COMMON && (MFD_INTEL_LPSS || COMPILE_TEST)) ||\
406		   (SND_SOC_SOF_BAYTRAIL && (X86_INTEL_LPSS || COMPILE_TEST))
407	select SND_SOC_RT5682
408	select SND_SOC_DMIC
409	select SND_SOC_HDAC_HDMI
410	help
411	   This adds support for ASoC machine driver for SOF platforms
412	   with rt5682 codec.
413	   Say Y if you have such a device.
414	   If unsure select "N".
415endif ## SND_SOC_SOF_HDA_COMMON || SND_SOC_SOF_BAYTRAIL
416
417if (SND_SOC_SOF_COMETLAKE_LP && SND_SOC_SOF_HDA_LINK)
418
419config SND_SOC_INTEL_CML_LP_DA7219_MAX98357A_MACH
420	tristate "CML_LP with DA7219 and MAX98357A in I2S Mode"
421	depends on I2C && ACPI
422	depends on MFD_INTEL_LPSS || COMPILE_TEST
423	select SND_SOC_INTEL_DA7219_MAX98357A_GENERIC
424
425endif ## SND_SOC_SOF_COMETLAKE_LP && SND_SOC_SOF_HDA_LINK
426
427endif ## SND_SOC_INTEL_MACH
428