~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/sound/soc/sof/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /sound/soc/sof/Kconfig (Version linux-6.12-rc7) and /sound/soc/sof/Kconfig (Version linux-5.17.15)


  1 # SPDX-License-Identifier: GPL-2.0-only             1 # SPDX-License-Identifier: GPL-2.0-only
  2 menuconfig SND_SOC_SOF_TOPLEVEL                     2 menuconfig SND_SOC_SOF_TOPLEVEL
  3         bool "Sound Open Firmware Support"          3         bool "Sound Open Firmware Support"
  4         help                                        4         help
  5           This adds support for Sound Open Fir      5           This adds support for Sound Open Firmware (SOF). SOF is free and
  6           generic open source audio DSP firmwa      6           generic open source audio DSP firmware for multiple devices.
  7           Say Y if you have such a device that      7           Say Y if you have such a device that is supported by SOF.
  8           If unsure select "N".                     8           If unsure select "N".
  9                                                     9 
 10 if SND_SOC_SOF_TOPLEVEL                            10 if SND_SOC_SOF_TOPLEVEL
 11                                                    11 
 12 config SND_SOC_SOF_PCI_DEV                         12 config SND_SOC_SOF_PCI_DEV
 13         tristate                                   13         tristate
 14                                                    14 
 15 config SND_SOC_SOF_PCI                             15 config SND_SOC_SOF_PCI
 16         tristate "SOF PCI enumeration support"     16         tristate "SOF PCI enumeration support"
 17         depends on PCI                             17         depends on PCI
 18         help                                       18         help
 19           This adds support for PCI enumeratio     19           This adds support for PCI enumeration. This option is
 20           required to enable Intel Skylake+ de     20           required to enable Intel Skylake+ devices.
 21           For backwards-compatibility with pre     21           For backwards-compatibility with previous configurations the selection will
 22           be used as default for platform-spec     22           be used as default for platform-specific drivers.
 23           Say Y if you need this option.           23           Say Y if you need this option.
 24           If unsure select "N".                    24           If unsure select "N".
 25                                                    25 
 26 config SND_SOC_SOF_ACPI                            26 config SND_SOC_SOF_ACPI
 27         tristate "SOF ACPI enumeration support     27         tristate "SOF ACPI enumeration support"
 28         depends on ACPI || COMPILE_TEST            28         depends on ACPI || COMPILE_TEST
 29         help                                       29         help
 30           This adds support for ACPI enumerati     30           This adds support for ACPI enumeration. This option is required
 31           to enable Intel Broadwell/Baytrail/C     31           to enable Intel Broadwell/Baytrail/Cherrytrail devices.
 32           For backwards-compatibility with pre     32           For backwards-compatibility with previous configurations the selection will
 33           be used as default for platform-spec     33           be used as default for platform-specific drivers.
 34           Say Y if you need this option.           34           Say Y if you need this option.
 35           If unsure select "N".                    35           If unsure select "N".
 36                                                    36 
 37 config SND_SOC_SOF_ACPI_DEV                        37 config SND_SOC_SOF_ACPI_DEV
 38         tristate                                   38         tristate
 39                                                    39 
 40 config SND_SOC_SOF_OF                              40 config SND_SOC_SOF_OF
 41         tristate "SOF OF enumeration support"      41         tristate "SOF OF enumeration support"
 42         depends on OF                          !!  42         depends on OF || COMPILE_TEST
 43         help                                       43         help
 44           This adds support for Device Tree en     44           This adds support for Device Tree enumeration. This option is
 45           required to enable i.MX8 or Mediatek     45           required to enable i.MX8 or Mediatek devices.
 46           Say Y if you need this option. If un     46           Say Y if you need this option. If unsure select "N".
 47                                                    47 
 48 config SND_SOC_SOF_OF_DEV                          48 config SND_SOC_SOF_OF_DEV
 49         tristate                                   49         tristate
 50                                                    50 
 51 config SND_SOC_SOF_COMPRESS                        51 config SND_SOC_SOF_COMPRESS
 52         bool                                       52         bool
 53         select SND_SOC_COMPRESS                    53         select SND_SOC_COMPRESS
 54                                                    54 
 55 config SND_SOC_SOF_DEBUG_PROBES                    55 config SND_SOC_SOF_DEBUG_PROBES
 56         tristate                               !!  56         bool "SOF enable data probing"
 57         select SND_SOC_SOF_CLIENT              << 
 58         select SND_SOC_COMPRESS                    57         select SND_SOC_COMPRESS
 59         help                                       58         help
 60           This option enables the data probing     59           This option enables the data probing feature that can be used to
 61           gather data directly from specific p     60           gather data directly from specific points of the audio pipeline.
 62           This option is not user-selectable b !!  61           Say Y if you want to enable probes.
 63           'select' statements at a higher leve !!  62           If unsure, select "N".
 64                                                << 
 65 config SND_SOC_SOF_CLIENT                      << 
 66         tristate                               << 
 67         select AUXILIARY_BUS                   << 
 68         help                                   << 
 69           This option is not user-selectable b << 
 70           'select' statements at a higher leve << 
 71                                                    63 
 72 config SND_SOC_SOF_DEVELOPER_SUPPORT               64 config SND_SOC_SOF_DEVELOPER_SUPPORT
 73         bool "SOF developer options support"       65         bool "SOF developer options support"
 74         depends on EXPERT && SND_SOC_SOF           66         depends on EXPERT && SND_SOC_SOF
 75         help                                       67         help
 76           This option unlocks SOF developer op     68           This option unlocks SOF developer options for debug/performance/
 77           code hardening.                          69           code hardening.
 78           Distributions should not select this     70           Distributions should not select this option, only SOF development
 79           teams should select it.                  71           teams should select it.
 80           Say Y if you are involved in SOF dev     72           Say Y if you are involved in SOF development and need this option.
 81           If not, select N.                        73           If not, select N.
 82                                                    74 
 83 if SND_SOC_SOF_DEVELOPER_SUPPORT                   75 if SND_SOC_SOF_DEVELOPER_SUPPORT
 84                                                    76 
 85 config SND_SOC_SOF_FORCE_PROBE_WORKQUEUE           77 config SND_SOC_SOF_FORCE_PROBE_WORKQUEUE
 86         bool "SOF force probe workqueue"           78         bool "SOF force probe workqueue"
 87         select SND_SOC_SOF_PROBE_WORK_QUEUE        79         select SND_SOC_SOF_PROBE_WORK_QUEUE
 88         help                                       80         help
 89           This option forces the use of a prob     81           This option forces the use of a probe workqueue, which is only used
 90           when HDaudio is enabled due to modul     82           when HDaudio is enabled due to module dependencies. Forcing this
 91           option is intended for debug only, b     83           option is intended for debug only, but this should not add any
 92           functional issues in nominal cases.      84           functional issues in nominal cases.
 93           Say Y if you are involved in SOF dev     85           Say Y if you are involved in SOF development and need this option.
 94           If not, select N.                        86           If not, select N.
 95                                                    87 
 96 config SND_SOC_SOF_NOCODEC                         88 config SND_SOC_SOF_NOCODEC
 97         tristate                                   89         tristate
 98                                                    90 
 99 config SND_SOC_SOF_NOCODEC_SUPPORT                 91 config SND_SOC_SOF_NOCODEC_SUPPORT
100         bool "SOF nocodec static mode support" !!  92         bool "SOF nocodec mode support"
101         help                                       93         help
102           This adds support for a dummy/nocode     94           This adds support for a dummy/nocodec machine driver fallback
103           option if no known codec is detected     95           option if no known codec is detected. This is typically only
104           enabled for developers or devices wh     96           enabled for developers or devices where the sound card is
105           controlled externally.                   97           controlled externally.
106           This option is mutually exclusive at !!  98           This option is mutually exclusive with the Intel HDAudio support.
107           Selecting it may have negative impac     99           Selecting it may have negative impacts and prevent e.g. microphone
108           functionality from being enabled on     100           functionality from being enabled on Intel CoffeeLake and later
109           platforms.                              101           platforms.
110           Distributions should not select this    102           Distributions should not select this option!
111           Say Y if you need this nocodec fallb    103           Say Y if you need this nocodec fallback option.
112           If unsure select "N".                   104           If unsure select "N".
113                                                   105 
114 config SND_SOC_SOF_STRICT_ABI_CHECKS              106 config SND_SOC_SOF_STRICT_ABI_CHECKS
115         bool "SOF strict ABI checks"              107         bool "SOF strict ABI checks"
116         help                                      108         help
117           This option enables strict ABI check    109           This option enables strict ABI checks for firmware and topology
118           files.                                  110           files.
119           When these files are more recent tha    111           When these files are more recent than the kernel, the kernel
120           will handle the functionality it sup    112           will handle the functionality it supports and may report errors
121           during topology creation or run-time    113           during topology creation or run-time usage if new functionality
122           is invoked.                             114           is invoked.
123           This option will stop topology creat    115           This option will stop topology creation and firmware load upfront.
124           It is intended for SOF CI/releases a    116           It is intended for SOF CI/releases and not for users or distros.
125           Say Y if you want strict ABI checks     117           Say Y if you want strict ABI checks for an SOF release.
126           If you are not involved in SOF relea    118           If you are not involved in SOF releases and CI development,
127           select "N".                             119           select "N".
128                                                   120 
129 config SND_SOC_SOF_ALLOW_FALLBACK_TO_NEWER_IPC << 
130         bool "SOF allow fallback to newer IPC  << 
131         help                                   << 
132           This option will allow the kernel to << 
133           version if there are missing firmwar << 
134           version.                             << 
135           IPC version fallback to older versio << 
136           it is always available.              << 
137           Say Y if you are involved in SOF dev << 
138           If not, select N.                    << 
139                                                << 
140 config SND_SOC_SOF_DEBUG                          121 config SND_SOC_SOF_DEBUG
141         bool "SOF debugging features"             122         bool "SOF debugging features"
142         help                                      123         help
143           This option can be used to enable or    124           This option can be used to enable or disable individual SOF firmware
144           and driver debugging options.           125           and driver debugging options.
145           Say Y if you are debugging SOF FW or    126           Say Y if you are debugging SOF FW or drivers.
146           If unsure select "N".                   127           If unsure select "N".
147                                                   128 
148 if SND_SOC_SOF_DEBUG                              129 if SND_SOC_SOF_DEBUG
149                                                   130 
150 config SND_SOC_SOF_NOCODEC_DEBUG_SUPPORT       << 
151         bool "SOF nocodec debug mode support"  << 
152         depends on !SND_SOC_SOF_NOCODEC_SUPPOR << 
153         help                                   << 
154           This adds support for a dummy/nocode << 
155           option.                              << 
156           Unlike the SND_SOC_SOF_NOCODEC_SUPPO << 
157           mutually exclusive at build with the << 
158           selection will be done depending on  << 
159           Distributions should not select this << 
160           Say Y if you need this nocodec debug << 
161           If unsure select "N".                << 
162                                                << 
163 config SND_SOC_SOF_FORCE_NOCODEC_MODE             131 config SND_SOC_SOF_FORCE_NOCODEC_MODE
164         bool "SOF force nocodec Mode"             132         bool "SOF force nocodec Mode"
165         depends on SND_SOC_SOF_NOCODEC_SUPPORT    133         depends on SND_SOC_SOF_NOCODEC_SUPPORT
166         help                                      134         help
167           This forces SOF to use dummy/nocodec    135           This forces SOF to use dummy/nocodec as machine driver, even
168           though there is a codec detected on     136           though there is a codec detected on the real platform. This is
169           typically only enabled for developer    137           typically only enabled for developers for debug purposes, before
170           codec/machine driver is ready, or to    138           codec/machine driver is ready, or to exclude the impact of those
171           drivers.                                139           drivers.
172           Say Y if you need this force nocodec    140           Say Y if you need this force nocodec mode option.
173           If unsure select "N".                   141           If unsure select "N".
174                                                   142 
175 config SND_SOC_SOF_DEBUG_XRUN_STOP                143 config SND_SOC_SOF_DEBUG_XRUN_STOP
176         bool "SOF stop on XRUN"                   144         bool "SOF stop on XRUN"
177         help                                      145         help
178           This option forces PCMs to stop on a    146           This option forces PCMs to stop on any XRUN event. This is useful to
179           preserve any trace data and pipeline    147           preserve any trace data and pipeline status prior to the XRUN.
180           Say Y if you are debugging SOF FW pi    148           Say Y if you are debugging SOF FW pipeline XRUNs.
181           If unsure select "N".                   149           If unsure select "N".
182                                                   150 
183 config SND_SOC_SOF_DEBUG_VERBOSE_IPC              151 config SND_SOC_SOF_DEBUG_VERBOSE_IPC
184         bool "SOF verbose IPC logs"               152         bool "SOF verbose IPC logs"
185         help                                      153         help
186           This option enables more verbose IPC    154           This option enables more verbose IPC logs, with command types in
187           human-readable form instead of just     155           human-readable form instead of just 32-bit hex dumps. This is useful
188           if you are trying to debug IPC with     156           if you are trying to debug IPC with the DSP firmware.
189           If unsure select "N".                   157           If unsure select "N".
190                                                   158 
191 config SND_SOC_SOF_DEBUG_FORCE_IPC_POSITION       159 config SND_SOC_SOF_DEBUG_FORCE_IPC_POSITION
192         bool "SOF force to use IPC for positio    160         bool "SOF force to use IPC for position update on SKL+"
193         help                                      161         help
194           This option forces to handle stream     162           This option forces to handle stream position update IPCs and run PCM
195           elapse to inform ALSA about that, on    163           elapse to inform ALSA about that, on platforms (e.g. Intel SKL+) that
196           with other approach (e.g. HDAC DPIB/    164           with other approach (e.g. HDAC DPIB/posbuf) to elapse PCM.
197           On platforms (e.g. Intel SKL-) where    165           On platforms (e.g. Intel SKL-) where position update IPC is the only
198           one choice, this setting won't impac    166           one choice, this setting won't impact anything.
199           If you are trying to debug pointer u    167           If you are trying to debug pointer update with position IPCs or where
200           DPIB/posbuf is not ready, select "Y"    168           DPIB/posbuf is not ready, select "Y".
201           If unsure select "N".                   169           If unsure select "N".
202                                                   170 
203 config SND_SOC_SOF_DEBUG_ENABLE_DEBUGFS_CACHE     171 config SND_SOC_SOF_DEBUG_ENABLE_DEBUGFS_CACHE
204         bool "SOF enable debugfs caching"         172         bool "SOF enable debugfs caching"
205         help                                      173         help
206           This option enables caching of debug    174           This option enables caching of debugfs
207           memory -> DSP resource (memory, regi    175           memory -> DSP resource (memory, register, etc)
208           before the audio DSP is suspended. T    176           before the audio DSP is suspended. This will increase the suspend
209           latency and therefore should be used    177           latency and therefore should be used for debug purposes only.
210           Say Y if you want to enable caching     178           Say Y if you want to enable caching the memory windows.
211           If unsure, select "N".                  179           If unsure, select "N".
212                                                   180 
213 config SND_SOC_SOF_DEBUG_ENABLE_FIRMWARE_TRACE    181 config SND_SOC_SOF_DEBUG_ENABLE_FIRMWARE_TRACE
214         bool "SOF enable firmware trace"          182         bool "SOF enable firmware trace"
215         help                                      183         help
216           The firmware trace can be enabled ei    184           The firmware trace can be enabled either at build-time with
217           this option, or dynamically by setti    185           this option, or dynamically by setting flags in the SOF core
218           module parameter (similar to dynamic    186           module parameter (similar to dynamic debug).
219           If unsure, select "N".                  187           If unsure, select "N".
220                                                   188 
221 config SND_SOC_SOF_DEBUG_IPC_FLOOD_TEST           189 config SND_SOC_SOF_DEBUG_IPC_FLOOD_TEST
222         tristate "SOF enable IPC flood test"   !! 190         bool "SOF enable IPC flood test"
223         depends on SND_SOC_SOF                 !! 191         help
224         select SND_SOC_SOF_CLIENT              !! 192           This option enables the IPC flood test which can be used to flood
225         help                                   !! 193           the DSP with test IPCs and gather stats about response times.
226           This option enables a separate clien << 
227           which can be used to flood the DSP w << 
228           about response times.                << 
229           Say Y if you want to enable IPC floo    194           Say Y if you want to enable IPC flood test.
230           If unsure, select "N".                  195           If unsure, select "N".
231                                                   196 
232 config SND_SOC_SOF_DEBUG_IPC_FLOOD_TEST_NUM    << 
233         int "Number of IPC flood test clients" << 
234         range 1 32                             << 
235         default 2                              << 
236         depends on SND_SOC_SOF_DEBUG_IPC_FLOOD << 
237         help                                   << 
238           Select the number of IPC flood test  << 
239                                                << 
240 config SND_SOC_SOF_DEBUG_IPC_MSG_INJECTOR         197 config SND_SOC_SOF_DEBUG_IPC_MSG_INJECTOR
241         tristate "SOF enable IPC message injec !! 198         bool "SOF enable IPC message injector"
242         depends on SND_SOC_SOF                 << 
243         select SND_SOC_SOF_CLIENT              << 
244         help                                      199         help
245           This option enables the IPC message     200           This option enables the IPC message injector which can be used to send
246           crafted IPC messages to the DSP to t    201           crafted IPC messages to the DSP to test its robustness.
247           Say Y if you want to enable the IPC     202           Say Y if you want to enable the IPC message injector.
248           If unsure, select "N".                  203           If unsure, select "N".
249                                                   204 
250 config SND_SOC_SOF_DEBUG_IPC_KERNEL_INJECTOR   << 
251         tristate "SOF enable IPC kernel inject << 
252         depends on SND_SOC_SOF                 << 
253         select SND_SOC_SOF_CLIENT              << 
254         help                                   << 
255           This option enables the IPC kernel i << 
256           crafted IPC messages to the kernel t << 
257           DSP messages.                        << 
258           Say Y if you want to enable the IPC  << 
259           If unsure, select "N".               << 
260                                                << 
261 config SND_SOC_SOF_DEBUG_RETAIN_DSP_CONTEXT       205 config SND_SOC_SOF_DEBUG_RETAIN_DSP_CONTEXT
262         bool "SOF retain DSP context on any FW    206         bool "SOF retain DSP context on any FW exceptions"
263         help                                      207         help
264           This option keeps the DSP in D0 stat    208           This option keeps the DSP in D0 state so that firmware debug
265           information can be retained and dump    209           information can be retained and dumped to userspace.
266           Say Y if you want to retain DSP cont    210           Say Y if you want to retain DSP context for FW exceptions.
267           If unsure, select "N".                  211           If unsure, select "N".
268                                                   212 
269 endif ## SND_SOC_SOF_DEBUG                        213 endif ## SND_SOC_SOF_DEBUG
270                                                   214 
271 endif ## SND_SOC_SOF_DEVELOPER_SUPPORT            215 endif ## SND_SOC_SOF_DEVELOPER_SUPPORT
272                                                   216 
273 config SND_SOC_SOF                                217 config SND_SOC_SOF
274         tristate                                  218         tristate
275         select SND_SOC_TOPOLOGY                   219         select SND_SOC_TOPOLOGY
276         select SND_SOC_SOF_NOCODEC if SND_SOC_    220         select SND_SOC_SOF_NOCODEC if SND_SOC_SOF_NOCODEC_SUPPORT
277         select SND_SOC_SOF_NOCODEC if SND_SOC_ << 
278         help                                      221         help
279           This option is not user-selectable b    222           This option is not user-selectable but automagically handled by
280           'select' statements at a higher leve    223           'select' statements at a higher level.
281           The selection is made at the top lev    224           The selection is made at the top level and does not exactly follow
282           module dependencies but since the mo    225           module dependencies but since the module or built-in type is decided
283           at the top level it doesn't matter.     226           at the top level it doesn't matter.
284                                                   227 
285 config SND_SOC_SOF_PROBE_WORK_QUEUE               228 config SND_SOC_SOF_PROBE_WORK_QUEUE
286         bool                                      229         bool
287         help                                      230         help
288           This option is not user-selectable b    231           This option is not user-selectable but automagically handled by
289           'select' statements at a higher leve    232           'select' statements at a higher level.
290           When selected, the probe is handled     233           When selected, the probe is handled in two steps, for example to
291           avoid lockdeps if request_module is     234           avoid lockdeps if request_module is used in the probe.
292                                                << 
293 # Supported IPC versions                       << 
294 config SND_SOC_SOF_IPC3                        << 
295         bool                                   << 
296                                                << 
297 config SND_SOC_SOF_IPC4                        << 
298         bool                                   << 
299                                                   235 
300 source "sound/soc/sof/amd/Kconfig"                236 source "sound/soc/sof/amd/Kconfig"
301 source "sound/soc/sof/imx/Kconfig"                237 source "sound/soc/sof/imx/Kconfig"
302 source "sound/soc/sof/intel/Kconfig"              238 source "sound/soc/sof/intel/Kconfig"
303 source "sound/soc/sof/mediatek/Kconfig"           239 source "sound/soc/sof/mediatek/Kconfig"
304 source "sound/soc/sof/xtensa/Kconfig"             240 source "sound/soc/sof/xtensa/Kconfig"
305                                                   241 
306 endif                                             242 endif
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php