xref: /openbmc/linux/sound/soc/intel/boards/Kconfig (revision 22d55f02)
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_DA7213_MACH
160	tristate "Baytrail & Cherrytrail with DA7212/7213 codec"
161	depends on I2C && ACPI
162	depends on X86_INTEL_LPSS || COMPILE_TEST
163	select SND_SOC_ACPI
164	select SND_SOC_DA7213
165	help
166	  This adds support for ASoC machine driver for Intel(R) Baytrail & CherryTrail
167	  platforms with DA7212/7213 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_ES8316_MACH
172	tristate "Baytrail & Cherrytrail with ES8316 codec"
173	depends on I2C && ACPI
174	depends on X86_INTEL_LPSS || COMPILE_TEST
175	select SND_SOC_ACPI
176	select SND_SOC_ES8316
177	help
178	  This adds support for ASoC machine driver for Intel(R) Baytrail &
179	  Cherrytrail platforms with ES8316 audio codec.
180	  Say Y or m if you have such a device. This is a recommended option.
181	  If unsure select "N".
182
183endif ## SND_SST_ATOM_HIFI2_PLATFORM || SND_SOC_SOF_BAYTRAIL
184
185if SND_SST_ATOM_HIFI2_PLATFORM
186
187config SND_SOC_INTEL_BYT_CHT_NOCODEC_MACH
188	tristate "Baytrail & Cherrytrail platform with no codec (MinnowBoard MAX, Up)"
189	depends on I2C && ACPI
190	depends on X86_INTEL_LPSS || COMPILE_TEST
191	help
192	  This adds support for ASoC machine driver for the MinnowBoard Max or
193	  Up boards and provides access to I2S signals on the Low-Speed
194	  connector. This is not a recommended option outside of these cases.
195	  It is not intended to be enabled by distros by default.
196	  Say Y or m if you have such a device.
197
198	  If unsure select "N".
199
200endif ## SND_SST_ATOM_HIFI2_PLATFORM
201
202if SND_SOC_INTEL_SKL
203
204config SND_SOC_INTEL_SKL_RT286_MACH
205	tristate "SKL with RT286 I2S mode"
206	depends on I2C && ACPI
207	depends on MFD_INTEL_LPSS || COMPILE_TEST
208	select SND_SOC_RT286
209	select SND_SOC_DMIC
210	select SND_SOC_HDAC_HDMI
211	help
212	   This adds support for ASoC machine driver for Skylake platforms
213	   with RT286 I2S audio codec.
214	   Say Y or m if you have such a device.
215	   If unsure select "N".
216
217config SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH
218	tristate "SKL with NAU88L25 and SSM4567 in I2S Mode"
219	depends on I2C && ACPI
220	depends on MFD_INTEL_LPSS || COMPILE_TEST
221	select SND_SOC_NAU8825
222	select SND_SOC_SSM4567
223	select SND_SOC_DMIC
224	select SND_SOC_HDAC_HDMI
225	help
226	  This adds support for ASoC Onboard Codec I2S machine driver. This will
227	  create an alsa sound card for NAU88L25 + SSM4567.
228	  Say Y or m if you have such a device. This is a recommended option.
229	  If unsure select "N".
230
231config SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH
232	tristate "SKL with NAU88L25 and MAX98357A in I2S Mode"
233	depends on I2C && ACPI
234	depends on MFD_INTEL_LPSS || COMPILE_TEST
235	select SND_SOC_NAU8825
236	select SND_SOC_MAX98357A
237	select SND_SOC_DMIC
238	select SND_SOC_HDAC_HDMI
239	help
240	  This adds support for ASoC Onboard Codec I2S machine driver. This will
241	  create an alsa sound card for NAU88L25 + MAX98357A.
242	  Say Y or m if you have such a device. This is a recommended option.
243	  If unsure select "N".
244
245endif ## SND_SOC_INTEL_SKL
246
247if SND_SOC_INTEL_APL
248
249config SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH
250	tristate "Broxton with DA7219 and MAX98357A in I2S Mode"
251	depends on I2C && ACPI
252	depends on MFD_INTEL_LPSS || COMPILE_TEST
253	select SND_SOC_DA7219
254	select SND_SOC_MAX98357A
255	select SND_SOC_DMIC
256	select SND_SOC_HDAC_HDMI
257	select SND_HDA_DSP_LOADER
258	help
259	   This adds support for ASoC machine driver for Broxton-P platforms
260	   with DA7219 + MAX98357A I2S audio codec.
261	   Say Y or m if you have such a device. This is a recommended option.
262	   If unsure select "N".
263
264config SND_SOC_INTEL_BXT_RT298_MACH
265	tristate "Broxton with RT298 I2S mode"
266	depends on I2C && ACPI
267	depends on MFD_INTEL_LPSS || COMPILE_TEST
268	select SND_SOC_RT298
269	select SND_SOC_DMIC
270	select SND_SOC_HDAC_HDMI
271	select SND_HDA_DSP_LOADER
272	help
273	   This adds support for ASoC machine driver for Broxton platforms
274	   with RT286 I2S audio codec.
275	   Say Y or m if you have such a device. This is a recommended option.
276	   If unsure select "N".
277
278endif ## SND_SOC_INTEL_APL
279
280if SND_SOC_INTEL_KBL
281
282config SND_SOC_INTEL_KBL_RT5663_MAX98927_MACH
283	tristate "KBL with RT5663 and MAX98927 in I2S Mode"
284	depends on I2C && ACPI
285	depends on MFD_INTEL_LPSS || COMPILE_TEST
286	select SND_SOC_RT5663
287	select SND_SOC_MAX98927
288	select SND_SOC_DMIC
289	select SND_SOC_HDAC_HDMI
290	select SND_SOC_INTEL_SKYLAKE_SSP_CLK
291	help
292	  This adds support for ASoC Onboard Codec I2S machine driver. This will
293	  create an alsa sound card for RT5663 + MAX98927.
294	  Say Y or m if you have such a device. This is a recommended option.
295	  If unsure select "N".
296
297config SND_SOC_INTEL_KBL_RT5663_RT5514_MAX98927_MACH
298        tristate "KBL with RT5663, RT5514 and MAX98927 in I2S Mode"
299	depends on I2C && ACPI
300	depends on MFD_INTEL_LPSS || COMPILE_TEST
301        depends on SPI
302        select SND_SOC_RT5663
303        select SND_SOC_RT5514
304        select SND_SOC_RT5514_SPI
305        select SND_SOC_MAX98927
306        select SND_SOC_HDAC_HDMI
307        help
308          This adds support for ASoC Onboard Codec I2S machine driver. This will
309          create an alsa sound card for RT5663 + RT5514 + 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_DA7219_MAX98357A_MACH
314	tristate "KBL with DA7219 and MAX98357A in I2S Mode"
315	depends on I2C && ACPI
316	depends on MFD_INTEL_LPSS || COMPILE_TEST
317	select SND_SOC_DA7219
318	select SND_SOC_MAX98357A
319	select SND_SOC_DMIC
320	select SND_SOC_HDAC_HDMI
321	help
322	  This adds support for ASoC Onboard Codec I2S machine driver. This will
323	  create an alsa sound card for DA7219 + MAX98357A I2S audio codec.
324	  Say Y if you have such a device.
325
326config SND_SOC_INTEL_KBL_DA7219_MAX98927_MACH
327	tristate "KBL with DA7219 and MAX98927 in I2S Mode"
328	depends on I2C && ACPI
329	depends on MFD_INTEL_LPSS || COMPILE_TEST
330	select SND_SOC_DA7219
331	select SND_SOC_MAX98927
332	select SND_SOC_MAX98373
333	select SND_SOC_DMIC
334	select SND_SOC_HDAC_HDMI
335	help
336	  This adds support for ASoC Onboard Codec I2S machine driver. This will
337	  create an alsa sound card for DA7219 + MAX98927 I2S audio codec.
338	  Say Y if you have such a device.
339	  If unsure select "N".
340
341config SND_SOC_INTEL_KBL_RT5660_MACH
342	tristate "KBL with RT5660 in I2S Mode"
343	depends on I2C && ACPI
344	depends on MFD_INTEL_LPSS || COMPILE_TEST
345	select SND_SOC_RT5660
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 RT5660 I2S audio codec.
350	  Say Y if you have such a device.
351
352endif ## SND_SOC_INTEL_KBL
353
354if SND_SOC_INTEL_GLK || (SND_SOC_SOF_GEMINILAKE  && SND_SOC_SOF_HDA_LINK)
355
356config SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH
357	tristate "GLK with RT5682 and MAX98357A in I2S Mode"
358	depends on I2C && ACPI
359	depends on MFD_INTEL_LPSS || COMPILE_TEST
360	select SND_SOC_RT5682
361	select SND_SOC_MAX98357A
362	select SND_SOC_DMIC
363	select SND_SOC_HDAC_HDMI
364	select SND_HDA_DSP_LOADER
365	help
366	   This adds support for ASoC machine driver for Geminilake platforms
367	   with RT5682 + MAX98357A I2S audio codec.
368	   Say Y if you have such a device.
369	   If unsure select "N".
370
371endif ## SND_SOC_INTEL_GLK || (SND_SOC_SOF_GEMINILAKE  && SND_SOC_SOF_HDA_LINK)
372
373if SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC || SND_SOC_SOF_HDA_AUDIO_CODEC
374
375config SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH
376	tristate "SKL/KBL/BXT/APL with HDA Codecs"
377	select SND_SOC_HDAC_HDMI
378	# SND_SOC_HDAC_HDA is already selected
379	help
380	  This adds support for ASoC machine driver for Intel platforms
381	  SKL/KBL/BXT/APL with iDisp, HDA audio codecs.
382          Say Y or m if you have such a device. This is a recommended option.
383	  If unsure select "N".
384
385endif ## SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC || SND_SOC_SOF_HDA_AUDIO_CODEC
386
387if SND_SOC_SOF_HDA_COMMON || SND_SOC_SOF_BAYTRAIL
388config SND_SOC_INTEL_SOF_RT5682_MACH
389	tristate "SOF with rt5682 codec in I2S Mode"
390	depends on I2C && ACPI
391	depends on (SND_SOC_SOF_HDA_COMMON && MFD_INTEL_LPSS) ||\
392		   (SND_SOC_SOF_BAYTRAIL && X86_INTEL_LPSS)
393	select SND_SOC_RT5682
394	select SND_SOC_DMIC
395	select SND_SOC_HDAC_HDMI if SND_SOC_SOF_HDA_COMMON
396	help
397	   This adds support for ASoC machine driver for SOF platforms
398	   with rt5682 codec.
399	   Say Y if you have such a device.
400	   If unsure select "N".
401endif ## SND_SOC_SOF_HDA_COMMON || SND_SOC_SOF_BAYTRAIL
402
403endif ## SND_SOC_INTEL_MACH
404