Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[pandora-kernel.git] / drivers / platform / x86 / Kconfig
1 #
2 # X86 Platform Specific Drivers
3 #
4
5 menuconfig X86_PLATFORM_DEVICES
6         bool "X86 Platform Specific Device Drivers"
7         default y
8         ---help---
9           Say Y here to get to see options for device drivers for various
10           x86 platforms, including vendor-specific laptop extension drivers.
11           This option alone does not add any kernel code.
12
13           If you say N, all options in this submenu will be skipped and disabled.
14
15 if X86_PLATFORM_DEVICES
16
17 config ACER_WMI
18         tristate "Acer WMI Laptop Extras"
19         depends on ACPI
20         depends on LEDS_CLASS
21         depends on NEW_LEDS
22         depends on BACKLIGHT_CLASS_DEVICE
23         depends on SERIO_I8042
24         depends on RFKILL || RFKILL = n
25         select ACPI_WMI
26         ---help---
27           This is a driver for newer Acer (and Wistron) laptops. It adds
28           wireless radio and bluetooth control, and on some laptops,
29           exposes the mail LED and LCD backlight.
30
31           For more information about this driver see
32           <file:Documentation/laptops/acer-wmi.txt>
33
34           If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M
35           here.
36
37 config ACERHDF
38         tristate "Acer Aspire One temperature and fan driver"
39         depends on THERMAL && THERMAL_HWMON && ACPI
40         ---help---
41           This is a driver for Acer Aspire One netbooks. It allows to access
42           the temperature sensor and to control the fan.
43
44           After loading this driver the BIOS is still in control of the fan.
45           To let the kernel handle the fan, do:
46           echo -n enabled > /sys/class/thermal/thermal_zone0/mode
47
48           For more information about this driver see
49           <http://piie.net/files/acerhdf_README.txt>
50
51           If you have an Acer Aspire One netbook, say Y or M
52           here.
53
54 config ASUS_LAPTOP
55         tristate "Asus Laptop Extras"
56         depends on ACPI
57         depends on !ACPI_ASUS
58         select LEDS_CLASS
59         select NEW_LEDS
60         select BACKLIGHT_CLASS_DEVICE
61         depends on INPUT
62         ---help---
63           This is the new Linux driver for Asus laptops. It may also support some
64           MEDION, JVC or VICTOR laptops. It makes all the extra buttons generate
65           standard ACPI events and input events. It also adds
66           support for video output switching, LCD backlight control, Bluetooth and
67           Wlan control, and most importantly, allows you to blink those fancy LEDs.
68
69           For more information and a userspace daemon for handling the extra
70           buttons see <http://acpi4asus.sf.net>.
71
72           If you have an ACPI-compatible ASUS laptop, say Y or M here.
73
74 config DELL_LAPTOP
75         tristate "Dell Laptop Extras (EXPERIMENTAL)"
76         depends on X86
77         depends on DCDBAS
78         depends on EXPERIMENTAL
79         depends on BACKLIGHT_CLASS_DEVICE
80         depends on RFKILL || RFKILL = n
81         depends on POWER_SUPPLY
82         default n
83         ---help---
84         This driver adds support for rfkill and backlight control to Dell
85         laptops.
86
87 config DELL_WMI
88         tristate "Dell WMI extras"
89         depends on ACPI_WMI
90         depends on INPUT
91         ---help---
92           Say Y here if you want to support WMI-based hotkeys on Dell laptops.
93
94           To compile this driver as a module, choose M here: the module will
95           be called dell-wmi.
96
97 config FUJITSU_LAPTOP
98         tristate "Fujitsu Laptop Extras"
99         depends on ACPI
100         depends on INPUT
101         depends on BACKLIGHT_CLASS_DEVICE
102         ---help---
103           This is a driver for laptops built by Fujitsu:
104
105             * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks
106             * Possibly other Fujitsu laptop models
107             * Tested with S6410 and S7020
108
109           It adds support for LCD brightness control and some hotkeys.
110
111           If you have a Fujitsu laptop, say Y or M here.
112
113 config FUJITSU_LAPTOP_DEBUG
114         bool "Verbose debug mode for Fujitsu Laptop Extras"
115         depends on FUJITSU_LAPTOP
116         default n
117         ---help---
118           Enables extra debug output from the fujitsu extras driver, at the
119           expense of a slight increase in driver size.
120
121           If you are not sure, say N here.
122
123 config TC1100_WMI
124         tristate "HP Compaq TC1100 Tablet WMI Extras (EXPERIMENTAL)"
125         depends on !X86_64
126         depends on EXPERIMENTAL
127         depends on ACPI
128         select ACPI_WMI
129         ---help---
130           This is a driver for the WMI extensions (wireless and bluetooth power
131           control) of the HP Compaq TC1100 tablet.
132
133 config HP_WMI
134         tristate "HP WMI extras"
135         depends on ACPI_WMI
136         depends on INPUT
137         depends on RFKILL || RFKILL = n
138         help
139          Say Y here if you want to support WMI-based hotkeys on HP laptops and
140          to read data from WMI such as docking or ambient light sensor state.
141
142          To compile this driver as a module, choose M here: the module will
143          be called hp-wmi.
144
145 config MSI_LAPTOP
146         tristate "MSI Laptop Extras"
147         depends on ACPI
148         depends on BACKLIGHT_CLASS_DEVICE
149         ---help---
150           This is a driver for laptops built by MSI (MICRO-STAR
151           INTERNATIONAL):
152
153           MSI MegaBook S270 (MS-1013)
154           Cytron/TCM/Medion/Tchibo MD96100/SAM2000
155
156           It adds support for Bluetooth, WLAN and LCD brightness control.
157
158           More information about this driver is available at
159           <http://0pointer.de/lennart/tchibo.html>.
160
161           If you have an MSI S270 laptop, say Y or M here.
162
163 config PANASONIC_LAPTOP
164         tristate "Panasonic Laptop Extras"
165         depends on INPUT && ACPI
166         depends on BACKLIGHT_CLASS_DEVICE
167         ---help---
168           This driver adds support for access to backlight control and hotkeys
169           on Panasonic Let's Note laptops.
170
171           If you have a Panasonic Let's note laptop (such as the R1(N variant),
172           R2, R3, R5, T2, W2 and Y2 series), say Y.
173
174 config COMPAL_LAPTOP
175         tristate "Compal Laptop Extras"
176         depends on ACPI
177         depends on BACKLIGHT_CLASS_DEVICE
178         ---help---
179           This is a driver for laptops built by Compal:
180
181           Compal FL90/IFL90
182           Compal FL91/IFL91
183           Compal FL92/JFL92
184           Compal FT00/IFT00
185
186           It adds support for Bluetooth, WLAN and LCD brightness control.
187
188           If you have an Compal FL9x/IFL9x/FT00 laptop, say Y or M here.
189
190 config SONY_LAPTOP
191         tristate "Sony Laptop Extras"
192         depends on ACPI
193         select BACKLIGHT_CLASS_DEVICE
194         depends on INPUT
195         depends on RFKILL
196           ---help---
197           This mini-driver drives the SNC and SPIC devices present in the ACPI
198           BIOS of the Sony Vaio laptops.
199
200           It gives access to some extra laptop functionalities like Bluetooth,
201           screen brightness control, Fn keys and allows powering on/off some
202           devices.
203
204           Read <file:Documentation/laptops/sony-laptop.txt> for more information.
205
206 config SONYPI_COMPAT
207         bool "Sonypi compatibility"
208         depends on SONY_LAPTOP
209           ---help---
210           Build the sonypi driver compatibility code into the sony-laptop driver.
211
212 config THINKPAD_ACPI
213         tristate "ThinkPad ACPI Laptop Extras"
214         depends on ACPI
215         depends on INPUT
216         depends on RFKILL || RFKILL = n
217         select BACKLIGHT_LCD_SUPPORT
218         select BACKLIGHT_CLASS_DEVICE
219         select HWMON
220         select NVRAM
221         select NEW_LEDS
222         select LEDS_CLASS
223         ---help---
224           This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
225           support for Fn-Fx key combinations, Bluetooth control, video
226           output switching, ThinkLight control, UltraBay eject and more.
227           For more information about this driver see
228           <file:Documentation/laptops/thinkpad-acpi.txt> and
229           <http://ibm-acpi.sf.net/> .
230
231           This driver was formerly known as ibm-acpi.
232
233           If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
234
235 config THINKPAD_ACPI_DEBUGFACILITIES
236         bool "Maintainer debug facilities"
237         depends on THINKPAD_ACPI
238         default n
239         ---help---
240           Enables extra stuff in the thinkpad-acpi which is completely useless
241           for normal use.  Read the driver source to find out what it does.
242
243           Say N here, unless you were told by a kernel maintainer to do
244           otherwise.
245
246 config THINKPAD_ACPI_DEBUG
247         bool "Verbose debug mode"
248         depends on THINKPAD_ACPI
249         default n
250         ---help---
251           Enables extra debugging information, at the expense of a slightly
252           increase in driver size.
253
254           If you are not sure, say N here.
255
256 config THINKPAD_ACPI_UNSAFE_LEDS
257         bool "Allow control of important LEDs (unsafe)"
258         depends on THINKPAD_ACPI
259         default n
260         ---help---
261           Overriding LED state on ThinkPads can mask important
262           firmware alerts (like critical battery condition), or misled
263           the user into damaging the hardware (undocking or ejecting
264           the bay while buses are still active), etc.
265
266           LED control on the ThinkPad is write-only (with very few
267           exceptions on very ancient models), which makes it
268           impossible to know beforehand if important information will
269           be lost when one changes LED state.
270
271           Users that know what they are doing can enable this option
272           and the driver will allow control of every LED, including
273           the ones on the dock stations.
274
275           Never enable this option on a distribution kernel.
276
277           Say N here, unless you are building a kernel for your own
278           use, and need to control the important firmware LEDs.
279
280 config THINKPAD_ACPI_DOCK
281         bool "Legacy Docking Station Support"
282         depends on THINKPAD_ACPI
283         depends on ACPI_DOCK=n
284         default n
285         ---help---
286           Allows the thinkpad_acpi driver to handle docking station events.
287           This support was made obsolete by the generic ACPI docking station
288           support (CONFIG_ACPI_DOCK).  It will allow locking and removing the
289           laptop from the docking station, but will not properly connect PCI
290           devices.
291
292           If you are not sure, say N here.
293
294 config THINKPAD_ACPI_BAY
295         bool "Legacy Removable Bay Support"
296         depends on THINKPAD_ACPI
297         default y
298         ---help---
299           Allows the thinkpad_acpi driver to handle removable bays.  It will
300           electrically disable the device in the bay, and also generate
301           notifications when the bay lever is ejected or inserted.
302
303           If you are not sure, say Y here.
304
305 config THINKPAD_ACPI_VIDEO
306         bool "Video output control support"
307         depends on THINKPAD_ACPI
308         default y
309         ---help---
310           Allows the thinkpad_acpi driver to provide an interface to control
311           the various video output ports.
312
313           This feature often won't work well, depending on ThinkPad model,
314           display state, video output devices in use, whether there is a X
315           server running, phase of the moon, and the current mood of
316           Schroedinger's cat.  If you can use X.org's RandR to control
317           your ThinkPad's video output ports instead of this feature,
318           don't think twice: do it and say N here to save some memory.
319
320           If you are not sure, say Y here.
321
322 config THINKPAD_ACPI_HOTKEY_POLL
323         bool "Support NVRAM polling for hot keys"
324         depends on THINKPAD_ACPI
325         default y
326         ---help---
327           Some thinkpad models benefit from NVRAM polling to detect a few of
328           the hot key press events.  If you know your ThinkPad model does not
329           need to do NVRAM polling to support any of the hot keys you use,
330           unselecting this option will save about 1kB of memory.
331
332           ThinkPads T40 and newer, R52 and newer, and X31 and newer are
333           unlikely to need NVRAM polling in their latest BIOS versions.
334
335           NVRAM polling can detect at most the following keys: ThinkPad/Access
336           IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
337           Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
338
339           If you are not sure, say Y here.  The driver enables polling only if
340           it is strictly necessary to do so.
341
342 config INTEL_MENLOW
343         tristate "Thermal Management driver for Intel menlow platform"
344         depends on ACPI_THERMAL
345         select THERMAL
346         ---help---
347           ACPI thermal management enhancement driver on
348           Intel Menlow platform.
349
350           If unsure, say N.
351
352 config EEEPC_LAPTOP
353         tristate "Eee PC Hotkey Driver (EXPERIMENTAL)"
354         depends on ACPI
355         depends on INPUT
356         depends on EXPERIMENTAL
357         depends on RFKILL || RFKILL = n
358         depends on HOTPLUG_PCI
359         select BACKLIGHT_CLASS_DEVICE
360         select HWMON
361         ---help---
362           This driver supports the Fn-Fx keys on Eee PC laptops.
363
364           It  also gives access to some extra laptop functionalities like
365           Bluetooth, backlight and allows powering on/off some other
366           devices.
367
368           If you have an Eee PC laptop, say Y or M here.
369
370
371 config ACPI_WMI
372         tristate "WMI"
373         depends on ACPI
374         help
375           This driver adds support for the ACPI-WMI (Windows Management
376           Instrumentation) mapper device (PNP0C14) found on some systems.
377
378           ACPI-WMI is a proprietary extension to ACPI to expose parts of the
379           ACPI firmware to userspace - this is done through various vendor
380           defined methods and data blocks in a PNP0C14 device, which are then
381           made available for userspace to call.
382
383           The implementation of this in Linux currently only exposes this to
384           other kernel space drivers.
385
386           This driver is a required dependency to build the firmware specific
387           drivers needed on many machines, including Acer and HP laptops.
388
389           It is safe to enable this driver even if your DSDT doesn't define
390           any ACPI-WMI devices.
391
392 config ACPI_ASUS
393         tristate "ASUS/Medion Laptop Extras (DEPRECATED)"
394         depends on ACPI
395         select BACKLIGHT_CLASS_DEVICE
396         ---help---
397           This driver provides support for extra features of ACPI-compatible
398           ASUS laptops. As some of Medion laptops are made by ASUS, it may also
399           support some Medion laptops (such as 9675 for example).  It makes all
400           the extra buttons generate standard ACPI events that go through
401           /proc/acpi/events, and (on some models) adds support for changing the
402           display brightness and output, switching the LCD backlight on and off,
403           and most importantly, allows you to blink those fancy LEDs intended
404           for reporting mail and wireless status.
405
406           Note: display switching code is currently considered EXPERIMENTAL,
407           toying with these values may even lock your machine.
408
409           All settings are changed via /proc/acpi/asus directory entries. Owner
410           and group for these entries can be set with asus_uid and asus_gid
411           parameters.
412
413           More information and a userspace daemon for handling the extra buttons
414           at <http://acpi4asus.sf.net>.
415
416           If you have an ACPI-compatible ASUS laptop, say Y or M here. This
417           driver is still under development, so if your laptop is unsupported or
418           something works not quite as expected, please use the mailing list
419           available on the above page (acpi4asus-user@lists.sourceforge.net).
420
421           NOTE: This driver is deprecated and will probably be removed soon,
422           use asus-laptop instead.
423
424 config ACPI_TOSHIBA
425         tristate "Toshiba Laptop Extras"
426         depends on ACPI
427         depends on INPUT
428         depends on RFKILL || RFKILL = n
429         select INPUT_POLLDEV
430         select BACKLIGHT_CLASS_DEVICE
431         ---help---
432           This driver adds support for access to certain system settings
433           on "legacy free" Toshiba laptops.  These laptops can be recognized by
434           their lack of a BIOS setup menu and APM support.
435
436           On these machines, all system configuration is handled through the
437           ACPI.  This driver is required for access to controls not covered
438           by the general ACPI drivers, such as LCD brightness, video output,
439           etc.
440
441           This driver differs from the non-ACPI Toshiba laptop driver (located
442           under "Processor type and features") in several aspects.
443           Configuration is accessed by reading and writing text files in the
444           /proc tree instead of by program interface to /dev.  Furthermore, no
445           power management functions are exposed, as those are handled by the
446           general ACPI drivers.
447
448           More information about this driver is available at
449           <http://memebeam.org/toys/ToshibaAcpiDriver>.
450
451           If you have a legacy free Toshiba laptop (such as the Libretto L1
452           series), say Y.
453 endif # X86_PLATFORM_DEVICES