Merge tag 'asoc-fix-v5.4-rc4' of https://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.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         help
80           This adds support for Sound Open Firmware for Intel(R) platforms
81           using the Broadwell processors.
82           Say Y if you have such a device.
83           If unsure select "N".
84
85 config SND_SOC_SOF_BROADWELL
86         tristate
87         select SND_SOC_SOF_INTEL_COMMON
88         select SND_SOC_SOF_INTEL_HIFI_EP_IPC
89         help
90           This option is not user-selectable but automagically handled by
91           'select' statements at a higher level
92
93 endif ## SND_SOC_SOF_INTEL_ACPI
94
95 if SND_SOC_SOF_INTEL_PCI
96
97 config SND_SOC_SOF_MERRIFIELD_SUPPORT
98         bool "SOF support for Tangier/Merrifield"
99         help
100           This adds support for Sound Open Firmware for Intel(R) platforms
101           using the Tangier/Merrifield processors.
102           Say Y if you have such a device.
103           If unsure select "N".
104
105 config SND_SOC_SOF_MERRIFIELD
106         tristate
107         select SND_SOC_SOF_INTEL_ATOM_HIFI_EP
108         help
109           This option is not user-selectable but automagically handled by
110           'select' statements at a higher level
111
112 config SND_SOC_SOF_APOLLOLAKE_SUPPORT
113         bool "SOF support for Apollolake"
114         help
115           This adds support for Sound Open Firmware for Intel(R) platforms
116           using the Apollolake processors.
117           Say Y if you have such a device.
118           If unsure select "N".
119
120 config SND_SOC_SOF_APOLLOLAKE
121         tristate
122         select SND_SOC_SOF_HDA_COMMON
123         help
124           This option is not user-selectable but automagically handled by
125           'select' statements at a higher level
126
127 config SND_SOC_SOF_GEMINILAKE_SUPPORT
128         bool "SOF support for GeminiLake"
129         help
130           This adds support for Sound Open Firmware for Intel(R) platforms
131           using the Geminilake processors.
132           Say Y if you have such a device.
133           If unsure select "N".
134
135 config SND_SOC_SOF_GEMINILAKE
136         tristate
137         select SND_SOC_SOF_HDA_COMMON
138         help
139           This option is not user-selectable but automagically handled by
140           'select' statements at a higher level
141
142 config SND_SOC_SOF_CANNONLAKE_SUPPORT
143         bool "SOF support for Cannonlake"
144         help
145           This adds support for Sound Open Firmware for Intel(R) platforms
146           using the Cannonlake processors.
147           Say Y if you have such a device.
148           If unsure select "N".
149
150 config SND_SOC_SOF_CANNONLAKE
151         tristate
152         select SND_SOC_SOF_HDA_COMMON
153         help
154           This option is not user-selectable but automagically handled by
155           'select' statements at a higher level
156
157 config SND_SOC_SOF_COFFEELAKE_SUPPORT
158         bool "SOF support for CoffeeLake"
159         help
160           This adds support for Sound Open Firmware for Intel(R) platforms
161           using the Coffeelake processors.
162           Say Y if you have such a device.
163           If unsure select "N".
164
165 config SND_SOC_SOF_COFFEELAKE
166         tristate
167         select SND_SOC_SOF_HDA_COMMON
168         help
169           This option is not user-selectable but automagically handled by
170           'select' statements at a higher level
171
172 config SND_SOC_SOF_ICELAKE_SUPPORT
173         bool "SOF support for Icelake"
174         help
175           This adds support for Sound Open Firmware for Intel(R) platforms
176           using the Icelake processors.
177           Say Y if you have such a device.
178           If unsure select "N".
179
180 config SND_SOC_SOF_ICELAKE
181         tristate
182         select SND_SOC_SOF_HDA_COMMON
183         help
184           This option is not user-selectable but automagically handled by
185           'select' statements at a higher level
186
187 config SND_SOC_SOF_COMETLAKE_LP
188         tristate
189         select SND_SOC_SOF_HDA_COMMON
190         help
191           This option is not user-selectable but automagically handled by
192           'select' statements at a higher level
193
194 config SND_SOC_SOF_COMETLAKE_LP_SUPPORT
195         bool "SOF support for CometLake-LP"
196         help
197           This adds support for Sound Open Firmware for Intel(R) platforms
198           using the Cometlake-LP processors.
199           Say Y if you have such a device.
200           If unsure select "N".
201
202 config SND_SOC_SOF_COMETLAKE_H
203         tristate
204         select SND_SOC_SOF_HDA_COMMON
205         help
206           This option is not user-selectable but automagically handled by
207           'select' statements at a higher level
208
209 config SND_SOC_SOF_COMETLAKE_H_SUPPORT
210         bool "SOF support for CometLake-H"
211         help
212           This adds support for Sound Open Firmware for Intel(R) platforms
213           using the Cometlake-H processors.
214           Say Y if you have such a device.
215           If unsure select "N".
216
217 config SND_SOC_SOF_TIGERLAKE_SUPPORT
218         bool "SOF support for Tigerlake"
219         help
220           This adds support for Sound Open Firmware for Intel(R) platforms
221           using the Tigerlake processors.
222           Say Y if you have such a device.
223           If unsure select "N".
224
225 config SND_SOC_SOF_TIGERLAKE
226         tristate
227         select SND_SOC_SOF_HDA_COMMON
228         help
229           This option is not user-selectable but automagically handled by
230           'select' statements at a higher level
231
232 config SND_SOC_SOF_ELKHARTLAKE_SUPPORT
233         bool "SOF support for ElkhartLake"
234         help
235           This adds support for Sound Open Firmware for Intel(R) platforms
236           using the ElkhartLake processors.
237           Say Y if you have such a device.
238           If unsure select "N".
239
240 config SND_SOC_SOF_ELKHARTLAKE
241         tristate
242         select SND_SOC_SOF_HDA_COMMON
243         help
244           This option is not user-selectable but automagically handled by
245           'select' statements at a higher level
246
247 config SND_SOC_SOF_HDA_COMMON
248         tristate
249         select SND_SOC_SOF_INTEL_COMMON
250         select SND_SOC_SOF_HDA_LINK_BASELINE
251         help
252           This option is not user-selectable but automagically handled by
253           'select' statements at a higher level
254
255 if SND_SOC_SOF_HDA_COMMON
256
257 config SND_SOC_SOF_HDA_LINK
258         bool "SOF support for HDA Links(HDA/HDMI)"
259         depends on SND_SOC_SOF_NOCODEC=n
260         select SND_SOC_SOF_PROBE_WORK_QUEUE
261         help
262           This adds support for HDA links(HDA/HDMI) with Sound Open Firmware
263                   for Intel(R) platforms.
264           Say Y if you want to enable HDA links with SOF.
265           If unsure select "N".
266
267 config SND_SOC_SOF_HDA_AUDIO_CODEC
268         bool "SOF support for HDAudio codecs"
269         depends on SND_SOC_SOF_HDA_LINK
270         help
271           This adds support for HDAudio codecs with Sound Open Firmware
272                   for Intel(R) platforms.
273           Say Y if you want to enable HDAudio codecs with SOF.
274           If unsure select "N".
275
276 config SND_SOC_SOF_HDA_ALWAYS_ENABLE_DMI_L1
277         bool "SOF enable DMI Link L1"
278         help
279           This option enables DMI L1 for both playback and capture
280           and disables known workarounds for specific HDaudio platforms.
281           Only use to look into power optimizations on platforms not
282           affected by DMI L1 issues. This option is not recommended.
283           Say Y if you want to enable DMI Link L1
284           If unsure, select "N".
285
286 endif ## SND_SOC_SOF_HDA_COMMON
287
288 config SND_SOC_SOF_HDA_LINK_BASELINE
289         tristate
290         select SND_SOC_SOF_HDA if SND_SOC_SOF_HDA_LINK
291         help
292           This option is not user-selectable but automagically handled by
293           'select' statements at a higher level
294
295 config SND_SOC_SOF_HDA
296         tristate
297         select SND_HDA_EXT_CORE if SND_SOC_SOF_HDA_LINK
298         select SND_SOC_HDAC_HDA if SND_SOC_SOF_HDA_AUDIO_CODEC
299         select SND_INTEL_NHLT if ACPI
300         help
301           This option is not user-selectable but automagically handled by
302           'select' statements at a higher level
303
304 endif ## SND_SOC_SOF_INTEL_PCI
305
306 endif ## SND_SOC_SOF_INTEL_TOPLEVEL