xref: /openbmc/linux/drivers/platform/x86/Kconfig (revision 82ced6fd)
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
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
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
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	select BACKLIGHT_LCD_SUPPORT
200	select BACKLIGHT_CLASS_DEVICE
201	select HWMON
202	select NVRAM
203	select NEW_LEDS
204	select LEDS_CLASS
205	select NET
206	select RFKILL
207	---help---
208	  This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
209	  support for Fn-Fx key combinations, Bluetooth control, video
210	  output switching, ThinkLight control, UltraBay eject and more.
211	  For more information about this driver see
212	  <file:Documentation/laptops/thinkpad-acpi.txt> and
213	  <http://ibm-acpi.sf.net/> .
214
215	  This driver was formerly known as ibm-acpi.
216
217	  If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
218
219config THINKPAD_ACPI_DEBUGFACILITIES
220	bool "Maintainer debug facilities"
221	depends on THINKPAD_ACPI
222	default n
223	---help---
224	  Enables extra stuff in the thinkpad-acpi which is completely useless
225	  for normal use.  Read the driver source to find out what it does.
226
227	  Say N here, unless you were told by a kernel maintainer to do
228	  otherwise.
229
230config THINKPAD_ACPI_DEBUG
231	bool "Verbose debug mode"
232	depends on THINKPAD_ACPI
233	default n
234	---help---
235	  Enables extra debugging information, at the expense of a slightly
236	  increase in driver size.
237
238	  If you are not sure, say N here.
239
240config THINKPAD_ACPI_UNSAFE_LEDS
241	bool "Allow control of important LEDs (unsafe)"
242	depends on THINKPAD_ACPI
243	default n
244	---help---
245	  Overriding LED state on ThinkPads can mask important
246	  firmware alerts (like critical battery condition), or misled
247	  the user into damaging the hardware (undocking or ejecting
248	  the bay while buses are still active), etc.
249
250	  LED control on the ThinkPad is write-only (with very few
251	  exceptions on very ancient models), which makes it
252	  impossible to know beforehand if important information will
253	  be lost when one changes LED state.
254
255	  Users that know what they are doing can enable this option
256	  and the driver will allow control of every LED, including
257	  the ones on the dock stations.
258
259	  Never enable this option on a distribution kernel.
260
261	  Say N here, unless you are building a kernel for your own
262	  use, and need to control the important firmware LEDs.
263
264config THINKPAD_ACPI_DOCK
265	bool "Legacy Docking Station Support"
266	depends on THINKPAD_ACPI
267	depends on ACPI_DOCK=n
268	default n
269	---help---
270	  Allows the thinkpad_acpi driver to handle docking station events.
271	  This support was made obsolete by the generic ACPI docking station
272	  support (CONFIG_ACPI_DOCK).  It will allow locking and removing the
273	  laptop from the docking station, but will not properly connect PCI
274	  devices.
275
276	  If you are not sure, say N here.
277
278config THINKPAD_ACPI_BAY
279	bool "Legacy Removable Bay Support"
280	depends on THINKPAD_ACPI
281	default y
282	---help---
283	  Allows the thinkpad_acpi driver to handle removable bays.  It will
284	  electrically disable the device in the bay, and also generate
285	  notifications when the bay lever is ejected or inserted.
286
287	  If you are not sure, say Y here.
288
289config THINKPAD_ACPI_VIDEO
290	bool "Video output control support"
291	depends on THINKPAD_ACPI
292	default y
293	---help---
294	  Allows the thinkpad_acpi driver to provide an interface to control
295	  the various video output ports.
296
297	  This feature often won't work well, depending on ThinkPad model,
298	  display state, video output devices in use, whether there is a X
299	  server running, phase of the moon, and the current mood of
300	  Schroedinger's cat.  If you can use X.org's RandR to control
301	  your ThinkPad's video output ports instead of this feature,
302	  don't think twice: do it and say N here to save some memory.
303
304	  If you are not sure, say Y here.
305
306config THINKPAD_ACPI_HOTKEY_POLL
307	bool "Support NVRAM polling for hot keys"
308	depends on THINKPAD_ACPI
309	default y
310	---help---
311	  Some thinkpad models benefit from NVRAM polling to detect a few of
312	  the hot key press events.  If you know your ThinkPad model does not
313	  need to do NVRAM polling to support any of the hot keys you use,
314	  unselecting this option will save about 1kB of memory.
315
316	  ThinkPads T40 and newer, R52 and newer, and X31 and newer are
317	  unlikely to need NVRAM polling in their latest BIOS versions.
318
319	  NVRAM polling can detect at most the following keys: ThinkPad/Access
320	  IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
321	  Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
322
323	  If you are not sure, say Y here.  The driver enables polling only if
324	  it is strictly necessary to do so.
325
326config INTEL_MENLOW
327	tristate "Thermal Management driver for Intel menlow platform"
328	depends on ACPI_THERMAL
329	select THERMAL
330	---help---
331	  ACPI thermal management enhancement driver on
332	  Intel Menlow platform.
333
334	  If unsure, say N.
335
336config EEEPC_LAPTOP
337	tristate "Eee PC Hotkey Driver (EXPERIMENTAL)"
338	depends on ACPI
339	depends on INPUT
340	depends on EXPERIMENTAL
341	select BACKLIGHT_CLASS_DEVICE
342	select HWMON
343	select RFKILL
344	---help---
345	  This driver supports the Fn-Fx keys on Eee PC laptops.
346	  It also adds the ability to switch camera/wlan on/off.
347
348	  If you have an Eee PC laptop, say Y or M here.
349
350
351config ACPI_WMI
352	tristate "WMI"
353	depends on ACPI
354	help
355	  This driver adds support for the ACPI-WMI (Windows Management
356	  Instrumentation) mapper device (PNP0C14) found on some systems.
357
358	  ACPI-WMI is a proprietary extension to ACPI to expose parts of the
359	  ACPI firmware to userspace - this is done through various vendor
360	  defined methods and data blocks in a PNP0C14 device, which are then
361	  made available for userspace to call.
362
363	  The implementation of this in Linux currently only exposes this to
364	  other kernel space drivers.
365
366	  This driver is a required dependency to build the firmware specific
367	  drivers needed on many machines, including Acer and HP laptops.
368
369	  It is safe to enable this driver even if your DSDT doesn't define
370	  any ACPI-WMI devices.
371
372config ACPI_ASUS
373	tristate "ASUS/Medion Laptop Extras"
374	depends on ACPI
375	select BACKLIGHT_CLASS_DEVICE
376	---help---
377	  This driver provides support for extra features of ACPI-compatible
378	  ASUS laptops. As some of Medion laptops are made by ASUS, it may also
379	  support some Medion laptops (such as 9675 for example).  It makes all
380	  the extra buttons generate standard ACPI events that go through
381	  /proc/acpi/events, and (on some models) adds support for changing the
382	  display brightness and output, switching the LCD backlight on and off,
383	  and most importantly, allows you to blink those fancy LEDs intended
384	  for reporting mail and wireless status.
385
386	  Note: display switching code is currently considered EXPERIMENTAL,
387	  toying with these values may even lock your machine.
388
389	  All settings are changed via /proc/acpi/asus directory entries. Owner
390	  and group for these entries can be set with asus_uid and asus_gid
391	  parameters.
392
393	  More information and a userspace daemon for handling the extra buttons
394	  at <http://sourceforge.net/projects/acpi4asus/>.
395
396	  If you have an ACPI-compatible ASUS laptop, say Y or M here. This
397	  driver is still under development, so if your laptop is unsupported or
398	  something works not quite as expected, please use the mailing list
399	  available on the above page (acpi4asus-user@lists.sourceforge.net).
400
401	  NOTE: This driver is deprecated and will probably be removed soon,
402	  use asus-laptop instead.
403
404config ACPI_TOSHIBA
405	tristate "Toshiba Laptop Extras"
406	depends on ACPI
407	depends on INPUT
408	select INPUT_POLLDEV
409	select NET
410	select RFKILL
411	select BACKLIGHT_CLASS_DEVICE
412	---help---
413	  This driver adds support for access to certain system settings
414	  on "legacy free" Toshiba laptops.  These laptops can be recognized by
415	  their lack of a BIOS setup menu and APM support.
416
417	  On these machines, all system configuration is handled through the
418	  ACPI.  This driver is required for access to controls not covered
419	  by the general ACPI drivers, such as LCD brightness, video output,
420	  etc.
421
422	  This driver differs from the non-ACPI Toshiba laptop driver (located
423	  under "Processor type and features") in several aspects.
424	  Configuration is accessed by reading and writing text files in the
425	  /proc tree instead of by program interface to /dev.  Furthermore, no
426	  power management functions are exposed, as those are handled by the
427	  general ACPI drivers.
428
429	  More information about this driver is available at
430	  <http://memebeam.org/toys/ToshibaAcpiDriver>.
431
432	  If you have a legacy free Toshiba laptop (such as the Libretto L1
433	  series), say Y.
434endif # X86_PLATFORM_DEVICES
435