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