Martin Roth | 4a45ab8 | 2019-09-23 18:23:02 -0600 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Alexander Couzens | 7710379 | 2015-04-16 02:03:26 +0200 | [diff] [blame] | 2 | |
Furquan Shaikh | bf4b7b0 | 2020-04-30 18:08:16 -0700 | [diff] [blame] | 3 | config ACPI_AMD_HARDWARE_SLEEP_VALUES |
| 4 | def_bool n |
| 5 | help |
| 6 | Provide common definitions for AMD hardware PM1_CNT register sleep |
| 7 | values. |
| 8 | |
| 9 | config ACPI_CPU_STRING |
| 10 | string |
Felix Held | f0a8b04 | 2023-05-12 15:55:06 +0200 | [diff] [blame] | 11 | default "CP%02X" |
Furquan Shaikh | bf4b7b0 | 2020-04-30 18:08:16 -0700 | [diff] [blame] | 12 | depends on HAVE_ACPI_TABLES |
| 13 | help |
Felix Held | 2fc2758 | 2023-01-25 16:25:27 +0100 | [diff] [blame] | 14 | Specifies the ACPI name format string used by the acpigen |
Felix Held | f0a8b04 | 2023-05-12 15:55:06 +0200 | [diff] [blame] | 15 | function to generate the processor scope. Default is CPxx. |
Furquan Shaikh | bf4b7b0 | 2020-04-30 18:08:16 -0700 | [diff] [blame] | 16 | |
Aseda Aboagye | fef07f2 | 2024-03-20 15:40:34 -0500 | [diff] [blame] | 17 | config ACPI_FNKEY_GEN_SCANCODE |
| 18 | int |
| 19 | default 0 |
| 20 | help |
| 21 | Specifies the scancode, if any, which is generated when the Fn key is |
| 22 | pressed. A value of 0 is ignored, which is the default since most |
| 23 | keyboards do not emit a scancode for the Fn key. |
| 24 | |
Furquan Shaikh | bf4b7b0 | 2020-04-30 18:08:16 -0700 | [diff] [blame] | 25 | config ACPI_HAVE_PCAT_8259 |
| 26 | def_bool y if !ACPI_NO_PCAT_8259 |
| 27 | |
Aaron Durbin | 20a588b | 2016-07-13 23:13:25 -0500 | [diff] [blame] | 28 | config ACPI_INTEL_HARDWARE_SLEEP_VALUES |
| 29 | def_bool n |
| 30 | help |
Marshall Dawson | 6139a5c6 | 2017-10-04 15:10:00 -0600 | [diff] [blame] | 31 | Provide common definitions for Intel hardware PM1_CNT register sleep |
| 32 | values. |
| 33 | |
Kyösti Mälkki | 3139c8d | 2020-06-28 16:33:33 +0300 | [diff] [blame] | 34 | config ACPI_SOC_NVS |
| 35 | bool |
| 36 | help |
| 37 | Set to indicate <soc/nvs.h> exists for the platform with a definition |
| 38 | for global_nvs. |
| 39 | |
Kyösti Mälkki | 027f86e | 2022-12-02 15:30:10 +0200 | [diff] [blame] | 40 | config ACPI_GNVS_USB_CHARGECTL |
| 41 | bool |
| 42 | depends on ACPI_SOC_NVS |
| 43 | help |
| 44 | Set to indicate <soc/nvs.h> implements fields s3u0, s3u1, s5u0, s5u1 |
| 45 | to control USB port power rail for S3/S4/S5 sleep states. |
| 46 | |
Kyösti Mälkki | 10bdee1 | 2023-04-11 01:00:17 +0300 | [diff] [blame] | 47 | config ACPI_CUSTOM_MADT |
| 48 | bool |
| 49 | default n if ACPI_NO_CUSTOM_MADT |
| 50 | default y |
| 51 | help |
| 52 | Selected by platforms that need to expose custom MADT entries. |
| 53 | |
| 54 | config ACPI_NO_CUSTOM_MADT |
| 55 | bool |
| 56 | default y if ACPI_COMMON_MADT_LAPIC && ACPI_COMMON_MADT_IOAPIC |
| 57 | |
Kyösti Mälkki | 69a1396 | 2023-04-08 14:10:48 +0300 | [diff] [blame] | 58 | config ACPI_COMMON_MADT_LAPIC |
| 59 | bool |
| 60 | |
Kyösti Mälkki | 10bdee1 | 2023-04-11 01:00:17 +0300 | [diff] [blame] | 61 | config ACPI_COMMON_MADT_IOAPIC |
Kyösti Mälkki | a5fa534 | 2022-11-18 13:23:52 +0200 | [diff] [blame] | 62 | bool |
Kyösti Mälkki | a5fa534 | 2022-11-18 13:23:52 +0200 | [diff] [blame] | 63 | |
Arthur Heymans | 3df6cc9 | 2023-06-27 16:44:59 +0200 | [diff] [blame] | 64 | config ACPI_COMMON_MADT_GICC_V3 |
| 65 | bool |
| 66 | depends on ARCH_ARM64 |
| 67 | |
Furquan Shaikh | bf4b7b0 | 2020-04-30 18:08:16 -0700 | [diff] [blame] | 68 | config ACPI_NO_PCAT_8259 |
| 69 | bool |
Marshall Dawson | 6139a5c6 | 2017-10-04 15:10:00 -0600 | [diff] [blame] | 70 | help |
Furquan Shaikh | bf4b7b0 | 2020-04-30 18:08:16 -0700 | [diff] [blame] | 71 | Selected by platforms that don't expose a PC/AT 8259 PIC pair. |
| 72 | |
Rocky Phagura | eff0713 | 2021-01-10 15:42:50 -0800 | [diff] [blame] | 73 | config ACPI_EINJ |
| 74 | def_bool n |
| 75 | depends on HAVE_ACPI_TABLES |
| 76 | help |
| 77 | This variable provides control for ACPI error injection table (EINJ) |
| 78 | |
Furquan Shaikh | bf4b7b0 | 2020-04-30 18:08:16 -0700 | [diff] [blame] | 79 | config HAVE_ACPI_TABLES |
| 80 | bool |
| 81 | help |
| 82 | This variable specifies whether a given board has ACPI table support. |
| 83 | It is usually set in mainboard/*/Kconfig. |
Michael Niewöhner | f0a44ae | 2021-01-01 21:04:09 +0100 | [diff] [blame] | 84 | |
| 85 | config ACPI_LPIT |
| 86 | bool |
| 87 | depends on HAVE_ACPI_TABLES |
| 88 | help |
| 89 | Selected by platforms that support and fill Intel Low Power Idle Table. |
Arthur Heymans | 2e3cb63 | 2023-06-30 15:01:08 +0200 | [diff] [blame] | 90 | |
| 91 | config ACPI_GTDT |
| 92 | bool |
| 93 | depends on HAVE_ACPI_TABLES |
| 94 | help |
| 95 | Selected by platforms that implement ARM generic timers |
Arthur Heymans | f3aa88a | 2023-06-22 21:41:51 +0200 | [diff] [blame] | 96 | |
Naresh Solanki | 6920c6f | 2023-09-13 12:01:58 +0200 | [diff] [blame] | 97 | config ACPI_IORT |
| 98 | def_bool n |
| 99 | depends on ARCH_ARM64 && HAVE_ACPI_TABLES |
| 100 | help |
| 101 | Selected by platforms that implement ARM IO Remap table. |
| 102 | |
Arthur Heymans | f3aa88a | 2023-06-22 21:41:51 +0200 | [diff] [blame] | 103 | config MAX_ACPI_TABLE_SIZE_KB |
| 104 | int |
| 105 | default 144 |
| 106 | help |
| 107 | Set the maximum size of all ACPI tables in KiB. |
David Milosevic | d982274 | 2023-09-22 14:34:28 +0200 | [diff] [blame] | 108 | |
| 109 | config ACPI_PPTT |
| 110 | bool |
| 111 | depends on HAVE_ACPI_TABLES |
| 112 | help |
| 113 | Selected to build an ACPI Processor Properties Topology Table. |
| 114 | |
| 115 | config ACPI_PPTT_MAX_CACHES |
| 116 | int |
| 117 | depends on ACPI_PPTT |
| 118 | default 4 |
| 119 | help |
| 120 | This variable sets the maximum number of distinct caches per |
| 121 | topology level. Increasing this option also increases stack usage. |
Marek Maslanka | 017003c | 2023-12-07 13:21:35 +0000 | [diff] [blame] | 122 | |
| 123 | config ACPI_WDAT_WDT |
| 124 | bool |
| 125 | default n |
| 126 | depends on HAVE_ACPI_TABLES |
| 127 | help |
| 128 | Selected by platforms that support and fill ACPI Watchdog Action Table |
| 129 | (WDAT). |