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