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