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