Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: GPL-2.0-only
2config SND_SOC_SOF_INTEL_TOPLEVEL
3 bool "SOF support for Intel audio DSPs"
4 depends on X86 || COMPILE_TEST
5 help
6 This adds support for Sound Open Firmware for Intel(R) platforms.
7 Say Y if you have such a device.
8 If unsure select "N".
9
10if SND_SOC_SOF_INTEL_TOPLEVEL
11
12config SND_SOC_SOF_INTEL_HIFI_EP_IPC
13 tristate
14 help
15 This option is not user-selectable but automagically handled by
16 'select' statements at a higher level.
17
18config SND_SOC_SOF_INTEL_ATOM_HIFI_EP
19 tristate
20 select SND_SOC_SOF_INTEL_COMMON
21 select SND_SOC_SOF_INTEL_HIFI_EP_IPC
22 help
23 This option is not user-selectable but automagically handled by
24 'select' statements at a higher level.
25
26config SND_SOC_SOF_INTEL_COMMON
27 tristate
28 select SND_SOC_SOF
29 select SND_SOC_ACPI_INTEL_MATCH
30 select SND_SOC_SOF_XTENSA
31 select SND_SOC_INTEL_MACH
32 select SND_SOC_ACPI if ACPI
33 select SND_INTEL_DSP_CONFIG
34 help
35 This option is not user-selectable but automagically handled by
36 'select' statements at a higher level.
37
38if SND_SOC_SOF_ACPI
39
40config SND_SOC_SOF_BAYTRAIL
41 tristate "SOF support for Baytrail, Braswell and Cherrytrail"
42 default SND_SOC_SOF_ACPI
43 select SND_SOC_SOF_IPC3
44 select SND_SOC_SOF_INTEL_COMMON
45 select SND_SOC_SOF_INTEL_ATOM_HIFI_EP
46 select SND_SOC_SOF_ACPI_DEV
47 select IOSF_MBI if X86 && PCI
48 help
49 This adds support for Sound Open Firmware for Intel(R) platforms
50 using the Baytrail, Braswell or Cherrytrail processors.
51 This option can coexist in the same build with the Atom legacy
52 drivers, currently the default but which will be deprecated
53 at some point.
54 Existing firmware/topology binaries and UCM configurations
55 typically located in the root file system are already
56 compatible with both SOF or Atom/SST legacy drivers.
57 This is a recommended option for distributions.
58 Say Y if you want to enable SOF on Baytrail/Cherrytrail.
59 If unsure select "N".
60
61config SND_SOC_SOF_BROADWELL
62 tristate "SOF support for Broadwell"
63 default SND_SOC_SOF_ACPI
64 select SND_SOC_SOF_IPC3
65 select SND_SOC_SOF_INTEL_COMMON
66 select SND_SOC_SOF_INTEL_HIFI_EP_IPC
67 select SND_SOC_SOF_ACPI_DEV
68 help
69 This adds support for Sound Open Firmware for Intel(R) platforms
70 using the Broadwell processors.
71 This option can coexist in the same build with the default 'catpt'
72 driver.
73 Existing firmware/topology binaries and UCM configurations typically
74 located in the root file system are already compatible with both SOF
75 or catpt drivers.
76 SOF does not fully support Broadwell and has limitations related to
77 DMA and suspend-resume, this is not a recommended option for
78 distributions.
79 Say Y if you want to enable SOF on Broadwell.
80 If unsure select "N".
81
82endif ## SND_SOC_SOF_ACPI
83
84if SND_SOC_SOF_PCI
85
86config SND_SOC_SOF_MERRIFIELD
87 tristate "SOF support for Tangier/Merrifield"
88 default SND_SOC_SOF_PCI
89 select SND_SOC_SOF_PCI_DEV
90 select SND_SOC_SOF_IPC3
91 select SND_SOC_SOF_INTEL_ATOM_HIFI_EP
92 help
93 This adds support for Sound Open Firmware for Intel(R) platforms
94 using the Tangier/Merrifield processors.
95 Say Y if you have such a device.
96 If unsure select "N".
97
98config SND_SOC_SOF_INTEL_SKL
99 tristate
100 select SND_SOC_SOF_HDA_GENERIC
101 select SND_SOC_SOF_IPC4
102
103config SND_SOC_SOF_SKYLAKE
104 tristate "SOF support for SkyLake"
105 default SND_SOC_SOF_PCI
106 select SND_SOC_SOF_INTEL_SKL
107 help
108 This adds support for the Intel(R) platforms using the SkyLake processors.
109 Say Y if you have such a device.
110 If unsure select "N".
111 This is intended only for developers and not a recommend option for distros.
112
113config SND_SOC_SOF_KABYLAKE
114 tristate "SOF support for KabyLake"
115 default SND_SOC_SOF_PCI
116 select SND_SOC_SOF_INTEL_SKL
117 help
118 This adds support for the Intel(R) platforms using the KabyLake processors.
119 Say Y if you have such a device.
120 If unsure select "N".
121 This is intended only for developers and not a recommend option for distros.
122
123config SND_SOC_SOF_INTEL_APL
124 tristate
125 select SND_SOC_SOF_HDA_GENERIC
126 select SND_SOC_SOF_IPC3
127 select SND_SOC_SOF_IPC4
128
129config SND_SOC_SOF_APOLLOLAKE
130 tristate "SOF support for Apollolake"
131 default SND_SOC_SOF_PCI
132 select SND_SOC_SOF_INTEL_APL
133 help
134 This adds support for Sound Open Firmware for Intel(R) platforms
135 using the Apollolake processors.
136 Say Y if you have such a device.
137 If unsure select "N".
138
139config SND_SOC_SOF_GEMINILAKE
140 tristate "SOF support for GeminiLake"
141 default SND_SOC_SOF_PCI
142 select SND_SOC_SOF_INTEL_APL
143 help
144 This adds support for Sound Open Firmware for Intel(R) platforms
145 using the Geminilake processors.
146 Say Y if you have such a device.
147 If unsure select "N".
148
149config SND_SOC_SOF_INTEL_CNL
150 tristate
151 select SND_SOC_SOF_HDA_GENERIC
152 select SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE
153 select SND_SOC_SOF_IPC3
154 select SND_SOC_SOF_IPC4
155
156config SND_SOC_SOF_CANNONLAKE
157 tristate "SOF support for Cannonlake"
158 default SND_SOC_SOF_PCI
159 select SND_SOC_SOF_INTEL_CNL
160 help
161 This adds support for Sound Open Firmware for Intel(R) platforms
162 using the Cannonlake processors.
163 Say Y if you have such a device.
164 If unsure select "N".
165
166config SND_SOC_SOF_COFFEELAKE
167 tristate "SOF support for CoffeeLake"
168 default SND_SOC_SOF_PCI
169 select SND_SOC_SOF_INTEL_CNL
170 help
171 This adds support for Sound Open Firmware for Intel(R) platforms
172 using the Coffeelake processors.
173 Say Y if you have such a device.
174 If unsure select "N".
175
176config SND_SOC_SOF_COMETLAKE
177 tristate "SOF support for CometLake"
178 default SND_SOC_SOF_PCI
179 select SND_SOC_SOF_INTEL_CNL
180 help
181 This adds support for Sound Open Firmware for Intel(R) platforms
182 using the Cometlake processors.
183 If unsure select "N".
184
185config SND_SOC_SOF_INTEL_ICL
186 tristate
187 select SND_SOC_SOF_HDA_GENERIC
188 select SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE
189 select SND_SOC_SOF_IPC3
190 select SND_SOC_SOF_IPC4
191 select SND_SOC_SOF_INTEL_CNL
192
193config SND_SOC_SOF_ICELAKE
194 tristate "SOF support for Icelake"
195 default SND_SOC_SOF_PCI
196 select SND_SOC_SOF_INTEL_ICL
197 help
198 This adds support for Sound Open Firmware for Intel(R) platforms
199 using the Icelake processors.
200 Say Y if you have such a device.
201 If unsure select "N".
202
203config SND_SOC_SOF_JASPERLAKE
204 tristate "SOF support for JasperLake"
205 default SND_SOC_SOF_PCI
206 select SND_SOC_SOF_INTEL_ICL
207 help
208 This adds support for Sound Open Firmware for Intel(R) platforms
209 using the JasperLake processors.
210 Say Y if you have such a device.
211 If unsure select "N".
212
213config SND_SOC_SOF_INTEL_TGL
214 tristate
215 select SND_SOC_SOF_HDA_GENERIC
216 select SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE
217 select SND_SOC_SOF_IPC3
218 select SND_SOC_SOF_IPC4
219 select SND_SOC_SOF_INTEL_CNL
220
221config SND_SOC_SOF_TIGERLAKE
222 tristate "SOF support for Tigerlake"
223 default SND_SOC_SOF_PCI
224 select SND_SOC_SOF_INTEL_TGL
225 help
226 This adds support for Sound Open Firmware for Intel(R) platforms
227 using the Tigerlake processors.
228 Say Y if you have such a device.
229 If unsure select "N".
230
231config SND_SOC_SOF_ELKHARTLAKE
232 tristate "SOF support for ElkhartLake"
233 default SND_SOC_SOF_PCI
234 select SND_SOC_SOF_INTEL_TGL
235 help
236 This adds support for Sound Open Firmware for Intel(R) platforms
237 using the ElkhartLake processors.
238 Say Y if you have such a device.
239 If unsure select "N".
240
241config SND_SOC_SOF_ALDERLAKE
242 tristate "SOF support for Alderlake"
243 default SND_SOC_SOF_PCI
244 select SND_SOC_SOF_INTEL_TGL
245 help
246 This adds support for Sound Open Firmware for Intel(R) platforms
247 using the Alderlake processors.
248 Say Y if you have such a device.
249 If unsure select "N".
250
251config SND_SOC_SOF_INTEL_MTL
252 tristate
253 select SND_SOC_SOF_HDA_GENERIC
254 select SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE
255 select SND_SOC_SOF_IPC4
256
257config SND_SOC_SOF_METEORLAKE
258 tristate "SOF support for Meteorlake"
259 default SND_SOC_SOF_PCI
260 select SND_SOC_SOF_INTEL_MTL
261 help
262 This adds support for Sound Open Firmware for Intel(R) platforms
263 using the Meteorlake processors.
264 Say Y if you have such a device.
265 If unsure select "N".
266
267config SND_SOC_SOF_INTEL_LNL
268 tristate
269 select SOUNDWIRE_INTEL if SND_SOC_SOF_INTEL_SOUNDWIRE != n
270 select SND_SOC_SOF_HDA_GENERIC
271 select SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE
272 select SND_SOF_SOF_HDA_SDW_BPT if SND_SOC_SOF_INTEL_SOUNDWIRE != n
273 select SND_SOC_SOF_IPC4
274 select SND_SOC_SOF_INTEL_MTL
275
276config SND_SOC_SOF_LUNARLAKE
277 tristate "SOF support for Lunarlake"
278 default SND_SOC_SOF_PCI
279 select SND_SOC_SOF_INTEL_LNL
280 help
281 This adds support for Sound Open Firmware for Intel(R) platforms
282 using the Lunarlake processors.
283 Say Y if you have such a device.
284 If unsure select "N".
285
286config SND_SOC_SOF_INTEL_PTL
287 tristate
288 select SND_SOC_SOF_HDA_COMMON
289 select SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE
290 select SND_SOC_SOF_IPC4
291 select SND_SOC_SOF_INTEL_LNL
292
293config SND_SOC_SOF_PANTHERLAKE
294 tristate "SOF support for Pantherlake"
295 default SND_SOC_SOF_PCI
296 select SND_SOC_SOF_INTEL_PTL
297 help
298 This adds support for Sound Open Firmware for Intel(R) platforms
299 using the Pantherlake processors.
300 Say Y if you have such a device.
301 If unsure select "N".
302
303config SND_SOC_SOF_INTEL_NVL
304 tristate
305 select SND_SOC_SOF_HDA_COMMON
306 select SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE
307 select SND_SOC_SOF_IPC4
308 select SND_SOC_SOF_INTEL_PTL
309
310config SND_SOC_SOF_NOVALAKE
311 tristate "SOF support for Novalake"
312 default SND_SOC_SOF_PCI
313 select SND_SOC_SOF_INTEL_NVL
314 help
315 This adds support for Sound Open Firmware for Intel(R) platforms
316 using the Novalake processors.
317 Say Y if you have such a device.
318 If unsure select "N".
319
320config SND_SOC_SOF_HDA_COMMON
321 tristate
322
323config SND_SOC_SOF_HDA_GENERIC
324 tristate
325 select SND_SOC_SOF_HDA_COMMON
326 select SND_SOC_SOF_INTEL_COMMON
327 select SND_SOC_SOF_PCI_DEV
328 select SND_INTEL_DSP_CONFIG
329 select SND_SOC_SOF_HDA_LINK_BASELINE
330 select SND_SOC_SOF_HDA_PROBES
331 select SND_SOC_SDW_UTILS if SND_SOC_SOF_INTEL_SOUNDWIRE
332 select SND_SOC_SOF_HDA_MLINK if SND_SOC_SOF_HDA_LINK
333 help
334 This option is not user-selectable but automagically handled by
335 'select' statements at a higher level.
336
337config SND_SOC_SOF_HDA_MLINK
338 tristate
339 help
340 This option is not user-selectable but automagically handled by
341 'select' statements at a higher level.
342
343if SND_SOC_SOF_HDA_GENERIC
344
345config SND_SOC_SOF_HDA_LINK
346 bool "SOF support for HDA Links(HDA/HDMI)"
347 help
348 This adds support for HDA links(HDA/HDMI) with Sound Open Firmware
349 for Intel(R) platforms.
350 Say Y if you want to enable HDA links with SOF.
351 If unsure select "N".
352
353config SND_SOC_SOF_HDA_AUDIO_CODEC
354 bool "SOF support for HDAudio codecs"
355 depends on SND_SOC_SOF_HDA_LINK
356 select SND_SOC_SOF_PROBE_WORK_QUEUE
357 help
358 This adds support for HDAudio codecs with Sound Open Firmware
359 for Intel(R) platforms.
360 Say Y if you want to enable HDAudio codecs with SOF.
361 If unsure select "N".
362
363endif ## SND_SOC_SOF_HDA_GENERIC
364
365config SND_SOF_SOF_HDA_SDW_BPT
366 tristate
367 select SND_HDA_EXT_CORE
368 help
369 This option is not user-selectable but automagically handled by
370 'select' statements at a higher level.
371
372config SND_SOC_SOF_HDA_LINK_BASELINE
373 tristate
374 select SND_SOC_SOF_HDA if SND_SOC_SOF_HDA_LINK
375 help
376 This option is not user-selectable but automagically handled by
377 'select' statements at a higher level.
378
379config SND_SOC_SOF_HDA
380 tristate
381 select SND_HDA_EXT_CORE if SND_SOC_SOF_HDA_LINK
382 select SND_SOC_HDAC_HDA if SND_SOC_SOF_HDA_AUDIO_CODEC
383 help
384 This option is not user-selectable but automagically handled by
385 'select' statements at a higher level.
386
387config SND_SOC_SOF_HDA_PROBES
388 tristate
389 select SND_SOC_SOF_DEBUG_PROBES
390 help
391 The option enables the data probing for Intel(R) Skylake and newer
392 (HDA) platforms.
393 This option is not user-selectable but automagically handled by
394 'select' statements at a higher level.
395
396config SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE
397 tristate
398 select SOUNDWIRE_INTEL if SND_SOC_SOF_INTEL_SOUNDWIRE != n
399 select SND_INTEL_SOUNDWIRE_ACPI if SND_SOC_SOF_INTEL_SOUNDWIRE != n
400
401config SND_SOC_SOF_INTEL_SOUNDWIRE
402 tristate "SOF support for SoundWire"
403 default SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE
404 depends on SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE
405 depends on ACPI && SOUNDWIRE
406 depends on !(SOUNDWIRE=m && SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE=y)
407 help
408 This adds support for SoundWire with Sound Open Firmware
409 for Intel(R) platforms.
410 Say Y if you want to enable SoundWire links with SOF.
411 If unsure select "N".
412
413endif ## SND_SOC_SOF_PCI
414
415endif ## SND_SOC_SOF_INTEL_TOPLEVEL