blob: 2bb56ba91dd6035f727cab943a49a3cf09131985 [file] [log] [blame]
Martin Roth4a45ab82019-09-23 18:23:02 -06001# SPDX-License-Identifier: GPL-2.0-only
Alexander Couzens77103792015-04-16 02:03:26 +02002
Furquan Shaikhbf4b7b02020-04-30 18:08:16 -07003config 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
9config ACPI_CPU_STRING
10 string
Felix Heldf0a8b042023-05-12 15:55:06 +020011 default "CP%02X"
Furquan Shaikhbf4b7b02020-04-30 18:08:16 -070012 depends on HAVE_ACPI_TABLES
13 help
Felix Held2fc27582023-01-25 16:25:27 +010014 Specifies the ACPI name format string used by the acpigen
Felix Heldf0a8b042023-05-12 15:55:06 +020015 function to generate the processor scope. Default is CPxx.
Furquan Shaikhbf4b7b02020-04-30 18:08:16 -070016
Aseda Aboagyefef07f22024-03-20 15:40:34 -050017config 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 Shaikhbf4b7b02020-04-30 18:08:16 -070025config ACPI_HAVE_PCAT_8259
26 def_bool y if !ACPI_NO_PCAT_8259
27
Aaron Durbin20a588b2016-07-13 23:13:25 -050028config ACPI_INTEL_HARDWARE_SLEEP_VALUES
29 def_bool n
30 help
Marshall Dawson6139a5c62017-10-04 15:10:00 -060031 Provide common definitions for Intel hardware PM1_CNT register sleep
32 values.
33
Kyösti Mälkki3139c8d2020-06-28 16:33:33 +030034config 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älkki027f86e2022-12-02 15:30:10 +020040config 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älkki10bdee12023-04-11 01:00:17 +030047config 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
54config ACPI_NO_CUSTOM_MADT
55 bool
56 default y if ACPI_COMMON_MADT_LAPIC && ACPI_COMMON_MADT_IOAPIC
57
Kyösti Mälkki69a13962023-04-08 14:10:48 +030058config ACPI_COMMON_MADT_LAPIC
59 bool
60
Kyösti Mälkki10bdee12023-04-11 01:00:17 +030061config ACPI_COMMON_MADT_IOAPIC
Kyösti Mälkkia5fa5342022-11-18 13:23:52 +020062 bool
Kyösti Mälkkia5fa5342022-11-18 13:23:52 +020063
Arthur Heymans3df6cc92023-06-27 16:44:59 +020064config ACPI_COMMON_MADT_GICC_V3
65 bool
66 depends on ARCH_ARM64
67
Furquan Shaikhbf4b7b02020-04-30 18:08:16 -070068config ACPI_NO_PCAT_8259
69 bool
Marshall Dawson6139a5c62017-10-04 15:10:00 -060070 help
Furquan Shaikhbf4b7b02020-04-30 18:08:16 -070071 Selected by platforms that don't expose a PC/AT 8259 PIC pair.
72
Rocky Phaguraeff07132021-01-10 15:42:50 -080073config 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 Shaikhbf4b7b02020-04-30 18:08:16 -070079config 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öhnerf0a44ae2021-01-01 21:04:09 +010084
85config 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 Heymans2e3cb632023-06-30 15:01:08 +020090
91config ACPI_GTDT
92 bool
93 depends on HAVE_ACPI_TABLES
94 help
95 Selected by platforms that implement ARM generic timers
Arthur Heymansf3aa88a2023-06-22 21:41:51 +020096
Naresh Solanki6920c6f2023-09-13 12:01:58 +020097config 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 Heymansf3aa88a2023-06-22 21:41:51 +0200103config MAX_ACPI_TABLE_SIZE_KB
104 int
105 default 144
106 help
107 Set the maximum size of all ACPI tables in KiB.
David Milosevicd9822742023-09-22 14:34:28 +0200108
109config ACPI_PPTT
110 bool
111 depends on HAVE_ACPI_TABLES
112 help
113 Selected to build an ACPI Processor Properties Topology Table.
114
115config 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 Maslanka017003c2023-12-07 13:21:35 +0000122
123config 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).