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 | |
| 17 | config ACPI_HAVE_PCAT_8259 |
| 18 | def_bool y if !ACPI_NO_PCAT_8259 |
| 19 | |
Aaron Durbin | 20a588b | 2016-07-13 23:13:25 -0500 | [diff] [blame] | 20 | config ACPI_INTEL_HARDWARE_SLEEP_VALUES |
| 21 | def_bool n |
| 22 | help |
Marshall Dawson | 6139a5c6 | 2017-10-04 15:10:00 -0600 | [diff] [blame] | 23 | Provide common definitions for Intel hardware PM1_CNT register sleep |
| 24 | values. |
| 25 | |
Kyösti Mälkki | 3139c8d | 2020-06-28 16:33:33 +0300 | [diff] [blame] | 26 | config ACPI_SOC_NVS |
| 27 | bool |
| 28 | help |
| 29 | Set to indicate <soc/nvs.h> exists for the platform with a definition |
| 30 | for global_nvs. |
| 31 | |
Kyösti Mälkki | 027f86e | 2022-12-02 15:30:10 +0200 | [diff] [blame] | 32 | config ACPI_GNVS_USB_CHARGECTL |
| 33 | bool |
| 34 | depends on ACPI_SOC_NVS |
| 35 | help |
| 36 | Set to indicate <soc/nvs.h> implements fields s3u0, s3u1, s5u0, s5u1 |
| 37 | to control USB port power rail for S3/S4/S5 sleep states. |
| 38 | |
Kyösti Mälkki | 10bdee1 | 2023-04-11 01:00:17 +0300 | [diff] [blame] | 39 | config ACPI_CUSTOM_MADT |
| 40 | bool |
| 41 | default n if ACPI_NO_CUSTOM_MADT |
| 42 | default y |
| 43 | help |
| 44 | Selected by platforms that need to expose custom MADT entries. |
| 45 | |
| 46 | config ACPI_NO_CUSTOM_MADT |
| 47 | bool |
| 48 | default y if ACPI_COMMON_MADT_LAPIC && ACPI_COMMON_MADT_IOAPIC |
| 49 | |
Kyösti Mälkki | 69a1396 | 2023-04-08 14:10:48 +0300 | [diff] [blame] | 50 | config ACPI_COMMON_MADT_LAPIC |
| 51 | bool |
| 52 | |
Kyösti Mälkki | 10bdee1 | 2023-04-11 01:00:17 +0300 | [diff] [blame] | 53 | config ACPI_COMMON_MADT_IOAPIC |
Kyösti Mälkki | a5fa534 | 2022-11-18 13:23:52 +0200 | [diff] [blame] | 54 | bool |
Kyösti Mälkki | a5fa534 | 2022-11-18 13:23:52 +0200 | [diff] [blame] | 55 | |
Arthur Heymans | 3df6cc9 | 2023-06-27 16:44:59 +0200 | [diff] [blame] | 56 | config ACPI_COMMON_MADT_GICC_V3 |
| 57 | bool |
| 58 | depends on ARCH_ARM64 |
| 59 | |
Furquan Shaikh | bf4b7b0 | 2020-04-30 18:08:16 -0700 | [diff] [blame] | 60 | config ACPI_NO_PCAT_8259 |
| 61 | bool |
Marshall Dawson | 6139a5c6 | 2017-10-04 15:10:00 -0600 | [diff] [blame] | 62 | help |
Furquan Shaikh | bf4b7b0 | 2020-04-30 18:08:16 -0700 | [diff] [blame] | 63 | Selected by platforms that don't expose a PC/AT 8259 PIC pair. |
| 64 | |
Rocky Phagura | eff0713 | 2021-01-10 15:42:50 -0800 | [diff] [blame] | 65 | config ACPI_EINJ |
| 66 | def_bool n |
| 67 | depends on HAVE_ACPI_TABLES |
| 68 | help |
| 69 | This variable provides control for ACPI error injection table (EINJ) |
| 70 | |
Furquan Shaikh | bf4b7b0 | 2020-04-30 18:08:16 -0700 | [diff] [blame] | 71 | config HAVE_ACPI_TABLES |
| 72 | bool |
| 73 | help |
| 74 | This variable specifies whether a given board has ACPI table support. |
| 75 | It is usually set in mainboard/*/Kconfig. |
Michael Niewöhner | f0a44ae | 2021-01-01 21:04:09 +0100 | [diff] [blame] | 76 | |
| 77 | config ACPI_LPIT |
| 78 | bool |
| 79 | depends on HAVE_ACPI_TABLES |
| 80 | help |
| 81 | Selected by platforms that support and fill Intel Low Power Idle Table. |
Arthur Heymans | 2e3cb63 | 2023-06-30 15:01:08 +0200 | [diff] [blame] | 82 | |
| 83 | config ACPI_GTDT |
| 84 | bool |
| 85 | depends on HAVE_ACPI_TABLES |
| 86 | help |
| 87 | Selected by platforms that implement ARM generic timers |
Arthur Heymans | f3aa88a | 2023-06-22 21:41:51 +0200 | [diff] [blame] | 88 | |
| 89 | config MAX_ACPI_TABLE_SIZE_KB |
| 90 | int |
| 91 | default 144 |
| 92 | help |
| 93 | Set the maximum size of all ACPI tables in KiB. |