xref: /aosp_15_r20/external/coreboot/src/acpi/Kconfig (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1# SPDX-License-Identifier: GPL-2.0-only
2
3config 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
11	default "CP%02X"
12	depends on HAVE_ACPI_TABLES
13	help
14	  Specifies the ACPI name format string used by the acpigen
15	  function to generate the processor scope. Default is CPxx.
16
17config 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
25config ACPI_HAVE_PCAT_8259
26	def_bool y if !ACPI_NO_PCAT_8259
27
28config ACPI_INTEL_HARDWARE_SLEEP_VALUES
29	def_bool n
30	help
31	  Provide common definitions for Intel hardware PM1_CNT register sleep
32	  values.
33
34config 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
40config 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
47config 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
58config ACPI_COMMON_MADT_LAPIC
59	bool
60
61config ACPI_COMMON_MADT_IOAPIC
62	bool
63
64config ACPI_COMMON_MADT_GICC_V3
65	bool
66	depends on ARCH_ARM64
67
68config ACPI_NO_PCAT_8259
69	bool
70	help
71	  Selected by platforms that don't expose a PC/AT 8259 PIC pair.
72
73config 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
79config 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.
84
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.
90
91config ACPI_GTDT
92	bool
93	depends on HAVE_ACPI_TABLES
94	help
95	  Selected by platforms that implement ARM generic timers
96
97config 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
103config MAX_ACPI_TABLE_SIZE_KB
104	int
105	default 144
106	help
107	  Set the maximum size of all ACPI tables in KiB.
108
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.
122
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).
130