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