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