xref: /openbmc/linux/sound/soc/intel/boards/Kconfig (revision 8e774e02)
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
259if SND_SOC_INTEL_APL
260
261config SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH
262	tristate "Broxton with DA7219 and MAX98357A in I2S Mode"
263	depends on I2C && ACPI
264	depends on MFD_INTEL_LPSS || COMPILE_TEST
265	select SND_SOC_DA7219
266	select SND_SOC_MAX98357A
267	select SND_SOC_DMIC
268	select SND_SOC_HDAC_HDMI
269	select SND_HDA_DSP_LOADER
270	help
271	   This adds support for ASoC machine driver for Broxton-P platforms
272	   with DA7219 + MAX98357A I2S audio codec.
273	   Say Y or m if you have such a device. This is a recommended option.
274	   If unsure select "N".
275
276config SND_SOC_INTEL_BXT_RT298_MACH
277	tristate "Broxton with RT298 I2S mode"
278	depends on I2C && ACPI
279	depends on MFD_INTEL_LPSS || COMPILE_TEST
280	select SND_SOC_RT298
281	select SND_SOC_DMIC
282	select SND_SOC_HDAC_HDMI
283	select SND_HDA_DSP_LOADER
284	help
285	   This adds support for ASoC machine driver for Broxton platforms
286	   with RT286 I2S audio codec.
287	   Say Y or m if you have such a device. This is a recommended option.
288	   If unsure select "N".
289
290endif ## SND_SOC_INTEL_APL
291
292if SND_SOC_INTEL_KBL
293
294config SND_SOC_INTEL_KBL_RT5663_MAX98927_MACH
295	tristate "KBL with RT5663 and MAX98927 in I2S Mode"
296	depends on I2C && ACPI
297	depends on MFD_INTEL_LPSS || COMPILE_TEST
298	select SND_SOC_RT5663
299	select SND_SOC_MAX98927
300	select SND_SOC_DMIC
301	select SND_SOC_HDAC_HDMI
302	select SND_SOC_INTEL_SKYLAKE_SSP_CLK
303	help
304	  This adds support for ASoC Onboard Codec I2S machine driver. This will
305	  create an alsa sound card for RT5663 + MAX98927.
306	  Say Y or m if you have such a device. This is a recommended option.
307	  If unsure select "N".
308
309config SND_SOC_INTEL_KBL_RT5663_RT5514_MAX98927_MACH
310        tristate "KBL with RT5663, RT5514 and MAX98927 in I2S Mode"
311	depends on I2C && ACPI
312	depends on MFD_INTEL_LPSS || COMPILE_TEST
313        depends on SPI
314        select SND_SOC_RT5663
315        select SND_SOC_RT5514
316        select SND_SOC_RT5514_SPI
317        select SND_SOC_MAX98927
318        select SND_SOC_HDAC_HDMI
319        help
320          This adds support for ASoC Onboard Codec I2S machine driver. This will
321          create an alsa sound card for RT5663 + RT5514 + MAX98927.
322          Say Y or m if you have such a device. This is a recommended option.
323          If unsure select "N".
324
325config SND_SOC_INTEL_KBL_DA7219_MAX98357A_MACH
326	tristate "KBL with DA7219 and MAX98357A in I2S Mode"
327	depends on I2C && ACPI
328	depends on MFD_INTEL_LPSS || COMPILE_TEST
329	select SND_SOC_DA7219
330	select SND_SOC_MAX98357A
331	select SND_SOC_DMIC
332	select SND_SOC_HDAC_HDMI
333	help
334	  This adds support for ASoC Onboard Codec I2S machine driver. This will
335	  create an alsa sound card for DA7219 + MAX98357A I2S audio codec.
336	  Say Y if you have such a device.
337
338config SND_SOC_INTEL_KBL_DA7219_MAX98927_MACH
339	tristate "KBL with DA7219 and MAX98927 in I2S Mode"
340	depends on I2C && ACPI
341	depends on MFD_INTEL_LPSS || COMPILE_TEST
342	select SND_SOC_DA7219
343	select SND_SOC_MAX98927
344	select SND_SOC_MAX98373
345	select SND_SOC_DMIC
346	select SND_SOC_HDAC_HDMI
347	help
348	  This adds support for ASoC Onboard Codec I2S machine driver. This will
349	  create an alsa sound card for DA7219 + MAX98927 I2S audio codec.
350	  Say Y if you have such a device.
351	  If unsure select "N".
352
353config SND_SOC_INTEL_KBL_RT5660_MACH
354	tristate "KBL with RT5660 in I2S Mode"
355	depends on I2C && ACPI
356	depends on MFD_INTEL_LPSS || COMPILE_TEST
357	select SND_SOC_RT5660
358	select SND_SOC_HDAC_HDMI
359	help
360	  This adds support for ASoC Onboard Codec I2S machine driver. This will
361	  create an alsa sound card for RT5660 I2S audio codec.
362	  Say Y if you have such a device.
363
364endif ## SND_SOC_INTEL_KBL
365
366if SND_SOC_INTEL_GLK || (SND_SOC_SOF_GEMINILAKE  && SND_SOC_SOF_HDA_LINK)
367
368config SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH
369	tristate "GLK with RT5682 and MAX98357A in I2S Mode"
370	depends on I2C && ACPI
371	depends on MFD_INTEL_LPSS || COMPILE_TEST
372	select SND_SOC_RT5682
373	select SND_SOC_MAX98357A
374	select SND_SOC_DMIC
375	select SND_SOC_HDAC_HDMI
376	select SND_HDA_DSP_LOADER
377	help
378	   This adds support for ASoC machine driver for Geminilake platforms
379	   with RT5682 + MAX98357A I2S audio codec.
380	   Say Y if you have such a device.
381	   If unsure select "N".
382
383endif ## SND_SOC_INTEL_GLK || (SND_SOC_SOF_GEMINILAKE  && SND_SOC_SOF_HDA_LINK)
384
385if SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC || SND_SOC_SOF_HDA_AUDIO_CODEC
386
387config SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH
388	tristate "SKL/KBL/BXT/APL with HDA Codecs"
389	select SND_SOC_HDAC_HDMI
390	# SND_SOC_HDAC_HDA is already selected
391	help
392	  This adds support for ASoC machine driver for Intel platforms
393	  SKL/KBL/BXT/APL with iDisp, HDA audio codecs.
394          Say Y or m if you have such a device. This is a recommended option.
395	  If unsure select "N".
396
397endif ## SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC || SND_SOC_SOF_HDA_AUDIO_CODEC
398
399if SND_SOC_SOF_HDA_COMMON || SND_SOC_SOF_BAYTRAIL
400config SND_SOC_INTEL_SOF_RT5682_MACH
401	tristate "SOF with rt5682 codec in I2S Mode"
402	depends on I2C && ACPI
403	depends on (SND_SOC_SOF_HDA_COMMON && (MFD_INTEL_LPSS || COMPILE_TEST)) ||\
404		   (SND_SOC_SOF_BAYTRAIL && (X86_INTEL_LPSS || COMPILE_TEST))
405	select SND_SOC_RT5682
406	select SND_SOC_DMIC
407	select SND_SOC_HDAC_HDMI
408	help
409	   This adds support for ASoC machine driver for SOF platforms
410	   with rt5682 codec.
411	   Say Y if you have such a device.
412	   If unsure select "N".
413endif ## SND_SOC_SOF_HDA_COMMON || SND_SOC_SOF_BAYTRAIL
414
415endif ## SND_SOC_INTEL_MACH
416