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