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