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