Input: dell-wmi - switch to using sparse keymap library
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / platform / x86 / Kconfig
blobee8b09eb70fd67fcc0c45317f4e7e2573a5dd8b6
2 # X86 Platform Specific Drivers
5 menuconfig X86_PLATFORM_DEVICES
6         bool "X86 Platform Specific Device Drivers"
7         default y
8         depends on X86
9         ---help---
10           Say Y here to get to see options for device drivers for various
11           x86 platforms, including vendor-specific laptop extension drivers.
12           This option alone does not add any kernel code.
14           If you say N, all options in this submenu will be skipped and disabled.
16 if X86_PLATFORM_DEVICES
18 config ACER_WMI
19         tristate "Acer WMI Laptop Extras"
20         depends on ACPI
21         depends on LEDS_CLASS
22         depends on NEW_LEDS
23         depends on BACKLIGHT_CLASS_DEVICE
24         depends on SERIO_I8042
25         depends on RFKILL || RFKILL = n
26         select ACPI_WMI
27         ---help---
28           This is a driver for newer Acer (and Wistron) laptops. It adds
29           wireless radio and bluetooth control, and on some laptops,
30           exposes the mail LED and LCD backlight.
32           For more information about this driver see
33           <file:Documentation/laptops/acer-wmi.txt>
35           If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M
36           here.
38 config ACERHDF
39         tristate "Acer Aspire One temperature and fan driver"
40         depends on THERMAL && THERMAL_HWMON && ACPI
41         ---help---
42           This is a driver for Acer Aspire One netbooks. It allows to access
43           the temperature sensor and to control the fan.
45           After loading this driver the BIOS is still in control of the fan.
46           To let the kernel handle the fan, do:
47           echo -n enabled > /sys/class/thermal/thermal_zone0/mode
49           For more information about this driver see
50           <http://piie.net/files/acerhdf_README.txt>
52           If you have an Acer Aspire One netbook, say Y or M
53           here.
55 config ASUS_LAPTOP
56         tristate "Asus Laptop Extras"
57         depends on ACPI
58         depends on !ACPI_ASUS
59         select LEDS_CLASS
60         select NEW_LEDS
61         select BACKLIGHT_CLASS_DEVICE
62         depends on INPUT
63         depends on RFKILL || RFKILL = n
64         select INPUT_SPARSEKMAP
65         ---help---
66           This is the new Linux driver for Asus laptops. It may also support some
67           MEDION, JVC or VICTOR laptops. It makes all the extra buttons generate
68           standard ACPI events and input events. It also adds
69           support for video output switching, LCD backlight control, Bluetooth and
70           Wlan control, and most importantly, allows you to blink those fancy LEDs.
72           For more information and a userspace daemon for handling the extra
73           buttons see <http://acpi4asus.sf.net>.
75           If you have an ACPI-compatible ASUS laptop, say Y or M here.
77 config DELL_LAPTOP
78         tristate "Dell Laptop Extras (EXPERIMENTAL)"
79         depends on X86
80         depends on DCDBAS
81         depends on EXPERIMENTAL
82         depends on BACKLIGHT_CLASS_DEVICE
83         depends on RFKILL || RFKILL = n
84         depends on POWER_SUPPLY
85         depends on SERIO_I8042
86         default n
87         ---help---
88         This driver adds support for rfkill and backlight control to Dell
89         laptops.
91 config DELL_WMI
92         tristate "Dell WMI extras"
93         depends on ACPI_WMI
94         depends on INPUT
95         select INPUT_SPARSEKMAP
96         ---help---
97           Say Y here if you want to support WMI-based hotkeys on Dell laptops.
99           To compile this driver as a module, choose M here: the module will
100           be called dell-wmi.
102 config FUJITSU_LAPTOP
103         tristate "Fujitsu Laptop Extras"
104         depends on ACPI
105         depends on INPUT
106         depends on BACKLIGHT_CLASS_DEVICE
107         depends on LEDS_CLASS || LEDS_CLASS=n
108         ---help---
109           This is a driver for laptops built by Fujitsu:
111             * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks
112             * Possibly other Fujitsu laptop models
113             * Tested with S6410 and S7020
115           It adds support for LCD brightness control and some hotkeys.
117           If you have a Fujitsu laptop, say Y or M here.
119 config FUJITSU_LAPTOP_DEBUG
120         bool "Verbose debug mode for Fujitsu Laptop Extras"
121         depends on FUJITSU_LAPTOP
122         default n
123         ---help---
124           Enables extra debug output from the fujitsu extras driver, at the
125           expense of a slight increase in driver size.
127           If you are not sure, say N here.
129 config TC1100_WMI
130         tristate "HP Compaq TC1100 Tablet WMI Extras (EXPERIMENTAL)"
131         depends on !X86_64
132         depends on EXPERIMENTAL
133         depends on ACPI
134         select ACPI_WMI
135         ---help---
136           This is a driver for the WMI extensions (wireless and bluetooth power
137           control) of the HP Compaq TC1100 tablet.
139 config HP_WMI
140         tristate "HP WMI extras"
141         depends on ACPI_WMI
142         depends on INPUT
143         depends on RFKILL || RFKILL = n
144         help
145          Say Y here if you want to support WMI-based hotkeys on HP laptops and
146          to read data from WMI such as docking or ambient light sensor state.
148          To compile this driver as a module, choose M here: the module will
149          be called hp-wmi.
151 config MSI_LAPTOP
152         tristate "MSI Laptop Extras"
153         depends on ACPI
154         depends on BACKLIGHT_CLASS_DEVICE
155         depends on RFKILL
156         depends on SERIO_I8042
157         ---help---
158           This is a driver for laptops built by MSI (MICRO-STAR
159           INTERNATIONAL):
161           MSI MegaBook S270 (MS-1013)
162           Cytron/TCM/Medion/Tchibo MD96100/SAM2000
164           It adds support for Bluetooth, WLAN and LCD brightness control.
166           More information about this driver is available at
167           <http://0pointer.de/lennart/tchibo.html>.
169           If you have an MSI S270 laptop, say Y or M here.
171 config PANASONIC_LAPTOP
172         tristate "Panasonic Laptop Extras"
173         depends on INPUT && ACPI
174         depends on BACKLIGHT_CLASS_DEVICE
175         select INPUT_SPARSEKMAP
176         ---help---
177           This driver adds support for access to backlight control and hotkeys
178           on Panasonic Let's Note laptops.
180           If you have a Panasonic Let's note laptop (such as the R1(N variant),
181           R2, R3, R5, T2, W2 and Y2 series), say Y.
183 config COMPAL_LAPTOP
184         tristate "Compal Laptop Extras"
185         depends on ACPI
186         depends on BACKLIGHT_CLASS_DEVICE
187         depends on RFKILL
188         depends on HWMON
189         depends on POWER_SUPPLY
190         ---help---
191           This is a driver for laptops built by Compal:
193           Compal FL90/IFL90
194           Compal FL91/IFL91
195           Compal FL92/JFL92
196           Compal FT00/IFT00
198           It adds support for Bluetooth, WLAN and LCD brightness control.
200           If you have an Compal FL9x/IFL9x/FT00 laptop, say Y or M here.
202 config SONY_LAPTOP
203         tristate "Sony Laptop Extras"
204         depends on ACPI
205         select BACKLIGHT_CLASS_DEVICE
206         depends on INPUT
207         depends on RFKILL
208           ---help---
209           This mini-driver drives the SNC and SPIC devices present in the ACPI
210           BIOS of the Sony Vaio laptops.
212           It gives access to some extra laptop functionalities like Bluetooth,
213           screen brightness control, Fn keys and allows powering on/off some
214           devices.
216           Read <file:Documentation/laptops/sony-laptop.txt> for more information.
218 config SONYPI_COMPAT
219         bool "Sonypi compatibility"
220         depends on SONY_LAPTOP
221           ---help---
222           Build the sonypi driver compatibility code into the sony-laptop driver.
224 config IDEAPAD_ACPI
225         tristate "Lenovo IdeaPad ACPI Laptop Extras"
226         depends on ACPI
227         depends on RFKILL
228         help
229           This is a driver for the rfkill switches on Lenovo IdeaPad netbooks.
231 config THINKPAD_ACPI
232         tristate "ThinkPad ACPI Laptop Extras"
233         depends on ACPI
234         depends on INPUT
235         depends on RFKILL || RFKILL = n
236         select BACKLIGHT_LCD_SUPPORT
237         select BACKLIGHT_CLASS_DEVICE
238         select HWMON
239         select NVRAM
240         select NEW_LEDS
241         select LEDS_CLASS
242         ---help---
243           This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
244           support for Fn-Fx key combinations, Bluetooth control, video
245           output switching, ThinkLight control, UltraBay eject and more.
246           For more information about this driver see
247           <file:Documentation/laptops/thinkpad-acpi.txt> and
248           <http://ibm-acpi.sf.net/> .
250           This driver was formerly known as ibm-acpi.
252           Extra functionality will be available if the rfkill (CONFIG_RFKILL)
253           and/or ALSA (CONFIG_SND) subsystems are available in the kernel.
254           Note that if you want ThinkPad-ACPI to be built-in instead of
255           modular, ALSA and rfkill will also have to be built-in.
257           If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
259 config THINKPAD_ACPI_ALSA_SUPPORT
260         bool "Console audio control ALSA interface"
261         depends on THINKPAD_ACPI
262         depends on SND
263         depends on SND = y || THINKPAD_ACPI = SND
264         default y
265         ---help---
266           Enables monitoring of the built-in console audio output control
267           (headphone and speakers), which is operated by the mute and (in
268           some ThinkPad models) volume hotkeys.
270           If this option is enabled, ThinkPad-ACPI will export an ALSA card
271           with a single read-only mixer control, which should be used for
272           on-screen-display feedback purposes by the Desktop Environment.
274           Optionally, the driver will also allow software control (the
275           ALSA mixer will be made read-write).  Please refer to the driver
276           documentation for details.
278           All IBM models have both volume and mute control.  Newer Lenovo
279           models only have mute control (the volume hotkeys are just normal
280           keys and volume control is done through the main HDA mixer).
282 config THINKPAD_ACPI_DEBUGFACILITIES
283         bool "Maintainer debug facilities"
284         depends on THINKPAD_ACPI
285         default n
286         ---help---
287           Enables extra stuff in the thinkpad-acpi which is completely useless
288           for normal use.  Read the driver source to find out what it does.
290           Say N here, unless you were told by a kernel maintainer to do
291           otherwise.
293 config THINKPAD_ACPI_DEBUG
294         bool "Verbose debug mode"
295         depends on THINKPAD_ACPI
296         default n
297         ---help---
298           Enables extra debugging information, at the expense of a slightly
299           increase in driver size.
301           If you are not sure, say N here.
303 config THINKPAD_ACPI_UNSAFE_LEDS
304         bool "Allow control of important LEDs (unsafe)"
305         depends on THINKPAD_ACPI
306         default n
307         ---help---
308           Overriding LED state on ThinkPads can mask important
309           firmware alerts (like critical battery condition), or misled
310           the user into damaging the hardware (undocking or ejecting
311           the bay while buses are still active), etc.
313           LED control on the ThinkPad is write-only (with very few
314           exceptions on very ancient models), which makes it
315           impossible to know beforehand if important information will
316           be lost when one changes LED state.
318           Users that know what they are doing can enable this option
319           and the driver will allow control of every LED, including
320           the ones on the dock stations.
322           Never enable this option on a distribution kernel.
324           Say N here, unless you are building a kernel for your own
325           use, and need to control the important firmware LEDs.
327 config THINKPAD_ACPI_VIDEO
328         bool "Video output control support"
329         depends on THINKPAD_ACPI
330         default y
331         ---help---
332           Allows the thinkpad_acpi driver to provide an interface to control
333           the various video output ports.
335           This feature often won't work well, depending on ThinkPad model,
336           display state, video output devices in use, whether there is a X
337           server running, phase of the moon, and the current mood of
338           Schroedinger's cat.  If you can use X.org's RandR to control
339           your ThinkPad's video output ports instead of this feature,
340           don't think twice: do it and say N here to save memory and avoid
341           bad interactions with X.org.
343           NOTE: access to this feature is limited to processes with the
344           CAP_SYS_ADMIN capability, to avoid local DoS issues in platforms
345           where it interacts badly with X.org.
347           If you are not sure, say Y here but do try to check if you could
348           be using X.org RandR instead.
350 config THINKPAD_ACPI_HOTKEY_POLL
351         bool "Support NVRAM polling for hot keys"
352         depends on THINKPAD_ACPI
353         default y
354         ---help---
355           Some thinkpad models benefit from NVRAM polling to detect a few of
356           the hot key press events.  If you know your ThinkPad model does not
357           need to do NVRAM polling to support any of the hot keys you use,
358           unselecting this option will save about 1kB of memory.
360           ThinkPads T40 and newer, R52 and newer, and X31 and newer are
361           unlikely to need NVRAM polling in their latest BIOS versions.
363           NVRAM polling can detect at most the following keys: ThinkPad/Access
364           IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
365           Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
367           If you are not sure, say Y here.  The driver enables polling only if
368           it is strictly necessary to do so.
370 config INTEL_MENLOW
371         tristate "Thermal Management driver for Intel menlow platform"
372         depends on ACPI_THERMAL
373         select THERMAL
374         ---help---
375           ACPI thermal management enhancement driver on
376           Intel Menlow platform.
378           If unsure, say N.
380 config EEEPC_LAPTOP
381         tristate "Eee PC Hotkey Driver (EXPERIMENTAL)"
382         depends on ACPI
383         depends on INPUT
384         depends on EXPERIMENTAL
385         depends on RFKILL || RFKILL = n
386         depends on HOTPLUG_PCI
387         select BACKLIGHT_CLASS_DEVICE
388         select HWMON
389         select LEDS_CLASS
390         select NEW_LEDS
391         select INPUT_SPARSEKMAP
392         ---help---
393           This driver supports the Fn-Fx keys on Eee PC laptops.
395           It  also gives access to some extra laptop functionalities like
396           Bluetooth, backlight and allows powering on/off some other
397           devices.
399           If you have an Eee PC laptop, say Y or M here.
401 config EEEPC_WMI
402         tristate "Eee PC WMI Hotkey Driver (EXPERIMENTAL)"
403         depends on ACPI_WMI
404         depends on INPUT
405         depends on EXPERIMENTAL
406         depends on BACKLIGHT_CLASS_DEVICE
407         select INPUT_SPARSEKMAP
408         ---help---
409           Say Y here if you want to support WMI-based hotkeys on Eee PC laptops.
411           To compile this driver as a module, choose M here: the module will
412           be called eeepc-wmi.
414 config ACPI_WMI
415         tristate "WMI"
416         depends on ACPI
417         help
418           This driver adds support for the ACPI-WMI (Windows Management
419           Instrumentation) mapper device (PNP0C14) found on some systems.
421           ACPI-WMI is a proprietary extension to ACPI to expose parts of the
422           ACPI firmware to userspace - this is done through various vendor
423           defined methods and data blocks in a PNP0C14 device, which are then
424           made available for userspace to call.
426           The implementation of this in Linux currently only exposes this to
427           other kernel space drivers.
429           This driver is a required dependency to build the firmware specific
430           drivers needed on many machines, including Acer and HP laptops.
432           It is safe to enable this driver even if your DSDT doesn't define
433           any ACPI-WMI devices.
435 config MSI_WMI
436         tristate "MSI WMI extras"
437         depends on ACPI_WMI
438         depends on INPUT
439         depends on BACKLIGHT_CLASS_DEVICE
440         select INPUT_SPARSEKMAP
441         help
442          Say Y here if you want to support WMI-based hotkeys on MSI laptops.
444          To compile this driver as a module, choose M here: the module will
445          be called msi-wmi.
447 config ACPI_ASUS
448         tristate "ASUS/Medion Laptop Extras (DEPRECATED)"
449         depends on ACPI
450         select BACKLIGHT_CLASS_DEVICE
451         ---help---
452           This driver provides support for extra features of ACPI-compatible
453           ASUS laptops. As some of Medion laptops are made by ASUS, it may also
454           support some Medion laptops (such as 9675 for example).  It makes all
455           the extra buttons generate standard ACPI events that go through
456           /proc/acpi/events, and (on some models) adds support for changing the
457           display brightness and output, switching the LCD backlight on and off,
458           and most importantly, allows you to blink those fancy LEDs intended
459           for reporting mail and wireless status.
461           Note: display switching code is currently considered EXPERIMENTAL,
462           toying with these values may even lock your machine.
464           All settings are changed via /proc/acpi/asus directory entries. Owner
465           and group for these entries can be set with asus_uid and asus_gid
466           parameters.
468           More information and a userspace daemon for handling the extra buttons
469           at <http://acpi4asus.sf.net>.
471           If you have an ACPI-compatible ASUS laptop, say Y or M here. This
472           driver is still under development, so if your laptop is unsupported or
473           something works not quite as expected, please use the mailing list
474           available on the above page (acpi4asus-user@lists.sourceforge.net).
476           NOTE: This driver is deprecated and will probably be removed soon,
477           use asus-laptop instead.
479 config TOPSTAR_LAPTOP
480         tristate "Topstar Laptop Extras"
481         depends on ACPI
482         depends on INPUT
483         select INPUT_SPARSEKMAP
484         ---help---
485           This driver adds support for hotkeys found on Topstar laptops.
487           If you have a Topstar laptop, say Y or M here.
489 config ACPI_TOSHIBA
490         tristate "Toshiba Laptop Extras"
491         depends on ACPI
492         depends on LEDS_CLASS
493         depends on NEW_LEDS
494         depends on BACKLIGHT_CLASS_DEVICE
495         depends on INPUT
496         depends on RFKILL || RFKILL = n
497         select INPUT_POLLDEV
498         ---help---
499           This driver adds support for access to certain system settings
500           on "legacy free" Toshiba laptops.  These laptops can be recognized by
501           their lack of a BIOS setup menu and APM support.
503           On these machines, all system configuration is handled through the
504           ACPI.  This driver is required for access to controls not covered
505           by the general ACPI drivers, such as LCD brightness, video output,
506           etc.
508           This driver differs from the non-ACPI Toshiba laptop driver (located
509           under "Processor type and features") in several aspects.
510           Configuration is accessed by reading and writing text files in the
511           /proc tree instead of by program interface to /dev.  Furthermore, no
512           power management functions are exposed, as those are handled by the
513           general ACPI drivers.
515           More information about this driver is available at
516           <http://memebeam.org/toys/ToshibaAcpiDriver>.
518           If you have a legacy free Toshiba laptop (such as the Libretto L1
519           series), say Y.
521 config TOSHIBA_BT_RFKILL
522         tristate "Toshiba Bluetooth RFKill switch support"
523         depends on ACPI
524         ---help---
525           This driver adds support for Bluetooth events for the RFKill
526           switch on modern Toshiba laptops with full ACPI support and
527           an RFKill switch.
529           This driver handles RFKill events for the TOS6205 Bluetooth,
530           and re-enables it when the switch is set back to the 'on'
531           position.
533           If you have a modern Toshiba laptop with a Bluetooth and an
534           RFKill switch (such as the Portege R500), say Y.
536 config ACPI_CMPC
537         tristate "CMPC Laptop Extras"
538         depends on X86 && ACPI
539         depends on RFKILL || RFKILL=n
540         select INPUT
541         select BACKLIGHT_CLASS_DEVICE
542         default n
543         help
544           Support for Intel Classmate PC ACPI devices, including some
545           keys as input device, backlight device, tablet and accelerometer
546           devices.
548 config INTEL_SCU_IPC
549         bool "Intel SCU IPC Support"
550         depends on X86_MRST
551         default y
552         ---help---
553           IPC is used to bridge the communications between kernel and SCU on
554           some embedded Intel x86 platforms. This is not needed for PC-type
555           machines.
557 config GPIO_INTEL_PMIC
558         bool "Intel PMIC GPIO support"
559         depends on INTEL_SCU_IPC && GPIOLIB
560         ---help---
561           Say Y here to support GPIO via the SCU IPC interface
562           on Intel MID platforms.
564 config RAR_REGISTER
565         bool "Restricted Access Region Register Driver"
566         depends on PCI && X86_MRST
567         default n
568         ---help---
569           This driver allows other kernel drivers access to the
570           contents of the restricted access region control registers.
572           The restricted access region control registers
573           (rar_registers) are used to pass address and
574           locking information on restricted access regions
575           to other drivers that use restricted access regions.
577           The restricted access regions are regions of memory
578           on the Intel MID Platform that are not accessible to
579           the x86 processor, but are accessible to dedicated
580           processors on board peripheral devices.
582           The purpose of the restricted access regions is to
583           protect sensitive data from compromise by unauthorized
584           programs running on the x86 processor.
586 config INTEL_IPS
587         tristate "Intel Intelligent Power Sharing"
588         depends on ACPI
589         ---help---
590           Intel Calpella platforms support dynamic power sharing between the
591           CPU and GPU, maximizing performance in a given TDP.  This driver,
592           along with the CPU frequency and i915 drivers, provides that
593           functionality.  If in doubt, say Y here; it will only load on
594           supported platforms.
596 endif # X86_PLATFORM_DEVICES