xref: /openbmc/linux/drivers/platform/x86/Kconfig (revision d97c0def)
141b16dceSLen Brown#
241b16dceSLen Brown# X86 Platform Specific Drivers
341b16dceSLen Brown#
441b16dceSLen Brown
541b16dceSLen Brownmenuconfig X86_PLATFORM_DEVICES
641b16dceSLen Brown	bool "X86 Platform Specific Device Drivers"
741b16dceSLen Brown	default y
841b16dceSLen Brown	---help---
941b16dceSLen Brown	  Say Y here to get to see options for device drivers for various
1041b16dceSLen Brown	  x86 platforms, including vendor-specific laptop extension drivers.
1141b16dceSLen Brown	  This option alone does not add any kernel code.
1241b16dceSLen Brown
1341b16dceSLen Brown	  If you say N, all options in this submenu will be skipped and disabled.
1441b16dceSLen Brown
1541b16dceSLen Brownif X86_PLATFORM_DEVICES
1641b16dceSLen Brown
1741b16dceSLen Brownconfig ACER_WMI
1841b16dceSLen Brown	tristate "Acer WMI Laptop Extras (EXPERIMENTAL)"
1941b16dceSLen Brown	depends on EXPERIMENTAL
2041b16dceSLen Brown	depends on ACPI
2141b16dceSLen Brown	depends on LEDS_CLASS
2241b16dceSLen Brown	depends on NEW_LEDS
2341b16dceSLen Brown	depends on BACKLIGHT_CLASS_DEVICE
2441b16dceSLen Brown	depends on SERIO_I8042
2541b16dceSLen Brown	depends on RFKILL
2641b16dceSLen Brown	select ACPI_WMI
2741b16dceSLen Brown	---help---
2841b16dceSLen Brown	  This is a driver for newer Acer (and Wistron) laptops. It adds
2941b16dceSLen Brown	  wireless radio and bluetooth control, and on some laptops,
3041b16dceSLen Brown	  exposes the mail LED and LCD backlight.
3141b16dceSLen Brown
3241b16dceSLen Brown	  For more information about this driver see
3341b16dceSLen Brown	  <file:Documentation/laptops/acer-wmi.txt>
3441b16dceSLen Brown
3541b16dceSLen Brown	  If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M
3641b16dceSLen Brown	  here.
3741b16dceSLen Brown
3841b16dceSLen Brownconfig ASUS_LAPTOP
3941b16dceSLen Brown	tristate "Asus Laptop Extras (EXPERIMENTAL)"
4041b16dceSLen Brown	depends on ACPI
4141b16dceSLen Brown	depends on EXPERIMENTAL && !ACPI_ASUS
4241b16dceSLen Brown	depends on LEDS_CLASS
4341b16dceSLen Brown	depends on NEW_LEDS
4441b16dceSLen Brown	depends on BACKLIGHT_CLASS_DEVICE
4541b16dceSLen Brown	---help---
4641b16dceSLen Brown	  This is the new Linux driver for Asus laptops. It may also support some
4741b16dceSLen Brown	  MEDION, JVC or VICTOR laptops. It makes all the extra buttons generate
4841b16dceSLen Brown	  standard ACPI events that go through /proc/acpi/events. It also adds
4941b16dceSLen Brown	  support for video output switching, LCD backlight control, Bluetooth and
5041b16dceSLen Brown	  Wlan control, and most importantly, allows you to blink those fancy LEDs.
5141b16dceSLen Brown
5241b16dceSLen Brown	  For more information and a userspace daemon for handling the extra
5341b16dceSLen Brown	  buttons see <http://acpi4asus.sf.net/>.
5441b16dceSLen Brown
5541b16dceSLen Brown	  If you have an ACPI-compatible ASUS laptop, say Y or M here.
5641b16dceSLen Brown
5741b16dceSLen Brownconfig FUJITSU_LAPTOP
5841b16dceSLen Brown	tristate "Fujitsu Laptop Extras"
5941b16dceSLen Brown	depends on ACPI
6041b16dceSLen Brown	depends on INPUT
6141b16dceSLen Brown	depends on BACKLIGHT_CLASS_DEVICE
6241b16dceSLen Brown	---help---
6341b16dceSLen Brown	  This is a driver for laptops built by Fujitsu:
6441b16dceSLen Brown
6541b16dceSLen Brown	    * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks
6641b16dceSLen Brown	    * Possibly other Fujitsu laptop models
6741b16dceSLen Brown	    * Tested with S6410 and S7020
6841b16dceSLen Brown
6941b16dceSLen Brown	  It adds support for LCD brightness control and some hotkeys.
7041b16dceSLen Brown
7141b16dceSLen Brown	  If you have a Fujitsu laptop, say Y or M here.
7241b16dceSLen Brown
7341b16dceSLen Brownconfig FUJITSU_LAPTOP_DEBUG
7441b16dceSLen Brown	bool "Verbose debug mode for Fujitsu Laptop Extras"
7541b16dceSLen Brown	depends on FUJITSU_LAPTOP
7641b16dceSLen Brown	default n
7741b16dceSLen Brown	---help---
7841b16dceSLen Brown	  Enables extra debug output from the fujitsu extras driver, at the
7941b16dceSLen Brown	  expense of a slight increase in driver size.
8041b16dceSLen Brown
8141b16dceSLen Brown	  If you are not sure, say N here.
8241b16dceSLen Brown
8341b16dceSLen Brownconfig TC1100_WMI
8441b16dceSLen Brown	tristate "HP Compaq TC1100 Tablet WMI Extras (EXPERIMENTAL)"
8541b16dceSLen Brown	depends on !X86_64
8641b16dceSLen Brown	depends on EXPERIMENTAL
8741b16dceSLen Brown	depends on ACPI
8841b16dceSLen Brown	select ACPI_WMI
8941b16dceSLen Brown	---help---
9041b16dceSLen Brown	  This is a driver for the WMI extensions (wireless and bluetooth power
9141b16dceSLen Brown	  control) of the HP Compaq TC1100 tablet.
9241b16dceSLen Brown
9341b16dceSLen Brownconfig HP_WMI
9441b16dceSLen Brown	tristate "HP WMI extras"
9541b16dceSLen Brown	depends on ACPI_WMI
9641b16dceSLen Brown	depends on INPUT
9741b16dceSLen Brown	depends on RFKILL
9841b16dceSLen Brown	help
9941b16dceSLen Brown	 Say Y here if you want to support WMI-based hotkeys on HP laptops and
10041b16dceSLen Brown	 to read data from WMI such as docking or ambient light sensor state.
10141b16dceSLen Brown
10241b16dceSLen Brown	 To compile this driver as a module, choose M here: the module will
10341b16dceSLen Brown	 be called hp-wmi.
10441b16dceSLen Brown
10541b16dceSLen Brownconfig MSI_LAPTOP
10641b16dceSLen Brown	tristate "MSI Laptop Extras"
10741b16dceSLen Brown	depends on ACPI
10841b16dceSLen Brown	depends on BACKLIGHT_CLASS_DEVICE
10941b16dceSLen Brown	---help---
11041b16dceSLen Brown	  This is a driver for laptops built by MSI (MICRO-STAR
11141b16dceSLen Brown	  INTERNATIONAL):
11241b16dceSLen Brown
11341b16dceSLen Brown	  MSI MegaBook S270 (MS-1013)
11441b16dceSLen Brown	  Cytron/TCM/Medion/Tchibo MD96100/SAM2000
11541b16dceSLen Brown
11641b16dceSLen Brown	  It adds support for Bluetooth, WLAN and LCD brightness control.
11741b16dceSLen Brown
11841b16dceSLen Brown	  More information about this driver is available at
11941b16dceSLen Brown	  <http://0pointer.de/lennart/tchibo.html>.
12041b16dceSLen Brown
12141b16dceSLen Brown	  If you have an MSI S270 laptop, say Y or M here.
12241b16dceSLen Brown
12341b16dceSLen Brownconfig PANASONIC_LAPTOP
12441b16dceSLen Brown	tristate "Panasonic Laptop Extras"
12541b16dceSLen Brown	depends on INPUT && ACPI
12641b16dceSLen Brown	depends on BACKLIGHT_CLASS_DEVICE
12741b16dceSLen Brown	---help---
12841b16dceSLen Brown	  This driver adds support for access to backlight control and hotkeys
12941b16dceSLen Brown	  on Panasonic Let's Note laptops.
13041b16dceSLen Brown
13141b16dceSLen Brown	  If you have a Panasonic Let's note laptop (such as the R1(N variant),
13241b16dceSLen Brown	  R2, R3, R5, T2, W2 and Y2 series), say Y.
13341b16dceSLen Brown
13441b16dceSLen Brownconfig COMPAL_LAPTOP
13541b16dceSLen Brown	tristate "Compal Laptop Extras"
13641b16dceSLen Brown	depends on ACPI
13741b16dceSLen Brown	depends on BACKLIGHT_CLASS_DEVICE
13841b16dceSLen Brown	---help---
13941b16dceSLen Brown	  This is a driver for laptops built by Compal:
14041b16dceSLen Brown
14141b16dceSLen Brown	  Compal FL90/IFL90
14241b16dceSLen Brown	  Compal FL91/IFL91
14341b16dceSLen Brown	  Compal FL92/JFL92
14441b16dceSLen Brown	  Compal FT00/IFT00
14541b16dceSLen Brown
14641b16dceSLen Brown	  It adds support for Bluetooth, WLAN and LCD brightness control.
14741b16dceSLen Brown
14841b16dceSLen Brown	  If you have an Compal FL9x/IFL9x/FT00 laptop, say Y or M here.
14941b16dceSLen Brown
15041b16dceSLen Brownconfig SONY_LAPTOP
15141b16dceSLen Brown	tristate "Sony Laptop Extras"
15241b16dceSLen Brown	depends on ACPI
15341b16dceSLen Brown	select BACKLIGHT_CLASS_DEVICE
15441b16dceSLen Brown	depends on INPUT
15541b16dceSLen Brown	  ---help---
15641b16dceSLen Brown	  This mini-driver drives the SNC and SPIC devices present in the ACPI
15741b16dceSLen Brown	  BIOS of the Sony Vaio laptops.
15841b16dceSLen Brown
15941b16dceSLen Brown	  It gives access to some extra laptop functionalities like Bluetooth,
16041b16dceSLen Brown	  screen brightness control, Fn keys and allows powering on/off some
16141b16dceSLen Brown	  devices.
16241b16dceSLen Brown
16341b16dceSLen Brown	  Read <file:Documentation/laptops/sony-laptop.txt> for more information.
16441b16dceSLen Brown
16541b16dceSLen Brownconfig SONYPI_COMPAT
16641b16dceSLen Brown	bool "Sonypi compatibility"
16741b16dceSLen Brown	depends on SONY_LAPTOP
16841b16dceSLen Brown	  ---help---
16941b16dceSLen Brown	  Build the sonypi driver compatibility code into the sony-laptop driver.
17041b16dceSLen Brown
17141b16dceSLen Brownconfig THINKPAD_ACPI
17241b16dceSLen Brown	tristate "ThinkPad ACPI Laptop Extras"
17341b16dceSLen Brown	depends on ACPI
17441b16dceSLen Brown	select BACKLIGHT_LCD_SUPPORT
17541b16dceSLen Brown	select BACKLIGHT_CLASS_DEVICE
17641b16dceSLen Brown	select HWMON
17741b16dceSLen Brown	select NVRAM
17841b16dceSLen Brown	select INPUT
17941b16dceSLen Brown	select NEW_LEDS
18041b16dceSLen Brown	select LEDS_CLASS
18141b16dceSLen Brown	select NET
18241b16dceSLen Brown	select RFKILL
18341b16dceSLen Brown	---help---
18441b16dceSLen Brown	  This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
18541b16dceSLen Brown	  support for Fn-Fx key combinations, Bluetooth control, video
18641b16dceSLen Brown	  output switching, ThinkLight control, UltraBay eject and more.
18741b16dceSLen Brown	  For more information about this driver see
18841b16dceSLen Brown	  <file:Documentation/laptops/thinkpad-acpi.txt> and
18941b16dceSLen Brown	  <http://ibm-acpi.sf.net/> .
19041b16dceSLen Brown
19141b16dceSLen Brown	  This driver was formerly known as ibm-acpi.
19241b16dceSLen Brown
19341b16dceSLen Brown	  If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
19441b16dceSLen Brown
19541b16dceSLen Brownconfig THINKPAD_ACPI_DEBUG
19641b16dceSLen Brown	bool "Verbose debug mode"
19741b16dceSLen Brown	depends on THINKPAD_ACPI
19841b16dceSLen Brown	default n
19941b16dceSLen Brown	---help---
20041b16dceSLen Brown	  Enables extra debugging information, at the expense of a slightly
20141b16dceSLen Brown	  increase in driver size.
20241b16dceSLen Brown
20341b16dceSLen Brown	  If you are not sure, say N here.
20441b16dceSLen Brown
20541b16dceSLen Brownconfig THINKPAD_ACPI_DOCK
20641b16dceSLen Brown	bool "Legacy Docking Station Support"
20741b16dceSLen Brown	depends on THINKPAD_ACPI
20841b16dceSLen Brown	depends on ACPI_DOCK=n
20941b16dceSLen Brown	default n
21041b16dceSLen Brown	---help---
21141b16dceSLen Brown	  Allows the thinkpad_acpi driver to handle docking station events.
21241b16dceSLen Brown	  This support was made obsolete by the generic ACPI docking station
21341b16dceSLen Brown	  support (CONFIG_ACPI_DOCK).  It will allow locking and removing the
21441b16dceSLen Brown	  laptop from the docking station, but will not properly connect PCI
21541b16dceSLen Brown	  devices.
21641b16dceSLen Brown
21741b16dceSLen Brown	  If you are not sure, say N here.
21841b16dceSLen Brown
21941b16dceSLen Brownconfig THINKPAD_ACPI_BAY
22041b16dceSLen Brown	bool "Legacy Removable Bay Support"
22141b16dceSLen Brown	depends on THINKPAD_ACPI
22241b16dceSLen Brown	default y
22341b16dceSLen Brown	---help---
22441b16dceSLen Brown	  Allows the thinkpad_acpi driver to handle removable bays.  It will
22541b16dceSLen Brown	  electrically disable the device in the bay, and also generate
22641b16dceSLen Brown	  notifications when the bay lever is ejected or inserted.
22741b16dceSLen Brown
22841b16dceSLen Brown	  If you are not sure, say Y here.
22941b16dceSLen Brown
23041b16dceSLen Brownconfig THINKPAD_ACPI_VIDEO
23141b16dceSLen Brown	bool "Video output control support"
23241b16dceSLen Brown	depends on THINKPAD_ACPI
23341b16dceSLen Brown	default y
23441b16dceSLen Brown	---help---
23541b16dceSLen Brown	  Allows the thinkpad_acpi driver to provide an interface to control
23641b16dceSLen Brown	  the various video output ports.
23741b16dceSLen Brown
23841b16dceSLen Brown	  This feature often won't work well, depending on ThinkPad model,
23941b16dceSLen Brown	  display state, video output devices in use, whether there is a X
24041b16dceSLen Brown	  server running, phase of the moon, and the current mood of
24141b16dceSLen Brown	  Schroedinger's cat.  If you can use X.org's RandR to control
24241b16dceSLen Brown	  your ThinkPad's video output ports instead of this feature,
24341b16dceSLen Brown	  don't think twice: do it and say N here to save some memory.
24441b16dceSLen Brown
24541b16dceSLen Brown	  If you are not sure, say Y here.
24641b16dceSLen Brown
24741b16dceSLen Brownconfig THINKPAD_ACPI_HOTKEY_POLL
24841b16dceSLen Brown	bool "Support NVRAM polling for hot keys"
24941b16dceSLen Brown	depends on THINKPAD_ACPI
25041b16dceSLen Brown	default y
25141b16dceSLen Brown	---help---
25241b16dceSLen Brown	  Some thinkpad models benefit from NVRAM polling to detect a few of
25341b16dceSLen Brown	  the hot key press events.  If you know your ThinkPad model does not
25441b16dceSLen Brown	  need to do NVRAM polling to support any of the hot keys you use,
25541b16dceSLen Brown	  unselecting this option will save about 1kB of memory.
25641b16dceSLen Brown
25741b16dceSLen Brown	  ThinkPads T40 and newer, R52 and newer, and X31 and newer are
25841b16dceSLen Brown	  unlikely to need NVRAM polling in their latest BIOS versions.
25941b16dceSLen Brown
26041b16dceSLen Brown	  NVRAM polling can detect at most the following keys: ThinkPad/Access
26141b16dceSLen Brown	  IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
26241b16dceSLen Brown	  Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
26341b16dceSLen Brown
26441b16dceSLen Brown	  If you are not sure, say Y here.  The driver enables polling only if
26541b16dceSLen Brown	  it is strictly necessary to do so.
26641b16dceSLen Brown
26741b16dceSLen Brownconfig INTEL_MENLOW
26841b16dceSLen Brown	tristate "Thermal Management driver for Intel menlow platform"
26941b16dceSLen Brown	depends on ACPI_THERMAL
27041b16dceSLen Brown	select THERMAL
27141b16dceSLen Brown	---help---
27241b16dceSLen Brown	  ACPI thermal management enhancement driver on
27341b16dceSLen Brown	  Intel Menlow platform.
27441b16dceSLen Brown
27541b16dceSLen Brown	  If unsure, say N.
27641b16dceSLen Brown
27741b16dceSLen Brownconfig EEEPC_LAPTOP
27841b16dceSLen Brown	tristate "Eee PC Hotkey Driver (EXPERIMENTAL)"
27941b16dceSLen Brown	depends on ACPI
28041b16dceSLen Brown	depends on EXPERIMENTAL
281d97c0defSLen Brown	select BACKLIGHT_CLASS_DEVICE
282d97c0defSLen Brown	select HWMON
283d97c0defSLen Brown	select RFKILL
28441b16dceSLen Brown	---help---
28541b16dceSLen Brown	  This driver supports the Fn-Fx keys on Eee PC laptops.
28641b16dceSLen Brown	  It also adds the ability to switch camera/wlan on/off.
28741b16dceSLen Brown
28841b16dceSLen Brown	  If you have an Eee PC laptop, say Y or M here.
28941b16dceSLen Brown
290b4f9fe12SLen Brown
291b4f9fe12SLen Brownconfig ACPI_WMI
292b4f9fe12SLen Brown	tristate "WMI (EXPERIMENTAL)"
293b4f9fe12SLen Brown	depends on ACPI
294b4f9fe12SLen Brown	depends on EXPERIMENTAL
295b4f9fe12SLen Brown	help
296b4f9fe12SLen Brown	  This driver adds support for the ACPI-WMI (Windows Management
297b4f9fe12SLen Brown	  Instrumentation) mapper device (PNP0C14) found on some systems.
298b4f9fe12SLen Brown
299b4f9fe12SLen Brown	  ACPI-WMI is a proprietary extension to ACPI to expose parts of the
300b4f9fe12SLen Brown	  ACPI firmware to userspace - this is done through various vendor
301b4f9fe12SLen Brown	  defined methods and data blocks in a PNP0C14 device, which are then
302b4f9fe12SLen Brown	  made available for userspace to call.
303b4f9fe12SLen Brown
304b4f9fe12SLen Brown	  The implementation of this in Linux currently only exposes this to
305b4f9fe12SLen Brown	  other kernel space drivers.
306b4f9fe12SLen Brown
307b4f9fe12SLen Brown	  This driver is a required dependency to build the firmware specific
308b4f9fe12SLen Brown	  drivers needed on many machines, including Acer and HP laptops.
309b4f9fe12SLen Brown
310b4f9fe12SLen Brown	  It is safe to enable this driver even if your DSDT doesn't define
311b4f9fe12SLen Brown	  any ACPI-WMI devices.
312b4f9fe12SLen Brown
313b4f9fe12SLen Brownconfig ACPI_ASUS
314b4f9fe12SLen Brown	tristate "ASUS/Medion Laptop Extras"
315b4f9fe12SLen Brown	depends on ACPI
316b4f9fe12SLen Brown	select BACKLIGHT_CLASS_DEVICE
317b4f9fe12SLen Brown	---help---
318b4f9fe12SLen Brown	  This driver provides support for extra features of ACPI-compatible
319b4f9fe12SLen Brown	  ASUS laptops. As some of Medion laptops are made by ASUS, it may also
320b4f9fe12SLen Brown	  support some Medion laptops (such as 9675 for example).  It makes all
321b4f9fe12SLen Brown	  the extra buttons generate standard ACPI events that go through
322b4f9fe12SLen Brown	  /proc/acpi/events, and (on some models) adds support for changing the
323b4f9fe12SLen Brown	  display brightness and output, switching the LCD backlight on and off,
324b4f9fe12SLen Brown	  and most importantly, allows you to blink those fancy LEDs intended
325b4f9fe12SLen Brown	  for reporting mail and wireless status.
326b4f9fe12SLen Brown
327b4f9fe12SLen Brown	  Note: display switching code is currently considered EXPERIMENTAL,
328b4f9fe12SLen Brown	  toying with these values may even lock your machine.
329b4f9fe12SLen Brown
330b4f9fe12SLen Brown	  All settings are changed via /proc/acpi/asus directory entries. Owner
331b4f9fe12SLen Brown	  and group for these entries can be set with asus_uid and asus_gid
332b4f9fe12SLen Brown	  parameters.
333b4f9fe12SLen Brown
334b4f9fe12SLen Brown	  More information and a userspace daemon for handling the extra buttons
335b4f9fe12SLen Brown	  at <http://sourceforge.net/projects/acpi4asus/>.
336b4f9fe12SLen Brown
337b4f9fe12SLen Brown	  If you have an ACPI-compatible ASUS laptop, say Y or M here. This
338b4f9fe12SLen Brown	  driver is still under development, so if your laptop is unsupported or
339b4f9fe12SLen Brown	  something works not quite as expected, please use the mailing list
340b4f9fe12SLen Brown	  available on the above page (acpi4asus-user@lists.sourceforge.net).
341b4f9fe12SLen Brown
342b4f9fe12SLen Brown	  NOTE: This driver is deprecated and will probably be removed soon,
343b4f9fe12SLen Brown	  use asus-laptop instead.
344b4f9fe12SLen Brown
345b4f9fe12SLen Brownconfig ACPI_TOSHIBA
346b4f9fe12SLen Brown	tristate "Toshiba Laptop Extras"
347b4f9fe12SLen Brown	depends on ACPI
348b4f9fe12SLen Brown	depends on INPUT
349b4f9fe12SLen Brown	select INPUT_POLLDEV
350b4f9fe12SLen Brown	select NET
351b4f9fe12SLen Brown	select RFKILL
352b4f9fe12SLen Brown	select BACKLIGHT_CLASS_DEVICE
353b4f9fe12SLen Brown	---help---
354b4f9fe12SLen Brown	  This driver adds support for access to certain system settings
355b4f9fe12SLen Brown	  on "legacy free" Toshiba laptops.  These laptops can be recognized by
356b4f9fe12SLen Brown	  their lack of a BIOS setup menu and APM support.
357b4f9fe12SLen Brown
358b4f9fe12SLen Brown	  On these machines, all system configuration is handled through the
359b4f9fe12SLen Brown	  ACPI.  This driver is required for access to controls not covered
360b4f9fe12SLen Brown	  by the general ACPI drivers, such as LCD brightness, video output,
361b4f9fe12SLen Brown	  etc.
362b4f9fe12SLen Brown
363b4f9fe12SLen Brown	  This driver differs from the non-ACPI Toshiba laptop driver (located
364b4f9fe12SLen Brown	  under "Processor type and features") in several aspects.
365b4f9fe12SLen Brown	  Configuration is accessed by reading and writing text files in the
366b4f9fe12SLen Brown	  /proc tree instead of by program interface to /dev.  Furthermore, no
367b4f9fe12SLen Brown	  power management functions are exposed, as those are handled by the
368b4f9fe12SLen Brown	  general ACPI drivers.
369b4f9fe12SLen Brown
370b4f9fe12SLen Brown	  More information about this driver is available at
371b4f9fe12SLen Brown	  <http://memebeam.org/toys/ToshibaAcpiDriver>.
372b4f9fe12SLen Brown
373b4f9fe12SLen Brown	  If you have a legacy free Toshiba laptop (such as the Libretto L1
374b4f9fe12SLen Brown	  series), say Y.
37541b16dceSLen Brownendif # X86_PLATFORM_DEVICES
376