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