Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
1da177e4 LT |
2 | # |
3 | # ACPI Configuration | |
4 | # | |
5 | ||
f5d707ed AB |
6 | config ARCH_SUPPORTS_ACPI |
7 | bool | |
8 | ||
3f2c48c9 | 9 | menuconfig ACPI |
355ee5eb | 10 | bool "ACPI (Advanced Configuration and Power Interface) Support" |
2c870e61 | 11 | depends on ARCH_SUPPORTS_ACPI |
243b66e7 | 12 | select PNP |
2e61069b | 13 | select NLS |
2c870e61 | 14 | default y if X86 |
1c48aa36 | 15 | help |
1da177e4 | 16 | Advanced Configuration and Power Interface (ACPI) support for |
1c48aa36 | 17 | Linux requires an ACPI-compliant platform (hardware/firmware), |
1da177e4 LT |
18 | and assumes the presence of OS-directed configuration and power |
19 | management (OSPM) software. This option will enlarge your | |
20 | kernel by about 70K. | |
21 | ||
22 | Linux ACPI provides a robust functional replacement for several | |
23 | legacy configuration and power management interfaces, including | |
24 | the Plug-and-Play BIOS specification (PnP BIOS), the | |
25 | MultiProcessor Specification (MPS), and the Advanced Power | |
26 | Management (APM) specification. If both ACPI and APM support | |
1c48aa36 | 27 | are configured, ACPI is used. |
1da177e4 | 28 | |
1c48aa36 | 29 | The project home page for the Linux ACPI subsystem is here: |
aaf3d29f | 30 | <https://01.org/linux-acpi> |
1da177e4 LT |
31 | |
32 | Linux support for ACPI is based on Intel Corporation's ACPI | |
1c48aa36 BH |
33 | Component Architecture (ACPI CA). For more information on the |
34 | ACPI CA, see: | |
35 | <http://acpica.org/> | |
1da177e4 | 36 | |
c7f5220d HG |
37 | ACPI is an open industry specification originally co-developed by |
38 | Hewlett-Packard, Intel, Microsoft, Phoenix, and Toshiba. Currently, | |
39 | it is developed by the ACPI Specification Working Group (ASWG) under | |
40 | the UEFI Forum and any UEFI member can join the ASWG and contribute | |
41 | to the ACPI specification. | |
1c48aa36 | 42 | The specification is available at: |
0585c1c0 | 43 | <https://uefi.org/specifications> |
1da177e4 | 44 | |
3e11c3ce LB |
45 | if ACPI |
46 | ||
8a1664be GG |
47 | config ACPI_LEGACY_TABLES_LOOKUP |
48 | bool | |
49 | ||
46ba51ea HG |
50 | config ARCH_MIGHT_HAVE_ACPI_PDC |
51 | bool | |
52 | ||
d8f4f161 LP |
53 | config ACPI_GENERIC_GSI |
54 | bool | |
55 | ||
6e0a0ea1 GG |
56 | config ACPI_SYSTEM_POWER_STATES_SUPPORT |
57 | bool | |
58 | ||
d0562674 SS |
59 | config ACPI_CCA_REQUIRED |
60 | bool | |
61 | ||
4d946f79 | 62 | config ACPI_DEBUGGER |
8cfb0cdf | 63 | bool "AML debugger interface" |
4d946f79 LZ |
64 | select ACPI_DEBUG |
65 | help | |
836d0830 LZ |
66 | Enable in-kernel debugging of AML facilities: statistics, |
67 | internal object dump, single step control method execution. | |
4d946f79 LZ |
68 | This is still under development, currently enabling this only |
69 | results in the compilation of the ACPICA debugger files. | |
70 | ||
836d0830 LZ |
71 | if ACPI_DEBUGGER |
72 | ||
73 | config ACPI_DEBUGGER_USER | |
74 | tristate "Userspace debugger accessiblity" | |
75 | depends on DEBUG_FS | |
76 | help | |
77 | Export /sys/kernel/debug/acpi/acpidbg for userspace utilities | |
78 | to access the debugger functionalities. | |
79 | ||
80 | endif | |
81 | ||
ad1696f6 | 82 | config ACPI_SPCR_TABLE |
0231d000 PB |
83 | bool "ACPI Serial Port Console Redirection Support" |
84 | default y if X86 | |
85 | help | |
86 | Enable support for Serial Port Console Redirection (SPCR) Table. | |
87 | This table provides information about the configuration of the | |
88 | earlycon console. | |
ad1696f6 | 89 | |
eeb2d80d SP |
90 | config ACPI_LPIT |
91 | bool | |
92 | depends on X86_64 | |
93 | default y | |
94 | ||
673d5b43 LB |
95 | config ACPI_SLEEP |
96 | bool | |
5d1e072b | 97 | depends on SUSPEND || HIBERNATION |
6e0a0ea1 | 98 | depends on ACPI_SYSTEM_POWER_STATES_SUPPORT |
673d5b43 LB |
99 | default y |
100 | ||
e2a7c3d7 LT |
101 | config ACPI_PROCFS_POWER |
102 | bool "Deprecated power /proc/acpi directories" | |
bbf55ae1 | 103 | depends on X86 && PROC_FS |
e2a7c3d7 LT |
104 | help |
105 | For backwards compatibility, this option allows | |
feb17406 KK |
106 | deprecated power /proc/acpi/ directories to exist, even when |
107 | they have been replaced by functions in /sys. | |
108 | The deprecated directories (and their replacements) include: | |
7e46b32b RD |
109 | /proc/acpi/battery/* (/sys/class/power_supply/*) and |
110 | /proc/acpi/ac_adapter/* (sys/class/power_supply/*). | |
e2a7c3d7 | 111 | This option has no effect on /proc/acpi/ directories |
7e46b32b | 112 | and functions which do not yet exist in /sys. |
e2a7c3d7 | 113 | This option, together with the proc directories, will be |
3afcb96f | 114 | deleted in the future. |
e2a7c3d7 | 115 | |
7e46b32b | 116 | Say N to delete power /proc/acpi/ directories that have moved to /sys. |
e2a7c3d7 | 117 | |
18d78b64 | 118 | config ACPI_REV_OVERRIDE_POSSIBLE |
9165dabb | 119 | bool "Allow supported ACPI revision to be overridden" |
18d78b64 RW |
120 | depends on X86 |
121 | default y | |
122 | help | |
123 | The platform firmware on some systems expects Linux to return "5" as | |
124 | the supported ACPI revision which makes it expose system configuration | |
125 | information in a special way. | |
126 | ||
127 | For example, based on what ACPI exports as the supported revision, | |
128 | Dell XPS 13 (2015) configures its audio device to either work in HDA | |
129 | mode or in I2S mode, where the former is supposed to be used on Linux | |
130 | until the latter is fully supported (in the kernel as well as in user | |
131 | space). | |
132 | ||
133 | This option enables a DMI-based quirk for the above Dell machine (so | |
134 | that HDA audio is exposed by the platform firmware to the kernel) and | |
135 | makes it possible to force the kernel to return "5" as the supported | |
136 | ACPI revision via the "acpi_rev_override" command line switch. | |
137 | ||
1195a098 TR |
138 | config ACPI_EC_DEBUGFS |
139 | tristate "EC read/write access through /sys/kernel/debug/ec" | |
1195a098 TR |
140 | help |
141 | Say N to disable Embedded Controller /sys/kernel/debug interface | |
142 | ||
500de3dd TR |
143 | Be aware that using this interface can confuse your Embedded |
144 | Controller in a way that a normal reboot is not enough. You then | |
25cb1bfd | 145 | have to power off your system, and remove the laptop battery for |
500de3dd | 146 | some seconds. |
1195a098 TR |
147 | An Embedded Controller typically is available on laptops and reads |
148 | sensor values like battery state and temperature. | |
500de3dd TR |
149 | The kernel accesses the EC through ACPI parsed code provided by BIOS |
150 | tables. This option allows to access the EC directly without ACPI | |
151 | code being involved. | |
1195a098 TR |
152 | Thus this option is a debug option that helps to write ACPI drivers |
153 | and can be used to identify ACPI code or EC firmware bugs. | |
154 | ||
1da177e4 LT |
155 | config ACPI_AC |
156 | tristate "AC Adapter" | |
1b3d4c3b | 157 | select POWER_SUPPLY |
07fefe4c | 158 | default y |
1da177e4 | 159 | help |
1c48aa36 BH |
160 | This driver supports the AC Adapter object, which indicates |
161 | whether a system is on AC or not. If you have a system that can | |
07fefe4c | 162 | switch between A/C and battery, say Y. |
1da177e4 | 163 | |
1c48aa36 BH |
164 | To compile this driver as a module, choose M here: |
165 | the module will be called ac. | |
166 | ||
1da177e4 LT |
167 | config ACPI_BATTERY |
168 | tristate "Battery" | |
1b3d4c3b | 169 | select POWER_SUPPLY |
07fefe4c | 170 | default y |
1da177e4 LT |
171 | help |
172 | This driver adds support for battery information through | |
173 | /proc/acpi/battery. If you have a mobile system with a battery, | |
174 | say Y. | |
175 | ||
1c48aa36 BH |
176 | To compile this driver as a module, choose M here: |
177 | the module will be called battery. | |
178 | ||
1da177e4 LT |
179 | config ACPI_BUTTON |
180 | tristate "Button" | |
c0968f0e | 181 | depends on INPUT |
07fefe4c | 182 | default y |
1da177e4 | 183 | help |
1c48aa36 | 184 | This driver handles events on the power, sleep, and lid buttons. |
7d13f94c KM |
185 | A daemon reads events from input devices or via netlink and |
186 | performs user-defined actions such as shutting down the system. | |
187 | This is necessary for software-controlled poweroff. | |
1c48aa36 BH |
188 | |
189 | To compile this driver as a module, choose M here: | |
190 | the module will be called button. | |
1da177e4 | 191 | |
a1b93e89 JT |
192 | config ACPI_TINY_POWER_BUTTON |
193 | tristate "Tiny Power Button Driver" | |
194 | depends on !ACPI_BUTTON | |
195 | help | |
196 | This driver provides a tiny alternative to the ACPI Button driver. | |
197 | The tiny power button driver only handles the power button. Rather | |
198 | than notifying userspace via the input layer or a netlink event, this | |
199 | driver directly signals the init process to shut down. | |
200 | ||
201 | This driver is particularly suitable for cloud and VM environments, | |
202 | which use a simulated power button to initiate a controlled poweroff, | |
203 | but which may not want to run a separate userspace daemon to process | |
204 | input events. | |
205 | ||
206 | config ACPI_TINY_POWER_BUTTON_SIGNAL | |
207 | int "Tiny Power Button Signal" | |
208 | depends on ACPI_TINY_POWER_BUTTON | |
209 | default 38 | |
210 | help | |
211 | Default signal to send to init in response to the power button. | |
212 | ||
213 | Likely values here include 38 (SIGRTMIN+4) to power off, or 2 | |
214 | (SIGINT) to simulate Ctrl+Alt+Del. | |
215 | ||
1da177e4 LT |
216 | config ACPI_VIDEO |
217 | tristate "Video" | |
9f380fc5 | 218 | depends on X86 && BACKLIGHT_CLASS_DEVICE |
03e2bf26 | 219 | depends on INPUT |
63c4ec90 | 220 | select THERMAL |
1da177e4 | 221 | help |
1c48aa36 | 222 | This driver implements the ACPI Extensions For Display Adapters |
1da177e4 | 223 | for integrated graphics devices on motherboard, as specified in |
1c48aa36 BH |
224 | ACPI 2.0 Specification, Appendix B. This supports basic operations |
225 | such as defining the video POST device, retrieving EDID information, | |
226 | and setting up a video output. | |
227 | ||
228 | To compile this driver as a module, choose M here: | |
229 | the module will be called video. | |
1da177e4 LT |
230 | |
231 | config ACPI_FAN | |
232 | tristate "Fan" | |
d8054749 | 233 | depends on THERMAL |
07fefe4c | 234 | default y |
1da177e4 | 235 | help |
1c48aa36 | 236 | This driver supports ACPI fan devices, allowing user-mode |
1da177e4 LT |
237 | applications to perform basic fan control (on, off, status). |
238 | ||
1c48aa36 BH |
239 | To compile this driver as a module, choose M here: |
240 | the module will be called fan. | |
241 | ||
95c513ec RW |
242 | config ACPI_TAD |
243 | tristate "ACPI Time and Alarm (TAD) Device Support" | |
244 | depends on SYSFS && PM_SLEEP | |
245 | help | |
246 | The ACPI Time and Alarm (TAD) device is an alternative to the Real | |
247 | Time Clock (RTC). Its wake timers allow the system to transition from | |
248 | the S3 (or optionally S4/S5) state to S0 state after a time period | |
249 | elapses. In comparison with the RTC Alarm, the TAD provides a larger | |
250 | scale of flexibility in the wake timers. The time capabilities of the | |
251 | TAD maintain the time of day information across platform power | |
252 | transitions, and keep track of time even when the platform is turned | |
253 | off. | |
254 | ||
c8f7a62c | 255 | config ACPI_DOCK |
898b054f | 256 | bool "Dock" |
c8f7a62c | 257 | help |
1c48aa36 BH |
258 | This driver supports ACPI-controlled docking stations and removable |
259 | drive bays such as the IBM Ultrabay and the Dell Module Bay. | |
01b57e73 | 260 | |
239708a3 AC |
261 | config ACPI_CPU_FREQ_PSS |
262 | bool | |
263 | select THERMAL | |
264 | ||
35ae7133 SH |
265 | config ACPI_PROCESSOR_CSTATE |
266 | def_bool y | |
239ed06d | 267 | depends on ACPI_PROCESSOR |
35ae7133 SH |
268 | depends on IA64 || X86 |
269 | ||
5f05586c AC |
270 | config ACPI_PROCESSOR_IDLE |
271 | bool | |
272 | select CPU_IDLE | |
273 | ||
935c760e TN |
274 | config ACPI_MCFG |
275 | bool | |
276 | ||
337aadff AC |
277 | config ACPI_CPPC_LIB |
278 | bool | |
279 | depends on ACPI_PROCESSOR | |
337aadff AC |
280 | select MAILBOX |
281 | select PCC | |
282 | help | |
283 | If this option is enabled, this file implements common functionality | |
284 | to parse CPPC tables as described in the ACPI 5.1+ spec. The | |
285 | routines implemented are meant to be used by other | |
286 | drivers to control CPU performance using CPPC semantics. | |
287 | If your platform does not support CPPC in firmware, | |
288 | leave this option disabled. | |
289 | ||
1da177e4 LT |
290 | config ACPI_PROCESSOR |
291 | tristate "Processor" | |
ad806ea6 | 292 | depends on X86 || IA64 || ARM64 |
8fc85c6a | 293 | select ACPI_PROCESSOR_IDLE |
ad806ea6 | 294 | select ACPI_CPU_FREQ_PSS if X86 || IA64 |
07fefe4c | 295 | default y |
1da177e4 | 296 | help |
239708a3 AC |
297 | This driver adds support for the ACPI Processor package. It is required |
298 | by several flavors of cpufreq performance-state, thermal, throttling and | |
299 | idle drivers. | |
1c48aa36 BH |
300 | |
301 | To compile this driver as a module, choose M here: | |
302 | the module will be called processor. | |
4b88e330 | 303 | |
e92b297c ZY |
304 | config ACPI_IPMI |
305 | tristate "IPMI" | |
50121beb | 306 | depends on IPMI_HANDLER |
e92b297c ZY |
307 | help |
308 | This driver enables the ACPI to access the BMC controller. And it | |
309 | uses the IPMI request/response message to communicate with BMC | |
310 | controller, which can be found on on the server. | |
311 | ||
312 | To compile this driver as a module, choose M here: | |
313 | the module will be called as acpi_ipmi. | |
1da177e4 LT |
314 | |
315 | config ACPI_HOTPLUG_CPU | |
cbfc1bae | 316 | bool |
f756f28b | 317 | depends on ACPI_PROCESSOR && HOTPLUG_CPU |
1da177e4 | 318 | select ACPI_CONTAINER |
cbfc1bae | 319 | default y |
1da177e4 | 320 | |
8e0af514 SL |
321 | config ACPI_PROCESSOR_AGGREGATOR |
322 | tristate "Processor Aggregator" | |
323 | depends on ACPI_PROCESSOR | |
d91f79eb | 324 | depends on X86 |
8e0af514 SL |
325 | help |
326 | ACPI 4.0 defines processor Aggregator, which enables OS to perform | |
c4c4e2a5 | 327 | specific processor configuration and control that applies to all |
8e0af514 SL |
328 | processors in the platform. Currently only logical processor idling |
329 | is defined, which is to reduce power consumption. This driver | |
c4c4e2a5 | 330 | supports the new device. |
8e0af514 | 331 | |
1da177e4 LT |
332 | config ACPI_THERMAL |
333 | tristate "Thermal Zone" | |
334 | depends on ACPI_PROCESSOR | |
3f655ef8 | 335 | select THERMAL |
07fefe4c | 336 | default y |
1da177e4 | 337 | help |
1c48aa36 | 338 | This driver supports ACPI thermal zones. Most mobile and |
1da177e4 LT |
339 | some desktop systems support ACPI thermal zones. It is HIGHLY |
340 | recommended that this option be enabled, as your processor(s) | |
341 | may be damaged without it. | |
342 | ||
1c48aa36 BH |
343 | To compile this driver as a module, choose M here: |
344 | the module will be called thermal. | |
345 | ||
7ce9573e RD |
346 | config ACPI_CUSTOM_DSDT_FILE |
347 | string "Custom DSDT Table file to include" | |
348 | default "" | |
1da177e4 | 349 | depends on !STANDALONE |
1da177e4 | 350 | help |
d89e9d6b | 351 | This option supports a custom DSDT by linking it into the kernel. |
cb1aaebe | 352 | See Documentation/admin-guide/acpi/dsdt-override.rst |
d89e9d6b | 353 | |
c30fe7f7 | 354 | Enter the full path name to the file which includes the AmlCode |
82e4eb4e | 355 | or dsdt_aml_code declaration. |
1da177e4 | 356 | |
7ce9573e RD |
357 | If unsure, don't enter a file name. |
358 | ||
359 | config ACPI_CUSTOM_DSDT | |
360 | bool | |
361 | default ACPI_CUSTOM_DSDT_FILE != "" | |
362 | ||
91dda51a AM |
363 | config ARCH_HAS_ACPI_TABLE_UPGRADE |
364 | def_bool n | |
365 | ||
5d881327 LZ |
366 | config ACPI_TABLE_UPGRADE |
367 | bool "Allow upgrading ACPI tables via initrd" | |
91dda51a | 368 | depends on BLK_DEV_INITRD && ARCH_HAS_ACPI_TABLE_UPGRADE |
5d881327 | 369 | default y |
53aac44c | 370 | help |
5d881327 | 371 | This option provides functionality to upgrade arbitrary ACPI tables |
53aac44c TR |
372 | via initrd. No functional change if no ACPI tables are passed via |
373 | initrd, therefore it's safe to say Y. | |
cb1aaebe | 374 | See Documentation/admin-guide/acpi/initrd_table_override.rst for details |
53aac44c | 375 | |
98a455d9 SY |
376 | config ACPI_TABLE_OVERRIDE_VIA_BUILTIN_INITRD |
377 | bool "Override ACPI tables from built-in initrd" | |
378 | depends on ACPI_TABLE_UPGRADE | |
379 | depends on INITRAMFS_SOURCE!="" && INITRAMFS_COMPRESSION="" | |
380 | help | |
381 | This option provides functionality to override arbitrary ACPI tables | |
382 | from built-in uncompressed initrd. | |
383 | ||
cb1aaebe | 384 | See Documentation/admin-guide/acpi/initrd_table_override.rst for details |
98a455d9 | 385 | |
1da177e4 LT |
386 | config ACPI_DEBUG |
387 | bool "Debug Statements" | |
1da177e4 | 388 | help |
a0d84a92 BH |
389 | The ACPI subsystem can produce debug output. Saying Y enables this |
390 | output and increases the kernel size by around 50K. | |
391 | ||
392 | Use the acpi.debug_layer and acpi.debug_level kernel command-line | |
cb1aaebe | 393 | parameters documented in Documentation/firmware-guide/acpi/debug.rst and |
8c27ceff | 394 | Documentation/admin-guide/kernel-parameters.rst to control the type and |
a0d84a92 | 395 | amount of debug output. |
1da177e4 | 396 | |
8344b568 | 397 | config ACPI_PCI_SLOT |
ab1a2e03 | 398 | bool "PCI slot detection driver" |
5c6a1177 | 399 | depends on SYSFS && PCI |
8344b568 | 400 | help |
1c48aa36 BH |
401 | This driver creates entries in /sys/bus/pci/slots/ for all PCI |
402 | slots in the system. This can help correlate PCI bus addresses, | |
403 | i.e., segment/bus/device/function tuples, with physical slots in | |
404 | the system. If you are unsure, say N. | |
405 | ||
1da177e4 | 406 | config ACPI_CONTAINER |
06991c28 | 407 | bool "Container and Module Devices" |
ea6a4581 | 408 | default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU) |
1c48aa36 BH |
409 | help |
410 | This driver supports ACPI Container and Module devices (IDs | |
411 | ACPI0004, PNP0A05, and PNP0A06). | |
45b1b196 | 412 | |
1c48aa36 BH |
413 | This helps support hotplug of nodes, CPUs, and memory. |
414 | ||
415 | To compile this driver as a module, choose M here: | |
416 | the module will be called container. | |
1da177e4 LT |
417 | |
418 | config ACPI_HOTPLUG_MEMORY | |
0a347644 | 419 | bool "Memory Hotplug" |
bc02af93 | 420 | depends on MEMORY_HOTPLUG |
1da177e4 | 421 | help |
1c48aa36 BH |
422 | This driver supports ACPI memory hotplug. The driver |
423 | fields notifications on ACPI memory devices (PNP0C80), | |
424 | which represent memory ranges that may be onlined or | |
425 | offlined during runtime. | |
1da177e4 | 426 | |
1c48aa36 BH |
427 | If your hardware and firmware do not support adding or |
428 | removing memory devices at runtime, you need not enable | |
429 | this driver. | |
1da177e4 | 430 | |
1c48aa36 BH |
431 | To compile this driver as a module, choose M here: |
432 | the module will be called acpi_memhotplug. | |
3f86b832 | 433 | |
c183619b JL |
434 | config ACPI_HOTPLUG_IOAPIC |
435 | bool | |
436 | depends on PCI | |
437 | depends on X86_IO_APIC | |
438 | default y | |
439 | ||
3f86b832 | 440 | config ACPI_SBS |
94f6c086 | 441 | tristate "Smart Battery System" |
b4150fc4 | 442 | depends on X86 |
1b3d4c3b | 443 | select POWER_SUPPLY |
3f86b832 | 444 | help |
1c48aa36 | 445 | This driver supports the Smart Battery System, another |
94f6c086 | 446 | type of access to battery information, found on some laptops. |
3f86b832 | 447 | |
1c48aa36 BH |
448 | To compile this driver as a module, choose M here: |
449 | the modules will be called sbs and sbshc. | |
450 | ||
801eab81 HY |
451 | config ACPI_HED |
452 | tristate "Hardware Error Device" | |
453 | help | |
454 | This driver supports the Hardware Error Device (PNP0C33), | |
455 | which is used to report some hardware errors notified via | |
456 | SCI, mainly the corrected errors. | |
457 | ||
526b4af4 TR |
458 | config ACPI_CUSTOM_METHOD |
459 | tristate "Allow ACPI methods to be inserted/replaced at run time" | |
460 | depends on DEBUG_FS | |
526b4af4 | 461 | help |
bd1b2a55 | 462 | This debug facility allows ACPI AML methods to be inserted and/or |
526b4af4 | 463 | replaced without rebooting the system. For details refer to: |
cb1aaebe | 464 | Documentation/firmware-guide/acpi/method-customizing.rst. |
526b4af4 TR |
465 | |
466 | NOTE: This option is security sensitive, because it allows arbitrary | |
467 | kernel memory to be written to by root (uid=0) users, allowing them | |
468 | to bypass certain security measures (e.g. if root is not allowed to | |
469 | load additional kernel modules after boot, this feature may be used | |
470 | to override that restriction). | |
471 | ||
d1ff4b1c | 472 | config ACPI_BGRT |
2223af38 | 473 | bool "Boottime Graphics Resource Table support" |
6e7300cf | 474 | depends on EFI && (X86 || ARM64) |
feb17406 | 475 | help |
d1ff4b1c MG |
476 | This driver adds support for exposing the ACPI Boottime Graphics |
477 | Resource Table, which allows the operating system to obtain | |
478 | data from the firmware boot splash. It will appear under | |
479 | /sys/firmware/acpi/bgrt/ . | |
480 | ||
af1ae78a AS |
481 | config ACPI_REDUCED_HARDWARE_ONLY |
482 | bool "Hardware-reduced ACPI support only" if EXPERT | |
483 | def_bool n | |
af1ae78a | 484 | help |
99a33ffc HG |
485 | This config item changes the way the ACPI code is built. When this |
486 | option is selected, the kernel will use a specialized version of | |
487 | ACPICA that ONLY supports the ACPI "reduced hardware" mode. The | |
488 | resulting kernel will be smaller but it will also be restricted to | |
489 | running in ACPI reduced hardware mode ONLY. | |
af1ae78a | 490 | |
99a33ffc | 491 | If you are unsure what to do, do not enable this option. |
af1ae78a | 492 | |
bdf97013 | 493 | source "drivers/acpi/nfit/Kconfig" |
c710fcc5 | 494 | source "drivers/acpi/numa/Kconfig" |
a643ce20 | 495 | source "drivers/acpi/apei/Kconfig" |
6256ebd5 | 496 | source "drivers/acpi/dptf/Kconfig" |
a643ce20 | 497 | |
058dfc76 MW |
498 | config ACPI_WATCHDOG |
499 | bool | |
500 | ||
4b3db708 CG |
501 | config ACPI_EXTLOG |
502 | tristate "Extended Error Log support" | |
9613916b | 503 | depends on X86_MCE && X86_LOCAL_APIC && EDAC |
7ea6c6c1 | 504 | select UEFI_CPER |
4b3db708 CG |
505 | help |
506 | Certain usages such as Predictive Failure Analysis (PFA) require | |
507 | more information about the error than what can be described in | |
508 | processor machine check banks. Most server processors log | |
509 | additional information about the error in processor uncore | |
510 | registers. Since the addresses and layout of these registers vary | |
511 | widely from one processor to another, system software cannot | |
512 | readily make use of them. To complicate matters further, some of | |
513 | the additional error information cannot be constructed without | |
514 | detailed knowledge about platform topology. | |
515 | ||
516 | Enhanced MCA Logging allows firmware to provide additional error | |
517 | information to system software, synchronous with MCE or CMCI. This | |
2dfb7d51 CG |
518 | driver adds support for that functionality with corresponding |
519 | tracepoint which carries that information to userspace. | |
4b3db708 | 520 | |
4cf841e3 TL |
521 | config ACPI_ADXL |
522 | bool | |
523 | ||
b1eea857 AL |
524 | menuconfig PMIC_OPREGION |
525 | bool "PMIC (Power Management Integrated Circuit) operation region support" | |
526 | help | |
527 | Select this option to enable support for ACPI operation | |
528 | region of the PMIC chip. The operation region can be used | |
529 | to control power rails and sensor reading/writing on the | |
530 | PMIC chip. | |
531 | ||
532 | if PMIC_OPREGION | |
ed852cde HG |
533 | config BYTCRC_PMIC_OPREGION |
534 | bool "ACPI operation region support for Bay Trail Crystal Cove PMIC" | |
b1eea857 AL |
535 | depends on INTEL_SOC_PMIC |
536 | help | |
ed852cde HG |
537 | This config adds ACPI operation region support for the Bay Trail |
538 | version of the Crystal Cove PMIC. | |
b1eea857 | 539 | |
cefe6aac HG |
540 | config CHTCRC_PMIC_OPREGION |
541 | bool "ACPI operation region support for Cherry Trail Crystal Cove PMIC" | |
542 | depends on INTEL_SOC_PMIC | |
543 | help | |
544 | This config adds ACPI operation region support for the Cherry Trail | |
545 | version of the Crystal Cove PMIC. | |
546 | ||
d8139f63 AL |
547 | config XPOWER_PMIC_OPREGION |
548 | bool "ACPI operation region support for XPower AXP288 PMIC" | |
017ce359 | 549 | depends on MFD_AXP20X_I2C && IOSF_MBI=y |
d8139f63 AL |
550 | help |
551 | This config adds ACPI operation region support for XPower AXP288 PMIC. | |
552 | ||
9b928c78 BG |
553 | config BXT_WC_PMIC_OPREGION |
554 | bool "ACPI operation region support for BXT WhiskeyCove PMIC" | |
b5238b41 | 555 | depends on INTEL_SOC_PMIC_BXTWC |
9b928c78 BG |
556 | help |
557 | This config adds ACPI operation region support for BXT WhiskeyCove PMIC. | |
558 | ||
ac2c4936 HG |
559 | config CHT_WC_PMIC_OPREGION |
560 | bool "ACPI operation region support for CHT Whiskey Cove PMIC" | |
561 | depends on INTEL_SOC_PMIC_CHTWC | |
562 | help | |
563 | This config adds ACPI operation region support for CHT Whiskey Cove PMIC. | |
564 | ||
31374972 TI |
565 | config CHT_DC_TI_PMIC_OPREGION |
566 | bool "ACPI operation region support for Dollar Cove TI PMIC" | |
567 | depends on INTEL_SOC_PMIC_CHTDC_TI | |
568 | help | |
569 | This config adds ACPI operation region support for Dollar Cove TI PMIC. | |
ac2c4936 | 570 | |
b1eea857 AL |
571 | endif |
572 | ||
0bf54fcd OP |
573 | config ACPI_CONFIGFS |
574 | tristate "ACPI configfs support" | |
575 | select CONFIGFS_FS | |
576 | help | |
577 | Select this option to enable support for ACPI configuration from | |
578 | userspace. The configurable ACPI groups will be visible under | |
579 | /config/acpi, assuming configfs is mounted under /config. | |
580 | ||
88ef16d8 TN |
581 | if ARM64 |
582 | source "drivers/acpi/arm64/Kconfig" | |
0ce82232 JL |
583 | |
584 | config ACPI_PPTT | |
585 | bool | |
88ef16d8 TN |
586 | endif |
587 | ||
e13452ac RM |
588 | config TPS68470_PMIC_OPREGION |
589 | bool "ACPI operation region support for TPS68470 PMIC" | |
590 | depends on MFD_TPS68470 | |
591 | help | |
592 | This config adds ACPI operation region support for TI TPS68470 PMIC. | |
593 | TPS68470 device is an advanced power management unit that powers | |
594 | a Compact Camera Module (CCM), generates clocks for image sensors, | |
595 | drives a dual LED for flash and incorporates two LED drivers for | |
596 | general purpose indicators. | |
597 | This driver enables ACPI operation region support control voltage | |
598 | regulators and clocks. | |
599 | ||
600 | This option is a bool as it provides an ACPI operation | |
601 | region, which must be available before any of the devices | |
602 | using this, are probed. | |
603 | ||
1da177e4 | 604 | endif # ACPI |
87e65d05 JK |
605 | |
606 | config X86_PM_TIMER | |
607 | bool "Power Management Timer Support" if EXPERT | |
608 | depends on X86 && (ACPI || JAILHOUSE_GUEST) | |
609 | default y | |
610 | help | |
611 | The Power Management Timer is available on all ACPI-capable, | |
612 | in most cases even if ACPI is unusable or blacklisted. | |
613 | ||
614 | This timing source is not affected by power management features | |
615 | like aggressive processor idling, throttling, frequency and/or | |
616 | voltage scaling, unlike the commonly used Time Stamp Counter | |
617 | (TSC) timing source. | |
618 | ||
619 | You should nearly always say Y here because many modern | |
620 | systems require this timer. |