]> bbs.cooldavid.org Git - net-next-2.6.git/blame - drivers/acpi/Kconfig
ACPI: Only processor needs CPU_IDLE
[net-next-2.6.git] / drivers / acpi / Kconfig
CommitLineData
1da177e4
LT
1#
2# ACPI Configuration
3#
4
3f2c48c9 5menuconfig ACPI
355ee5eb 6 bool "ACPI (Advanced Configuration and Power Interface) Support"
1da177e4
LT
7 depends on !IA64_HP_SIM
8 depends on IA64 || X86
1300124f 9 depends on PCI
6796a120 10 depends on PM
243b66e7 11 select PNP
1da177e4 12 default y
1c48aa36 13 help
1da177e4 14 Advanced Configuration and Power Interface (ACPI) support for
1c48aa36 15 Linux requires an ACPI-compliant platform (hardware/firmware),
1da177e4
LT
16 and assumes the presence of OS-directed configuration and power
17 management (OSPM) software. This option will enlarge your
18 kernel by about 70K.
19
20 Linux ACPI provides a robust functional replacement for several
21 legacy configuration and power management interfaces, including
22 the Plug-and-Play BIOS specification (PnP BIOS), the
23 MultiProcessor Specification (MPS), and the Advanced Power
24 Management (APM) specification. If both ACPI and APM support
1c48aa36 25 are configured, ACPI is used.
1da177e4 26
1c48aa36
BH
27 The project home page for the Linux ACPI subsystem is here:
28 <http://www.lesswatts.org/projects/acpi/>
1da177e4
LT
29
30 Linux support for ACPI is based on Intel Corporation's ACPI
1c48aa36
BH
31 Component Architecture (ACPI CA). For more information on the
32 ACPI CA, see:
33 <http://acpica.org/>
1da177e4 34
1c48aa36
BH
35 ACPI is an open industry specification co-developed by
36 Hewlett-Packard, Intel, Microsoft, Phoenix, and Toshiba.
37 The specification is available at:
1da177e4
LT
38 <http://www.acpi.info>
39
3e11c3ce
LB
40if ACPI
41
673d5b43
LB
42config ACPI_SLEEP
43 bool
5d1e072b 44 depends on SUSPEND || HIBERNATION
673d5b43
LB
45 default y
46
b981c591 47config ACPI_PROCFS
fb804714
LB
48 bool "Deprecated /proc/acpi files"
49 depends on PROC_FS
1c48aa36 50 help
fb804714 51 For backwards compatibility, this option allows
405bbe9f 52 deprecated /proc/acpi/ files to exist, even when
fb804714
LB
53 they have been replaced by functions in /sys.
54 The deprecated files (and their replacements) include:
55
74cad4ee
ZY
56 /proc/acpi/processor/*/throttling (/sys/class/thermal/
57 cooling_device*/*)
6e37c658 58 /proc/acpi/video/*/brightness (/sys/class/backlight/)
43d9f87b 59 /proc/acpi/thermal_zone/*/* (/sys/class/thermal/)
fb804714
LB
60 This option has no effect on /proc/acpi/ files
61 and functions which do not yet exist in /sys.
62
63 Say N to delete /proc/acpi/ files that have moved to /sys/
1c48aa36 64
fdcedbba 65config ACPI_PROCFS_POWER
9e527971 66 bool "Deprecated power /proc/acpi directories"
fdcedbba
AS
67 depends on PROC_FS
68 default y
1c48aa36 69 help
fdcedbba 70 For backwards compatibility, this option allows
9e527971 71 deprecated power /proc/acpi/ directories to exist, even when
fdcedbba 72 they have been replaced by functions in /sys.
9e527971 73 The deprecated directories (and their replacements) include:
fdcedbba
AS
74 /proc/acpi/battery/* (/sys/class/power_supply/*)
75 /proc/acpi/ac_adapter/* (sys/class/power_supply/*)
9e527971 76 This option has no effect on /proc/acpi/ directories
fdcedbba 77 and functions, which do not yet exist in /sys
b981c591 78
9e527971
AC
79 Say N to delete power /proc/acpi/ directories that have moved to /sys/
80
de584afa
DW
81config ACPI_POWER_METER
82 tristate "ACPI 4.0 power meter"
83 depends on HWMON
84 help
85 This driver exposes ACPI 4.0 power meters as hardware monitoring
86 devices. Say Y (or M) if you have a computer with ACPI 4.0 firmware
87 and a power meter.
88
89 To compile this driver as a module, choose M here:
90 the module will be called power-meter.
91
97749cd9
AS
92config ACPI_SYSFS_POWER
93 bool "Future power /sys interface"
94 select POWER_SUPPLY
95 default y
1c48aa36 96 help
97749cd9 97 Say N to disable power /sys interface
9e527971 98
1195a098
TR
99config ACPI_EC_DEBUGFS
100 tristate "EC read/write access through /sys/kernel/debug/ec"
500de3dd 101 default n
1195a098
TR
102 help
103 Say N to disable Embedded Controller /sys/kernel/debug interface
104
500de3dd
TR
105 Be aware that using this interface can confuse your Embedded
106 Controller in a way that a normal reboot is not enough. You then
25cb1bfd 107 have to power off your system, and remove the laptop battery for
500de3dd 108 some seconds.
1195a098
TR
109 An Embedded Controller typically is available on laptops and reads
110 sensor values like battery state and temperature.
500de3dd
TR
111 The kernel accesses the EC through ACPI parsed code provided by BIOS
112 tables. This option allows to access the EC directly without ACPI
113 code being involved.
1195a098
TR
114 Thus this option is a debug option that helps to write ACPI drivers
115 and can be used to identify ACPI code or EC firmware bugs.
116
14e04fb3
LB
117config ACPI_PROC_EVENT
118 bool "Deprecated /proc/acpi/event support"
119 depends on PROC_FS
721ebe00 120 default y
1c48aa36
BH
121 help
122 A user-space daemon, acpid, typically reads /proc/acpi/event
123 and handles all ACPI-generated events.
14e04fb3 124
1c48aa36
BH
125 These events are now delivered to user-space either
126 via the input layer or as netlink events.
14e04fb3 127
721ebe00 128 This build option enables the old code for legacy
14e04fb3
LB
129 user-space implementation. After some time, this will
130 be moved under CONFIG_ACPI_PROCFS, and then deleted.
131
721ebe00
HD
132 Say Y here to retain the old behaviour. Say N if your
133 user-space is newer than kernel 2.6.23 (September 2007).
134
1da177e4
LT
135config ACPI_AC
136 tristate "AC Adapter"
5527c8be 137 depends on X86
07fefe4c 138 default y
1da177e4 139 help
1c48aa36
BH
140 This driver supports the AC Adapter object, which indicates
141 whether a system is on AC or not. If you have a system that can
07fefe4c 142 switch between A/C and battery, say Y.
1da177e4 143
1c48aa36
BH
144 To compile this driver as a module, choose M here:
145 the module will be called ac.
146
1da177e4
LT
147config ACPI_BATTERY
148 tristate "Battery"
5527c8be 149 depends on X86
07fefe4c 150 default y
1da177e4
LT
151 help
152 This driver adds support for battery information through
153 /proc/acpi/battery. If you have a mobile system with a battery,
154 say Y.
155
1c48aa36
BH
156 To compile this driver as a module, choose M here:
157 the module will be called battery.
158
1da177e4
LT
159config ACPI_BUTTON
160 tristate "Button"
c0968f0e 161 depends on INPUT
07fefe4c 162 default y
1da177e4 163 help
1c48aa36 164 This driver handles events on the power, sleep, and lid buttons.
07fefe4c
LB
165 A daemon reads /proc/acpi/event and perform user-defined actions
166 such as shutting down the system. This is necessary for
1c48aa36
BH
167 software-controlled poweroff.
168
169 To compile this driver as a module, choose M here:
170 the module will be called button.
1da177e4
LT
171
172config ACPI_VIDEO
173 tristate "Video"
23b0f015 174 depends on X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL
03e2bf26 175 depends on INPUT
63c4ec90 176 select THERMAL
1da177e4 177 help
1c48aa36 178 This driver implements the ACPI Extensions For Display Adapters
1da177e4 179 for integrated graphics devices on motherboard, as specified in
1c48aa36
BH
180 ACPI 2.0 Specification, Appendix B. This supports basic operations
181 such as defining the video POST device, retrieving EDID information,
182 and setting up a video output.
183
184 To compile this driver as a module, choose M here:
185 the module will be called video.
1da177e4
LT
186
187config ACPI_FAN
188 tristate "Fan"
63c4ec90 189 select THERMAL
07fefe4c 190 default y
1da177e4 191 help
1c48aa36 192 This driver supports ACPI fan devices, allowing user-mode
1da177e4
LT
193 applications to perform basic fan control (on, off, status).
194
1c48aa36
BH
195 To compile this driver as a module, choose M here:
196 the module will be called fan.
197
c8f7a62c 198config ACPI_DOCK
898b054f 199 bool "Dock"
8d7bff6c 200 depends on EXPERIMENTAL
c8f7a62c 201 help
1c48aa36
BH
202 This driver supports ACPI-controlled docking stations and removable
203 drive bays such as the IBM Ultrabay and the Dell Module Bay.
01b57e73 204
1da177e4
LT
205config ACPI_PROCESSOR
206 tristate "Processor"
63c4ec90 207 select THERMAL
a4084c14 208 select CPU_IDLE
07fefe4c 209 default y
1da177e4 210 help
1c48aa36
BH
211 This driver installs ACPI as the idle handler for Linux and uses
212 ACPI C2 and C3 processor states to save power on systems that
07fefe4c 213 support it. It is required by several flavors of cpufreq
1c48aa36
BH
214 performance-state drivers.
215
216 To compile this driver as a module, choose M here:
217 the module will be called processor.
1da177e4
LT
218
219config ACPI_HOTPLUG_CPU
cbfc1bae
AB
220 bool
221 depends on ACPI_PROCESSOR && HOTPLUG_CPU
1da177e4 222 select ACPI_CONTAINER
cbfc1bae 223 default y
1da177e4 224
8e0af514
SL
225config ACPI_PROCESSOR_AGGREGATOR
226 tristate "Processor Aggregator"
227 depends on ACPI_PROCESSOR
228 depends on EXPERIMENTAL
d91f79eb 229 depends on X86
8e0af514
SL
230 help
231 ACPI 4.0 defines processor Aggregator, which enables OS to perform
c4c4e2a5 232 specific processor configuration and control that applies to all
8e0af514
SL
233 processors in the platform. Currently only logical processor idling
234 is defined, which is to reduce power consumption. This driver
c4c4e2a5 235 supports the new device.
8e0af514 236
1da177e4
LT
237config ACPI_THERMAL
238 tristate "Thermal Zone"
239 depends on ACPI_PROCESSOR
3f655ef8 240 select THERMAL
07fefe4c 241 default y
1da177e4 242 help
1c48aa36 243 This driver supports ACPI thermal zones. Most mobile and
1da177e4
LT
244 some desktop systems support ACPI thermal zones. It is HIGHLY
245 recommended that this option be enabled, as your processor(s)
246 may be damaged without it.
247
1c48aa36
BH
248 To compile this driver as a module, choose M here:
249 the module will be called thermal.
250
1da177e4
LT
251config ACPI_NUMA
252 bool "NUMA support"
253 depends on NUMA
762834e8 254 depends on (X86 || IA64)
1da177e4
LT
255 default y if IA64_GENERIC || IA64_SGI_SN2
256
7ce9573e
RD
257config ACPI_CUSTOM_DSDT_FILE
258 string "Custom DSDT Table file to include"
259 default ""
1da177e4 260 depends on !STANDALONE
1da177e4 261 help
d89e9d6b
LB
262 This option supports a custom DSDT by linking it into the kernel.
263 See Documentation/acpi/dsdt-override.txt
264
c30fe7f7
UZ
265 Enter the full path name to the file which includes the AmlCode
266 declaration.
1da177e4 267
7ce9573e
RD
268 If unsure, don't enter a file name.
269
270config ACPI_CUSTOM_DSDT
271 bool
272 default ACPI_CUSTOM_DSDT_FILE != ""
273
1da177e4 274config ACPI_BLACKLIST_YEAR
2eb1bdba 275 int "Disable ACPI for systems before Jan 1st this year" if X86_32
1da177e4
LT
276 default 0
277 help
1c48aa36 278 Enter a 4-digit year, e.g., 2001, to disable ACPI by default
1da177e4
LT
279 on platforms with DMI BIOS date before January 1st that year.
280 "acpi=force" can be used to override this mechanism.
281
282 Enter 0 to disable this mechanism and allow ACPI to
283 run by default no matter what the year. (default)
284
285config ACPI_DEBUG
286 bool "Debug Statements"
1da177e4
LT
287 default n
288 help
a0d84a92
BH
289 The ACPI subsystem can produce debug output. Saying Y enables this
290 output and increases the kernel size by around 50K.
291
292 Use the acpi.debug_layer and acpi.debug_level kernel command-line
293 parameters documented in Documentation/acpi/debug.txt and
294 Documentation/kernel-parameters.txt to control the type and
295 amount of debug output.
1da177e4 296
798d9103
TR
297config ACPI_DEBUG_FUNC_TRACE
298 bool "Additionally enable ACPI function tracing"
299 default n
300 depends on ACPI_DEBUG
301 help
302 ACPI Debug Statements slow down ACPI processing. Function trace
303 is about half of the penalty and is rarely useful.
304
8344b568
AC
305config ACPI_PCI_SLOT
306 tristate "PCI slot detection driver"
268a03a4 307 depends on SYSFS
8344b568
AC
308 default n
309 help
1c48aa36
BH
310 This driver creates entries in /sys/bus/pci/slots/ for all PCI
311 slots in the system. This can help correlate PCI bus addresses,
312 i.e., segment/bus/device/function tuples, with physical slots in
313 the system. If you are unsure, say N.
314
315 To compile this driver as a module, choose M here:
316 the module will be called pci_slot.
8344b568 317
1da177e4 318config X86_PM_TIMER
e78256b8 319 bool "Power Management Timer Support" if EMBEDDED
1da177e4 320 depends on X86
07fefe4c 321 default y
1da177e4
LT
322 help
323 The Power Management Timer is available on all ACPI-capable,
324 in most cases even if ACPI is unusable or blacklisted.
325
c73a668c 326 This timing source is not affected by power management features
1da177e4
LT
327 like aggressive processor idling, throttling, frequency and/or
328 voltage scaling, unlike the commonly used Time Stamp Counter
329 (TSC) timing source.
330
e78256b8
AK
331 You should nearly always say Y here because many modern
332 systems require this timer.
1da177e4
LT
333
334config ACPI_CONTAINER
1c48aa36 335 tristate "Container and Module Devices (EXPERIMENTAL)"
1da177e4
LT
336 depends on EXPERIMENTAL
337 default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
1c48aa36
BH
338 help
339 This driver supports ACPI Container and Module devices (IDs
340 ACPI0004, PNP0A05, and PNP0A06).
45b1b196 341
1c48aa36
BH
342 This helps support hotplug of nodes, CPUs, and memory.
343
344 To compile this driver as a module, choose M here:
345 the module will be called container.
1da177e4
LT
346
347config ACPI_HOTPLUG_MEMORY
348 tristate "Memory Hotplug"
bc02af93 349 depends on MEMORY_HOTPLUG
1da177e4
LT
350 default n
351 help
1c48aa36
BH
352 This driver supports ACPI memory hotplug. The driver
353 fields notifications on ACPI memory devices (PNP0C80),
354 which represent memory ranges that may be onlined or
355 offlined during runtime.
1da177e4 356
1c48aa36
BH
357 If your hardware and firmware do not support adding or
358 removing memory devices at runtime, you need not enable
359 this driver.
1da177e4 360
1c48aa36
BH
361 To compile this driver as a module, choose M here:
362 the module will be called acpi_memhotplug.
3f86b832
RT
363
364config ACPI_SBS
94f6c086 365 tristate "Smart Battery System"
b4150fc4 366 depends on X86
3f86b832 367 help
1c48aa36 368 This driver supports the Smart Battery System, another
94f6c086 369 type of access to battery information, found on some laptops.
3f86b832 370
1c48aa36
BH
371 To compile this driver as a module, choose M here:
372 the modules will be called sbs and sbshc.
373
801eab81
HY
374config ACPI_HED
375 tristate "Hardware Error Device"
376 help
377 This driver supports the Hardware Error Device (PNP0C33),
378 which is used to report some hardware errors notified via
379 SCI, mainly the corrected errors.
380
a643ce20
HY
381source "drivers/acpi/apei/Kconfig"
382
1da177e4 383endif # ACPI