Linux-libre 5.3.12-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         help
31           This option is not user-selectable but automagically handled by
32           'select' statements at a higher level
33
34 config SND_SOC_SOF_INTEL_HIFI_EP_IPC
35         tristate
36         help
37           This option is not user-selectable but automagically handled by
38           'select' statements at a higher level
39
40 config SND_SOC_SOF_INTEL_ATOM_HIFI_EP
41         tristate
42         select SND_SOC_SOF_INTEL_COMMON
43         select SND_SOC_SOF_INTEL_HIFI_EP_IPC
44         help
45           This option is not user-selectable but automagically handled by
46           'select' statements at a higher level
47
48 config SND_SOC_SOF_INTEL_COMMON
49         tristate
50         select SND_SOC_ACPI_INTEL_MATCH
51         select SND_SOC_SOF_XTENSA
52         select SND_SOC_INTEL_MACH
53         select SND_SOC_ACPI if ACPI
54         help
55           This option is not user-selectable but automagically handled by
56           'select' statements at a higher level
57
58 if SND_SOC_SOF_INTEL_ACPI
59
60 config SND_SOC_SOF_BAYTRAIL_SUPPORT
61         bool "SOF support for Baytrail, Braswell and Cherrytrail"
62         help
63           This adds support for Sound Open Firmware for Intel(R) platforms
64           using the Baytrail, Braswell or Cherrytrail processors.
65           Say Y if you have such a device.
66           If unsure select "N".
67
68 config SND_SOC_SOF_BAYTRAIL
69         tristate
70         select SND_SOC_SOF_INTEL_ATOM_HIFI_EP
71         help
72           This option is not user-selectable but automagically handled by
73           'select' statements at a higher level
74
75 config SND_SOC_SOF_BROADWELL_SUPPORT
76         bool "SOF support for Broadwell"
77         help
78           This adds support for Sound Open Firmware for Intel(R) platforms
79           using the Broadwell processors.
80           Say Y if you have such a device.
81           If unsure select "N".
82
83 config SND_SOC_SOF_BROADWELL
84         tristate
85         select SND_SOC_SOF_INTEL_COMMON
86         select SND_SOC_SOF_INTEL_HIFI_EP_IPC
87         help
88           This option is not user-selectable but automagically handled by
89           'select' statements at a higher level
90
91 endif ## SND_SOC_SOF_INTEL_ACPI
92
93 if SND_SOC_SOF_INTEL_PCI
94
95 config SND_SOC_SOF_MERRIFIELD_SUPPORT
96         bool "SOF support for Tangier/Merrifield"
97         help
98           This adds support for Sound Open Firmware for Intel(R) platforms
99           using the Tangier/Merrifield processors.
100           Say Y if you have such a device.
101           If unsure select "N".
102
103 config SND_SOC_SOF_MERRIFIELD
104         tristate
105         select SND_SOC_SOF_INTEL_ATOM_HIFI_EP
106         help
107           This option is not user-selectable but automagically handled by
108           'select' statements at a higher level
109
110 config SND_SOC_SOF_APOLLOLAKE_SUPPORT
111         bool "SOF support for Apollolake"
112         help
113           This adds support for Sound Open Firmware for Intel(R) platforms
114           using the Apollolake processors.
115           Say Y if you have such a device.
116           If unsure select "N".
117
118 config SND_SOC_SOF_APOLLOLAKE
119         tristate
120         select SND_SOC_SOF_HDA_COMMON
121         help
122           This option is not user-selectable but automagically handled by
123           'select' statements at a higher level
124
125 config SND_SOC_SOF_GEMINILAKE_SUPPORT
126         bool "SOF support for GeminiLake"
127         help
128           This adds support for Sound Open Firmware for Intel(R) platforms
129           using the Geminilake processors.
130           Say Y if you have such a device.
131           If unsure select "N".
132
133 config SND_SOC_SOF_GEMINILAKE
134         tristate
135         select SND_SOC_SOF_HDA_COMMON
136         help
137           This option is not user-selectable but automagically handled by
138           'select' statements at a higher level
139
140 config SND_SOC_SOF_CANNONLAKE_SUPPORT
141         bool "SOF support for Cannonlake"
142         help
143           This adds support for Sound Open Firmware for Intel(R) platforms
144           using the Cannonlake processors.
145           Say Y if you have such a device.
146           If unsure select "N".
147
148 config SND_SOC_SOF_CANNONLAKE
149         tristate
150         select SND_SOC_SOF_HDA_COMMON
151         help
152           This option is not user-selectable but automagically handled by
153           'select' statements at a higher level
154
155 config SND_SOC_SOF_COFFEELAKE_SUPPORT
156         bool "SOF support for CoffeeLake"
157         help
158           This adds support for Sound Open Firmware for Intel(R) platforms
159           using the Coffeelake processors.
160           Say Y if you have such a device.
161           If unsure select "N".
162
163 config SND_SOC_SOF_COFFEELAKE
164         tristate
165         select SND_SOC_SOF_HDA_COMMON
166         help
167           This option is not user-selectable but automagically handled by
168           'select' statements at a higher level
169
170 config SND_SOC_SOF_ICELAKE_SUPPORT
171         bool "SOF support for Icelake"
172         help
173           This adds support for Sound Open Firmware for Intel(R) platforms
174           using the Icelake processors.
175           Say Y if you have such a device.
176           If unsure select "N".
177
178 config SND_SOC_SOF_ICELAKE
179         tristate
180         select SND_SOC_SOF_HDA_COMMON
181         help
182           This option is not user-selectable but automagically handled by
183           'select' statements at a higher level
184
185 config SND_SOC_SOF_COMETLAKE_LP
186         tristate
187         select SND_SOC_SOF_HDA_COMMON
188         help
189           This option is not user-selectable but automagically handled by
190           'select' statements at a higher level
191
192 config SND_SOC_SOF_COMETLAKE_LP_SUPPORT
193         bool "SOF support for CometLake-LP"
194         help
195           This adds support for Sound Open Firmware for Intel(R) platforms
196           using the Cometlake-LP processors.
197           Say Y if you have such a device.
198           If unsure select "N".
199
200 config SND_SOC_SOF_COMETLAKE_H
201         tristate
202         select SND_SOC_SOF_HDA_COMMON
203         help
204           This option is not user-selectable but automagically handled by
205           'select' statements at a higher level
206
207 config SND_SOC_SOF_COMETLAKE_H_SUPPORT
208         bool "SOF support for CometLake-H"
209         help
210           This adds support for Sound Open Firmware for Intel(R) platforms
211           using the Cometlake-H processors.
212           Say Y if you have such a device.
213           If unsure select "N".
214
215 config SND_SOC_SOF_HDA_COMMON
216         tristate
217         select SND_SOC_SOF_INTEL_COMMON
218         select SND_SOC_SOF_HDA_LINK_BASELINE
219         help
220           This option is not user-selectable but automagically handled by
221           'select' statements at a higher level
222
223 if SND_SOC_SOF_HDA_COMMON
224
225 config SND_SOC_SOF_HDA_LINK
226         bool "SOF support for HDA Links(HDA/HDMI)"
227         depends on SND_SOC_SOF_NOCODEC=n
228         select SND_SOC_SOF_PROBE_WORK_QUEUE
229         help
230           This adds support for HDA links(HDA/HDMI) with Sound Open Firmware
231                   for Intel(R) platforms.
232           Say Y if you want to enable HDA links with SOF.
233           If unsure select "N".
234
235 config SND_SOC_SOF_HDA_AUDIO_CODEC
236         bool "SOF support for HDAudio codecs"
237         depends on SND_SOC_SOF_HDA_LINK
238         help
239           This adds support for HDAudio codecs with Sound Open Firmware
240                   for Intel(R) platforms.
241           Say Y if you want to enable HDAudio codecs with SOF.
242           If unsure select "N".
243
244 config SND_SOC_SOF_HDA_ALWAYS_ENABLE_DMI_L1
245         bool "SOF enable DMI Link L1"
246         help
247           This option enables DMI L1 for both playback and capture
248           and disables known workarounds for specific HDaudio platforms.
249           Only use to look into power optimizations on platforms not
250           affected by DMI L1 issues. This option is not recommended.
251           Say Y if you want to enable DMI Link L1
252           If unsure, select "N".
253
254 endif ## SND_SOC_SOF_HDA_COMMON
255
256 config SND_SOC_SOF_HDA_LINK_BASELINE
257         tristate
258         select SND_SOC_SOF_HDA if SND_SOC_SOF_HDA_LINK
259         help
260           This option is not user-selectable but automagically handled by
261           'select' statements at a higher level
262
263 config SND_SOC_SOF_HDA
264         tristate
265         select SND_HDA_EXT_CORE if SND_SOC_SOF_HDA_LINK
266         select SND_SOC_HDAC_HDA if SND_SOC_SOF_HDA_AUDIO_CODEC
267         help
268           This option is not user-selectable but automagically handled by
269           'select' statements at a higher level
270
271 endif ## SND_SOC_SOF_INTEL_PCI
272
273 endif ## SND_SOC_SOF_INTEL_TOPLEVEL