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