Linux-libre 5.4.48-gnu
[librecmc/linux-libre.git] / sound / soc / sof / intel / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config 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
10 if SND_SOC_SOF_INTEL_TOPLEVEL
11
12 config SND_SOC_SOF_INTEL_ACPI
13         tristate
14         select SND_SOC_SOF_BAYTRAIL  if SND_SOC_SOF_BAYTRAIL_SUPPORT
15         select SND_SOC_SOF_BROADWELL if SND_SOC_SOF_BROADWELL_SUPPORT
16         help
17           This option is not user-selectable but automagically handled by
18           'select' statements at a higher level
19
20 config SND_SOC_SOF_INTEL_PCI
21         tristate
22         select SND_SOC_SOF_MERRIFIELD  if SND_SOC_SOF_MERRIFIELD_SUPPORT
23         select SND_SOC_SOF_APOLLOLAKE  if SND_SOC_SOF_APOLLOLAKE_SUPPORT
24         select SND_SOC_SOF_GEMINILAKE  if SND_SOC_SOF_GEMINILAKE_SUPPORT
25         select SND_SOC_SOF_CANNONLAKE  if SND_SOC_SOF_CANNONLAKE_SUPPORT
26         select SND_SOC_SOF_COFFEELAKE  if SND_SOC_SOF_COFFEELAKE_SUPPORT
27         select SND_SOC_SOF_ICELAKE     if SND_SOC_SOF_ICELAKE_SUPPORT
28         select SND_SOC_SOF_COMETLAKE_LP if SND_SOC_SOF_COMETLAKE_LP_SUPPORT
29         select SND_SOC_SOF_COMETLAKE_H if SND_SOC_SOF_COMETLAKE_H_SUPPORT
30         select SND_SOC_SOF_TIGERLAKE   if SND_SOC_SOF_TIGERLAKE_SUPPORT
31         select SND_SOC_SOF_ELKHARTLAKE if SND_SOC_SOF_ELKHARTLAKE_SUPPORT
32         help
33           This option is not user-selectable but automagically handled by
34           'select' statements at a higher level
35
36 config SND_SOC_SOF_INTEL_HIFI_EP_IPC
37         tristate
38         help
39           This option is not user-selectable but automagically handled by
40           'select' statements at a higher level
41
42 config SND_SOC_SOF_INTEL_ATOM_HIFI_EP
43         tristate
44         select SND_SOC_SOF_INTEL_COMMON
45         select SND_SOC_SOF_INTEL_HIFI_EP_IPC
46         help
47           This option is not user-selectable but automagically handled by
48           'select' statements at a higher level
49
50 config SND_SOC_SOF_INTEL_COMMON
51         tristate
52         select SND_SOC_ACPI_INTEL_MATCH
53         select SND_SOC_SOF_XTENSA
54         select SND_SOC_INTEL_MACH
55         select SND_SOC_ACPI if ACPI
56         help
57           This option is not user-selectable but automagically handled by
58           'select' statements at a higher level
59
60 if SND_SOC_SOF_INTEL_ACPI
61
62 config SND_SOC_SOF_BAYTRAIL_SUPPORT
63         bool "SOF support for Baytrail, Braswell and Cherrytrail"
64         help
65           This adds support for Sound Open Firmware for Intel(R) platforms
66           using the Baytrail, Braswell or Cherrytrail processors.
67           Say Y if you have such a device.
68           If unsure select "N".
69
70 config SND_SOC_SOF_BAYTRAIL
71         tristate
72         select SND_SOC_SOF_INTEL_ATOM_HIFI_EP
73         help
74           This option is not user-selectable but automagically handled by
75           'select' statements at a higher level
76
77 config SND_SOC_SOF_BROADWELL_SUPPORT
78         bool "SOF support for Broadwell"
79         depends on SND_SOC_INTEL_HASWELL=n
80         help
81           This adds support for Sound Open Firmware for Intel(R) platforms
82           using the Broadwell processors.
83           This option is mutually exclusive with the Haswell/Broadwell legacy
84           driver. If you want to enable SOF on Broadwell you need to deselect
85           the legacy driver first.
86           SOF does fully support Broadwell yet, so this option is not
87           recommended for distros. At some point all legacy drivers will be
88           deprecated but not before all userspace firmware/topology/UCM files
89           are made available to downstream distros.
90           Say Y if you want to enable SOF on Broadwell
91           If unsure select "N".
92
93 config SND_SOC_SOF_BROADWELL
94         tristate
95         select SND_SOC_SOF_INTEL_COMMON
96         select SND_SOC_SOF_INTEL_HIFI_EP_IPC
97         help
98           This option is not user-selectable but automagically handled by
99           'select' statements at a higher level
100
101 endif ## SND_SOC_SOF_INTEL_ACPI
102
103 if SND_SOC_SOF_INTEL_PCI
104
105 config SND_SOC_SOF_MERRIFIELD_SUPPORT
106         bool "SOF support for Tangier/Merrifield"
107         help
108           This adds support for Sound Open Firmware for Intel(R) platforms
109           using the Tangier/Merrifield processors.
110           Say Y if you have such a device.
111           If unsure select "N".
112
113 config SND_SOC_SOF_MERRIFIELD
114         tristate
115         select SND_SOC_SOF_INTEL_ATOM_HIFI_EP
116         help
117           This option is not user-selectable but automagically handled by
118           'select' statements at a higher level
119
120 config SND_SOC_SOF_APOLLOLAKE_SUPPORT
121         bool "SOF support for Apollolake"
122         help
123           This adds support for Sound Open Firmware for Intel(R) platforms
124           using the Apollolake processors.
125           Say Y if you have such a device.
126           If unsure select "N".
127
128 config SND_SOC_SOF_APOLLOLAKE
129         tristate
130         select SND_SOC_SOF_HDA_COMMON
131         help
132           This option is not user-selectable but automagically handled by
133           'select' statements at a higher level
134
135 config SND_SOC_SOF_GEMINILAKE_SUPPORT
136         bool "SOF support for GeminiLake"
137         help
138           This adds support for Sound Open Firmware for Intel(R) platforms
139           using the Geminilake processors.
140           Say Y if you have such a device.
141           If unsure select "N".
142
143 config SND_SOC_SOF_GEMINILAKE
144         tristate
145         select SND_SOC_SOF_HDA_COMMON
146         help
147           This option is not user-selectable but automagically handled by
148           'select' statements at a higher level
149
150 config SND_SOC_SOF_CANNONLAKE_SUPPORT
151         bool "SOF support for Cannonlake"
152         help
153           This adds support for Sound Open Firmware for Intel(R) platforms
154           using the Cannonlake processors.
155           Say Y if you have such a device.
156           If unsure select "N".
157
158 config SND_SOC_SOF_CANNONLAKE
159         tristate
160         select SND_SOC_SOF_HDA_COMMON
161         help
162           This option is not user-selectable but automagically handled by
163           'select' statements at a higher level
164
165 config SND_SOC_SOF_COFFEELAKE_SUPPORT
166         bool "SOF support for CoffeeLake"
167         help
168           This adds support for Sound Open Firmware for Intel(R) platforms
169           using the Coffeelake processors.
170           Say Y if you have such a device.
171           If unsure select "N".
172
173 config SND_SOC_SOF_COFFEELAKE
174         tristate
175         select SND_SOC_SOF_HDA_COMMON
176         help
177           This option is not user-selectable but automagically handled by
178           'select' statements at a higher level
179
180 config SND_SOC_SOF_ICELAKE_SUPPORT
181         bool "SOF support for Icelake"
182         help
183           This adds support for Sound Open Firmware for Intel(R) platforms
184           using the Icelake processors.
185           Say Y if you have such a device.
186           If unsure select "N".
187
188 config SND_SOC_SOF_ICELAKE
189         tristate
190         select SND_SOC_SOF_HDA_COMMON
191         help
192           This option is not user-selectable but automagically handled by
193           'select' statements at a higher level
194
195 config SND_SOC_SOF_COMETLAKE_LP
196         tristate
197         select SND_SOC_SOF_HDA_COMMON
198         help
199           This option is not user-selectable but automagically handled by
200           'select' statements at a higher level
201
202 config SND_SOC_SOF_COMETLAKE_LP_SUPPORT
203         bool "SOF support for CometLake-LP"
204         help
205           This adds support for Sound Open Firmware for Intel(R) platforms
206           using the Cometlake-LP processors.
207           Say Y if you have such a device.
208           If unsure select "N".
209
210 config SND_SOC_SOF_COMETLAKE_H
211         tristate
212         select SND_SOC_SOF_HDA_COMMON
213         help
214           This option is not user-selectable but automagically handled by
215           'select' statements at a higher level
216
217 config SND_SOC_SOF_COMETLAKE_H_SUPPORT
218         bool "SOF support for CometLake-H"
219         help
220           This adds support for Sound Open Firmware for Intel(R) platforms
221           using the Cometlake-H processors.
222           Say Y if you have such a device.
223           If unsure select "N".
224
225 config SND_SOC_SOF_TIGERLAKE_SUPPORT
226         bool "SOF support for Tigerlake"
227         help
228           This adds support for Sound Open Firmware for Intel(R) platforms
229           using the Tigerlake processors.
230           Say Y if you have such a device.
231           If unsure select "N".
232
233 config SND_SOC_SOF_TIGERLAKE
234         tristate
235         select SND_SOC_SOF_HDA_COMMON
236         help
237           This option is not user-selectable but automagically handled by
238           'select' statements at a higher level
239
240 config SND_SOC_SOF_ELKHARTLAKE_SUPPORT
241         bool "SOF support for ElkhartLake"
242         help
243           This adds support for Sound Open Firmware for Intel(R) platforms
244           using the ElkhartLake processors.
245           Say Y if you have such a device.
246           If unsure select "N".
247
248 config SND_SOC_SOF_ELKHARTLAKE
249         tristate
250         select SND_SOC_SOF_HDA_COMMON
251         help
252           This option is not user-selectable but automagically handled by
253           'select' statements at a higher level
254
255 config SND_SOC_SOF_HDA_COMMON
256         tristate
257         select SND_SOC_SOF_INTEL_COMMON
258         select SND_SOC_SOF_HDA_LINK_BASELINE
259         help
260           This option is not user-selectable but automagically handled by
261           'select' statements at a higher level
262
263 if SND_SOC_SOF_HDA_COMMON
264
265 config SND_SOC_SOF_HDA_LINK
266         bool "SOF support for HDA Links(HDA/HDMI)"
267         depends on SND_SOC_SOF_NOCODEC=n
268         select SND_SOC_SOF_PROBE_WORK_QUEUE
269         help
270           This adds support for HDA links(HDA/HDMI) with Sound Open Firmware
271                   for Intel(R) platforms.
272           Say Y if you want to enable HDA links with SOF.
273           If unsure select "N".
274
275 config SND_SOC_SOF_HDA_AUDIO_CODEC
276         bool "SOF support for HDAudio codecs"
277         depends on SND_SOC_SOF_HDA_LINK
278         help
279           This adds support for HDAudio codecs with Sound Open Firmware
280                   for Intel(R) platforms.
281           Say Y if you want to enable HDAudio codecs with SOF.
282           If unsure select "N".
283
284 config SND_SOC_SOF_HDA_ALWAYS_ENABLE_DMI_L1
285         bool "SOF enable DMI Link L1"
286         help
287           This option enables DMI L1 for both playback and capture
288           and disables known workarounds for specific HDaudio platforms.
289           Only use to look into power optimizations on platforms not
290           affected by DMI L1 issues. This option is not recommended.
291           Say Y if you want to enable DMI Link L1
292           If unsure, select "N".
293
294 endif ## SND_SOC_SOF_HDA_COMMON
295
296 config SND_SOC_SOF_HDA_LINK_BASELINE
297         tristate
298         select SND_SOC_SOF_HDA if SND_SOC_SOF_HDA_LINK
299         help
300           This option is not user-selectable but automagically handled by
301           'select' statements at a higher level
302
303 config SND_SOC_SOF_HDA
304         tristate
305         select SND_HDA_EXT_CORE if SND_SOC_SOF_HDA_LINK
306         select SND_SOC_HDAC_HDA if SND_SOC_SOF_HDA_AUDIO_CODEC
307         select SND_INTEL_NHLT if ACPI
308         help
309           This option is not user-selectable but automagically handled by
310           'select' statements at a higher level
311
312 endif ## SND_SOC_SOF_INTEL_PCI
313
314 endif ## SND_SOC_SOF_INTEL_TOPLEVEL