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