summaryrefslogtreecommitdiff
path: root/src/acpi/Kconfig
blob: 2bb56ba91dd6035f727cab943a49a3cf09131985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# SPDX-License-Identifier: GPL-2.0-only

config ACPI_AMD_HARDWARE_SLEEP_VALUES
	def_bool n
	help
	  Provide common definitions for AMD hardware PM1_CNT register sleep
	  values.

config ACPI_CPU_STRING
	string
	default "CP%02X"
	depends on HAVE_ACPI_TABLES
	help
	  Specifies the ACPI name format string used by the acpigen
	  function to generate the processor scope. Default is CPxx.

config ACPI_FNKEY_GEN_SCANCODE
	int
	default 0
	help
	  Specifies the scancode, if any, which is generated when the Fn key is
	  pressed. A value of 0 is ignored, which is the default since most
	  keyboards do not emit a scancode for the Fn key.

config ACPI_HAVE_PCAT_8259
	def_bool y if !ACPI_NO_PCAT_8259

config ACPI_INTEL_HARDWARE_SLEEP_VALUES
	def_bool n
	help
	  Provide common definitions for Intel hardware PM1_CNT register sleep
	  values.

config ACPI_SOC_NVS
	bool
	help
	  Set to indicate <soc/nvs.h> exists for the platform with a definition
	  for global_nvs.

config ACPI_GNVS_USB_CHARGECTL
	bool
	depends on ACPI_SOC_NVS
	help
	  Set to indicate <soc/nvs.h> implements fields s3u0, s3u1, s5u0, s5u1
	  to control USB port power rail for S3/S4/S5 sleep states.

config ACPI_CUSTOM_MADT
	bool
	default n if ACPI_NO_CUSTOM_MADT
	default y
	help
	  Selected by platforms that need to expose custom MADT entries.

config ACPI_NO_CUSTOM_MADT
	bool
	default y if ACPI_COMMON_MADT_LAPIC && ACPI_COMMON_MADT_IOAPIC

config ACPI_COMMON_MADT_LAPIC
	bool

config ACPI_COMMON_MADT_IOAPIC
	bool

config ACPI_COMMON_MADT_GICC_V3
	bool
	depends on ARCH_ARM64

config ACPI_NO_PCAT_8259
	bool
	help
	  Selected by platforms that don't expose a PC/AT 8259 PIC pair.

config ACPI_EINJ
	def_bool n
	depends on HAVE_ACPI_TABLES
	help
	  This variable provides control for ACPI error injection table (EINJ)

config HAVE_ACPI_TABLES
	bool
	help
	  This variable specifies whether a given board has ACPI table support.
	  It is usually set in mainboard/*/Kconfig.

config ACPI_LPIT
	bool
	depends on HAVE_ACPI_TABLES
	help
	  Selected by platforms that support and fill Intel Low Power Idle Table.

config ACPI_GTDT
	bool
	depends on HAVE_ACPI_TABLES
	help
	  Selected by platforms that implement ARM generic timers

config ACPI_IORT
	def_bool n
	depends on ARCH_ARM64 && HAVE_ACPI_TABLES
	help
	  Selected by platforms that implement ARM IO Remap table.

config MAX_ACPI_TABLE_SIZE_KB
	int
	default 144
	help
	  Set the maximum size of all ACPI tables in KiB.

config ACPI_PPTT
	bool
	depends on HAVE_ACPI_TABLES
	help
	  Selected to build an ACPI Processor Properties Topology Table.

config ACPI_PPTT_MAX_CACHES
	int
	depends on ACPI_PPTT
	default 4
	help
	  This variable sets the maximum number of distinct caches per
	  topology level. Increasing this option also increases stack usage.

config ACPI_WDAT_WDT
	bool
	default n
	depends on HAVE_ACPI_TABLES
	help
	  Selected by platforms that support and fill ACPI Watchdog Action Table
	  (WDAT).