.. | .. |
---|
9 | 9 | menuconfig ACPI |
---|
10 | 10 | bool "ACPI (Advanced Configuration and Power Interface) Support" |
---|
11 | 11 | depends on ARCH_SUPPORTS_ACPI |
---|
12 | | - depends on PCI |
---|
13 | 12 | select PNP |
---|
| 13 | + select NLS |
---|
14 | 14 | default y if X86 |
---|
15 | 15 | help |
---|
16 | 16 | Advanced Configuration and Power Interface (ACPI) support for |
---|
.. | .. |
---|
32 | 32 | Linux support for ACPI is based on Intel Corporation's ACPI |
---|
33 | 33 | Component Architecture (ACPI CA). For more information on the |
---|
34 | 34 | ACPI CA, see: |
---|
35 | | - <http://acpica.org/> |
---|
| 35 | + <https://acpica.org/> |
---|
36 | 36 | |
---|
37 | 37 | ACPI is an open industry specification originally co-developed by |
---|
38 | 38 | Hewlett-Packard, Intel, Microsoft, Phoenix, and Toshiba. Currently, |
---|
.. | .. |
---|
40 | 40 | the UEFI Forum and any UEFI member can join the ASWG and contribute |
---|
41 | 41 | to the ACPI specification. |
---|
42 | 42 | The specification is available at: |
---|
43 | | - <http://www.acpi.info> |
---|
44 | | - <http://www.uefi.org/acpi/specs> |
---|
| 43 | + <https://uefi.org/specifications> |
---|
45 | 44 | |
---|
46 | 45 | if ACPI |
---|
47 | 46 | |
---|
.. | .. |
---|
99 | 98 | depends on ACPI_SYSTEM_POWER_STATES_SUPPORT |
---|
100 | 99 | default y |
---|
101 | 100 | |
---|
102 | | -config ACPI_PROCFS_POWER |
---|
103 | | - bool "Deprecated power /proc/acpi directories" |
---|
104 | | - depends on X86 && PROC_FS |
---|
105 | | - help |
---|
106 | | - For backwards compatibility, this option allows |
---|
107 | | - deprecated power /proc/acpi/ directories to exist, even when |
---|
108 | | - they have been replaced by functions in /sys. |
---|
109 | | - The deprecated directories (and their replacements) include: |
---|
110 | | - /proc/acpi/battery/* (/sys/class/power_supply/*) and |
---|
111 | | - /proc/acpi/ac_adapter/* (sys/class/power_supply/*). |
---|
112 | | - This option has no effect on /proc/acpi/ directories |
---|
113 | | - and functions which do not yet exist in /sys. |
---|
114 | | - This option, together with the proc directories, will be |
---|
115 | | - deleted in the future. |
---|
116 | | - |
---|
117 | | - Say N to delete power /proc/acpi/ directories that have moved to /sys. |
---|
118 | | - |
---|
119 | 101 | config ACPI_REV_OVERRIDE_POSSIBLE |
---|
120 | 102 | bool "Allow supported ACPI revision to be overridden" |
---|
121 | 103 | depends on X86 |
---|
.. | .. |
---|
138 | 120 | |
---|
139 | 121 | config ACPI_EC_DEBUGFS |
---|
140 | 122 | tristate "EC read/write access through /sys/kernel/debug/ec" |
---|
141 | | - default n |
---|
142 | 123 | help |
---|
143 | 124 | Say N to disable Embedded Controller /sys/kernel/debug interface |
---|
144 | 125 | |
---|
.. | .. |
---|
156 | 137 | |
---|
157 | 138 | config ACPI_AC |
---|
158 | 139 | tristate "AC Adapter" |
---|
159 | | - depends on X86 |
---|
160 | 140 | select POWER_SUPPLY |
---|
161 | 141 | default y |
---|
162 | 142 | help |
---|
.. | .. |
---|
169 | 149 | |
---|
170 | 150 | config ACPI_BATTERY |
---|
171 | 151 | tristate "Battery" |
---|
172 | | - depends on X86 |
---|
173 | 152 | select POWER_SUPPLY |
---|
174 | 153 | default y |
---|
175 | 154 | help |
---|
.. | .. |
---|
192 | 171 | |
---|
193 | 172 | To compile this driver as a module, choose M here: |
---|
194 | 173 | the module will be called button. |
---|
| 174 | + |
---|
| 175 | +config ACPI_TINY_POWER_BUTTON |
---|
| 176 | + tristate "Tiny Power Button Driver" |
---|
| 177 | + depends on !ACPI_BUTTON |
---|
| 178 | + help |
---|
| 179 | + This driver provides a tiny alternative to the ACPI Button driver. |
---|
| 180 | + The tiny power button driver only handles the power button. Rather |
---|
| 181 | + than notifying userspace via the input layer or a netlink event, this |
---|
| 182 | + driver directly signals the init process to shut down. |
---|
| 183 | + |
---|
| 184 | + This driver is particularly suitable for cloud and VM environments, |
---|
| 185 | + which use a simulated power button to initiate a controlled poweroff, |
---|
| 186 | + but which may not want to run a separate userspace daemon to process |
---|
| 187 | + input events. |
---|
| 188 | + |
---|
| 189 | +config ACPI_TINY_POWER_BUTTON_SIGNAL |
---|
| 190 | + int "Tiny Power Button Signal" |
---|
| 191 | + depends on ACPI_TINY_POWER_BUTTON |
---|
| 192 | + default 38 |
---|
| 193 | + help |
---|
| 194 | + Default signal to send to init in response to the power button. |
---|
| 195 | + |
---|
| 196 | + Likely values here include 38 (SIGRTMIN+4) to power off, or 2 |
---|
| 197 | + (SIGINT) to simulate Ctrl+Alt+Del. |
---|
195 | 198 | |
---|
196 | 199 | config ACPI_VIDEO |
---|
197 | 200 | tristate "Video" |
---|
.. | .. |
---|
244 | 247 | |
---|
245 | 248 | config ACPI_PROCESSOR_CSTATE |
---|
246 | 249 | def_bool y |
---|
| 250 | + depends on ACPI_PROCESSOR |
---|
247 | 251 | depends on IA64 || X86 |
---|
248 | 252 | |
---|
249 | 253 | config ACPI_PROCESSOR_IDLE |
---|
.. | .. |
---|
283 | 287 | config ACPI_IPMI |
---|
284 | 288 | tristate "IPMI" |
---|
285 | 289 | depends on IPMI_HANDLER |
---|
286 | | - default n |
---|
287 | 290 | help |
---|
288 | 291 | This driver enables the ACPI to access the BMC controller. And it |
---|
289 | 292 | uses the IPMI request/response message to communicate with BMC |
---|
.. | .. |
---|
323 | 326 | To compile this driver as a module, choose M here: |
---|
324 | 327 | the module will be called thermal. |
---|
325 | 328 | |
---|
326 | | -config ACPI_NUMA |
---|
327 | | - bool "NUMA support" |
---|
328 | | - depends on NUMA |
---|
329 | | - depends on (X86 || IA64 || ARM64) |
---|
330 | | - default y if IA64_GENERIC || IA64_SGI_SN2 || ARM64 |
---|
331 | | - |
---|
332 | 329 | config ACPI_CUSTOM_DSDT_FILE |
---|
333 | 330 | string "Custom DSDT Table file to include" |
---|
334 | 331 | default "" |
---|
335 | 332 | depends on !STANDALONE |
---|
336 | 333 | help |
---|
337 | 334 | This option supports a custom DSDT by linking it into the kernel. |
---|
338 | | - See Documentation/acpi/dsdt-override.txt |
---|
| 335 | + See Documentation/admin-guide/acpi/dsdt-override.rst |
---|
339 | 336 | |
---|
340 | 337 | Enter the full path name to the file which includes the AmlCode |
---|
341 | | - declaration. |
---|
| 338 | + or dsdt_aml_code declaration. |
---|
342 | 339 | |
---|
343 | 340 | If unsure, don't enter a file name. |
---|
344 | 341 | |
---|
.. | .. |
---|
357 | 354 | This option provides functionality to upgrade arbitrary ACPI tables |
---|
358 | 355 | via initrd. No functional change if no ACPI tables are passed via |
---|
359 | 356 | initrd, therefore it's safe to say Y. |
---|
360 | | - See Documentation/acpi/initrd_table_override.txt for details |
---|
| 357 | + See Documentation/admin-guide/acpi/initrd_table_override.rst for details |
---|
| 358 | + |
---|
| 359 | +config ACPI_TABLE_OVERRIDE_VIA_BUILTIN_INITRD |
---|
| 360 | + bool "Override ACPI tables from built-in initrd" |
---|
| 361 | + depends on ACPI_TABLE_UPGRADE |
---|
| 362 | + depends on INITRAMFS_SOURCE!="" && INITRAMFS_COMPRESSION_NONE |
---|
| 363 | + help |
---|
| 364 | + This option provides functionality to override arbitrary ACPI tables |
---|
| 365 | + from built-in uncompressed initrd. |
---|
| 366 | + |
---|
| 367 | + See Documentation/admin-guide/acpi/initrd_table_override.rst for details |
---|
361 | 368 | |
---|
362 | 369 | config ACPI_DEBUG |
---|
363 | 370 | bool "Debug Statements" |
---|
364 | | - default n |
---|
365 | 371 | help |
---|
366 | 372 | The ACPI subsystem can produce debug output. Saying Y enables this |
---|
367 | 373 | output and increases the kernel size by around 50K. |
---|
368 | 374 | |
---|
369 | 375 | Use the acpi.debug_layer and acpi.debug_level kernel command-line |
---|
370 | | - parameters documented in Documentation/acpi/debug.txt and |
---|
| 376 | + parameters documented in Documentation/firmware-guide/acpi/debug.rst and |
---|
371 | 377 | Documentation/admin-guide/kernel-parameters.rst to control the type and |
---|
372 | 378 | amount of debug output. |
---|
373 | 379 | |
---|
374 | 380 | config ACPI_PCI_SLOT |
---|
375 | 381 | bool "PCI slot detection driver" |
---|
376 | | - depends on SYSFS |
---|
377 | | - default n |
---|
| 382 | + depends on SYSFS && PCI |
---|
378 | 383 | help |
---|
379 | 384 | This driver creates entries in /sys/bus/pci/slots/ for all PCI |
---|
380 | 385 | slots in the system. This can help correlate PCI bus addresses, |
---|
.. | .. |
---|
436 | 441 | config ACPI_CUSTOM_METHOD |
---|
437 | 442 | tristate "Allow ACPI methods to be inserted/replaced at run time" |
---|
438 | 443 | depends on DEBUG_FS |
---|
439 | | - default n |
---|
440 | 444 | help |
---|
441 | 445 | This debug facility allows ACPI AML methods to be inserted and/or |
---|
442 | 446 | replaced without rebooting the system. For details refer to: |
---|
443 | | - Documentation/acpi/method-customizing.txt. |
---|
| 447 | + Documentation/firmware-guide/acpi/method-customizing.rst. |
---|
444 | 448 | |
---|
445 | 449 | NOTE: This option is security sensitive, because it allows arbitrary |
---|
446 | 450 | kernel memory to be written to by root (uid=0) users, allowing them |
---|
.. | .. |
---|
451 | 455 | config ACPI_BGRT |
---|
452 | 456 | bool "Boottime Graphics Resource Table support" |
---|
453 | 457 | depends on EFI && (X86 || ARM64) |
---|
454 | | - help |
---|
| 458 | + help |
---|
455 | 459 | This driver adds support for exposing the ACPI Boottime Graphics |
---|
456 | 460 | Resource Table, which allows the operating system to obtain |
---|
457 | 461 | data from the firmware boot splash. It will appear under |
---|
.. | .. |
---|
470 | 474 | If you are unsure what to do, do not enable this option. |
---|
471 | 475 | |
---|
472 | 476 | source "drivers/acpi/nfit/Kconfig" |
---|
473 | | - |
---|
| 477 | +source "drivers/acpi/numa/Kconfig" |
---|
474 | 478 | source "drivers/acpi/apei/Kconfig" |
---|
475 | 479 | source "drivers/acpi/dptf/Kconfig" |
---|
476 | 480 | |
---|
.. | .. |
---|
481 | 485 | tristate "Extended Error Log support" |
---|
482 | 486 | depends on X86_MCE && X86_LOCAL_APIC && EDAC |
---|
483 | 487 | select UEFI_CPER |
---|
484 | | - default n |
---|
485 | 488 | help |
---|
486 | 489 | Certain usages such as Predictive Failure Analysis (PFA) require |
---|
487 | 490 | more information about the error than what can be described in |
---|
.. | .. |
---|
498 | 501 | driver adds support for that functionality with corresponding |
---|
499 | 502 | tracepoint which carries that information to userspace. |
---|
500 | 503 | |
---|
501 | | -menuconfig PMIC_OPREGION |
---|
502 | | - bool "PMIC (Power Management Integrated Circuit) operation region support" |
---|
503 | | - help |
---|
504 | | - Select this option to enable support for ACPI operation |
---|
505 | | - region of the PMIC chip. The operation region can be used |
---|
506 | | - to control power rails and sensor reading/writing on the |
---|
507 | | - PMIC chip. |
---|
508 | | - |
---|
509 | | -if PMIC_OPREGION |
---|
510 | | -config CRC_PMIC_OPREGION |
---|
511 | | - bool "ACPI operation region support for CrystalCove PMIC" |
---|
512 | | - depends on INTEL_SOC_PMIC |
---|
513 | | - help |
---|
514 | | - This config adds ACPI operation region support for CrystalCove PMIC. |
---|
515 | | - |
---|
516 | | -config XPOWER_PMIC_OPREGION |
---|
517 | | - bool "ACPI operation region support for XPower AXP288 PMIC" |
---|
518 | | - depends on MFD_AXP20X_I2C |
---|
519 | | - help |
---|
520 | | - This config adds ACPI operation region support for XPower AXP288 PMIC. |
---|
521 | | - |
---|
522 | | -config BXT_WC_PMIC_OPREGION |
---|
523 | | - bool "ACPI operation region support for BXT WhiskeyCove PMIC" |
---|
524 | | - depends on INTEL_SOC_PMIC_BXTWC |
---|
525 | | - help |
---|
526 | | - This config adds ACPI operation region support for BXT WhiskeyCove PMIC. |
---|
527 | | - |
---|
528 | | -config CHT_WC_PMIC_OPREGION |
---|
529 | | - bool "ACPI operation region support for CHT Whiskey Cove PMIC" |
---|
530 | | - depends on INTEL_SOC_PMIC_CHTWC |
---|
531 | | - help |
---|
532 | | - This config adds ACPI operation region support for CHT Whiskey Cove PMIC. |
---|
533 | | - |
---|
534 | | -config CHT_DC_TI_PMIC_OPREGION |
---|
535 | | - bool "ACPI operation region support for Dollar Cove TI PMIC" |
---|
536 | | - depends on INTEL_SOC_PMIC_CHTDC_TI |
---|
537 | | - help |
---|
538 | | - This config adds ACPI operation region support for Dollar Cove TI PMIC. |
---|
539 | | - |
---|
540 | | -endif |
---|
| 504 | +config ACPI_ADXL |
---|
| 505 | + bool |
---|
541 | 506 | |
---|
542 | 507 | config ACPI_CONFIGFS |
---|
543 | 508 | tristate "ACPI configfs support" |
---|
.. | .. |
---|
554 | 519 | bool |
---|
555 | 520 | endif |
---|
556 | 521 | |
---|
557 | | -config TPS68470_PMIC_OPREGION |
---|
558 | | - bool "ACPI operation region support for TPS68470 PMIC" |
---|
559 | | - depends on MFD_TPS68470 |
---|
560 | | - help |
---|
561 | | - This config adds ACPI operation region support for TI TPS68470 PMIC. |
---|
562 | | - TPS68470 device is an advanced power management unit that powers |
---|
563 | | - a Compact Camera Module (CCM), generates clocks for image sensors, |
---|
564 | | - drives a dual LED for flash and incorporates two LED drivers for |
---|
565 | | - general purpose indicators. |
---|
566 | | - This driver enables ACPI operation region support control voltage |
---|
567 | | - regulators and clocks. |
---|
568 | | - |
---|
569 | | - This option is a bool as it provides an ACPI operation |
---|
570 | | - region, which must be available before any of the devices |
---|
571 | | - using this, are probed. |
---|
| 522 | +source "drivers/acpi/pmic/Kconfig" |
---|
572 | 523 | |
---|
573 | 524 | endif # ACPI |
---|
574 | 525 | |
---|