xref: /openbmc/linux/drivers/platform/x86/Kconfig (revision 3fdca87d)
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
8a00cd11bSJan Engelhardt	depends on X86
941b16dceSLen Brown	---help---
1041b16dceSLen Brown	  Say Y here to get to see options for device drivers for various
1141b16dceSLen Brown	  x86 platforms, including vendor-specific laptop extension drivers.
1241b16dceSLen Brown	  This option alone does not add any kernel code.
1341b16dceSLen Brown
1441b16dceSLen Brown	  If you say N, all options in this submenu will be skipped and disabled.
1541b16dceSLen Brown
1641b16dceSLen Brownif X86_PLATFORM_DEVICES
1741b16dceSLen Brown
1841b16dceSLen Brownconfig ACER_WMI
1954b1ec89SCarlos Corbacho	tristate "Acer WMI Laptop Extras"
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
253fdca87dSLee, Chun-Yi	depends on INPUT
2619d337dfSJohannes Berg	depends on RFKILL || RFKILL = n
27e98062edSSedat Dilek	depends on ACPI_WMI
283fdca87dSLee, Chun-Yi	select INPUT_SPARSEKMAP
2941b16dceSLen Brown	---help---
3041b16dceSLen Brown	  This is a driver for newer Acer (and Wistron) laptops. It adds
3141b16dceSLen Brown	  wireless radio and bluetooth control, and on some laptops,
3241b16dceSLen Brown	  exposes the mail LED and LCD backlight.
3341b16dceSLen Brown
3441b16dceSLen Brown	  For more information about this driver see
3541b16dceSLen Brown	  <file:Documentation/laptops/acer-wmi.txt>
3641b16dceSLen Brown
3741b16dceSLen Brown	  If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M
3841b16dceSLen Brown	  here.
3941b16dceSLen Brown
40e86435ebSPeter Feuererconfig ACERHDF
41e86435ebSPeter Feuerer	tristate "Acer Aspire One temperature and fan driver"
42e86435ebSPeter Feuerer	depends on THERMAL && THERMAL_HWMON && ACPI
43e86435ebSPeter Feuerer	---help---
44e86435ebSPeter Feuerer	  This is a driver for Acer Aspire One netbooks. It allows to access
45e86435ebSPeter Feuerer	  the temperature sensor and to control the fan.
46e86435ebSPeter Feuerer
47e86435ebSPeter Feuerer	  After loading this driver the BIOS is still in control of the fan.
48e86435ebSPeter Feuerer	  To let the kernel handle the fan, do:
49e86435ebSPeter Feuerer	  echo -n enabled > /sys/class/thermal/thermal_zone0/mode
50e86435ebSPeter Feuerer
51e86435ebSPeter Feuerer	  For more information about this driver see
52e86435ebSPeter Feuerer	  <http://piie.net/files/acerhdf_README.txt>
53e86435ebSPeter Feuerer
54e86435ebSPeter Feuerer	  If you have an Acer Aspire One netbook, say Y or M
55e86435ebSPeter Feuerer	  here.
56e86435ebSPeter Feuerer
5741b16dceSLen Brownconfig ASUS_LAPTOP
586122af37SCorentin Chary	tristate "Asus Laptop Extras"
5941b16dceSLen Brown	depends on ACPI
6021ab01e2SCorentin Chary	depends on !ACPI_ASUS
61e73e2c62SCorentin Chary	select LEDS_CLASS
62e73e2c62SCorentin Chary	select NEW_LEDS
63e73e2c62SCorentin Chary	select BACKLIGHT_CLASS_DEVICE
6412d6f35bSCorentin Chary	depends on INPUT
6518e1311eSCorentin Chary	depends on RFKILL || RFKILL = n
6666a71dd1SCorentin Chary	select INPUT_SPARSEKMAP
6741b16dceSLen Brown	---help---
6841b16dceSLen Brown	  This is the new Linux driver for Asus laptops. It may also support some
6941b16dceSLen Brown	  MEDION, JVC or VICTOR laptops. It makes all the extra buttons generate
7076593d6fSCorentin Chary	  standard ACPI events and input events. It also adds
7141b16dceSLen Brown	  support for video output switching, LCD backlight control, Bluetooth and
7241b16dceSLen Brown	  Wlan control, and most importantly, allows you to blink those fancy LEDs.
7341b16dceSLen Brown
7441b16dceSLen Brown	  For more information and a userspace daemon for handling the extra
7576593d6fSCorentin Chary	  buttons see <http://acpi4asus.sf.net>.
7641b16dceSLen Brown
7741b16dceSLen Brown	  If you have an ACPI-compatible ASUS laptop, say Y or M here.
7841b16dceSLen Brown
79cad73120SLen Brownconfig DELL_LAPTOP
80cad73120SLen Brown	tristate "Dell Laptop Extras (EXPERIMENTAL)"
81cad73120SLen Brown	depends on X86
82cad73120SLen Brown	depends on DCDBAS
83cad73120SLen Brown	depends on EXPERIMENTAL
84cad73120SLen Brown	depends on BACKLIGHT_CLASS_DEVICE
8519d337dfSJohannes Berg	depends on RFKILL || RFKILL = n
86310d8c93SRandy Dunlap	depends on POWER_SUPPLY
87814cb8adSMatthew Garrett	depends on SERIO_I8042
88cad73120SLen Brown	default n
89cad73120SLen Brown	---help---
90cad73120SLen Brown	This driver adds support for rfkill and backlight control to Dell
91cad73120SLen Brown	laptops.
92cad73120SLen Brown
930b3f6109SMatthew Garrettconfig DELL_WMI
940b3f6109SMatthew Garrett	tristate "Dell WMI extras"
950b3f6109SMatthew Garrett	depends on ACPI_WMI
960b3f6109SMatthew Garrett	depends on INPUT
97890a7c8eSDmitry Torokhov	select INPUT_SPARSEKMAP
980b3f6109SMatthew Garrett	---help---
990b3f6109SMatthew Garrett	  Say Y here if you want to support WMI-based hotkeys on Dell laptops.
1000b3f6109SMatthew Garrett
1010b3f6109SMatthew Garrett	  To compile this driver as a module, choose M here: the module will
1020b3f6109SMatthew Garrett	  be called dell-wmi.
1030b3f6109SMatthew Garrett
10441b16dceSLen Brownconfig FUJITSU_LAPTOP
10541b16dceSLen Brown	tristate "Fujitsu Laptop Extras"
10641b16dceSLen Brown	depends on ACPI
10741b16dceSLen Brown	depends on INPUT
10841b16dceSLen Brown	depends on BACKLIGHT_CLASS_DEVICE
109c1b5310aSJonathan Woithe	depends on LEDS_CLASS || LEDS_CLASS=n
11041b16dceSLen Brown	---help---
11141b16dceSLen Brown	  This is a driver for laptops built by Fujitsu:
11241b16dceSLen Brown
11341b16dceSLen Brown	    * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks
11441b16dceSLen Brown	    * Possibly other Fujitsu laptop models
11541b16dceSLen Brown	    * Tested with S6410 and S7020
11641b16dceSLen Brown
11741b16dceSLen Brown	  It adds support for LCD brightness control and some hotkeys.
11841b16dceSLen Brown
11941b16dceSLen Brown	  If you have a Fujitsu laptop, say Y or M here.
12041b16dceSLen Brown
12141b16dceSLen Brownconfig FUJITSU_LAPTOP_DEBUG
12241b16dceSLen Brown	bool "Verbose debug mode for Fujitsu Laptop Extras"
12341b16dceSLen Brown	depends on FUJITSU_LAPTOP
12441b16dceSLen Brown	default n
12541b16dceSLen Brown	---help---
12641b16dceSLen Brown	  Enables extra debug output from the fujitsu extras driver, at the
12741b16dceSLen Brown	  expense of a slight increase in driver size.
12841b16dceSLen Brown
12941b16dceSLen Brown	  If you are not sure, say N here.
13041b16dceSLen Brown
13141b16dceSLen Brownconfig TC1100_WMI
13241b16dceSLen Brown	tristate "HP Compaq TC1100 Tablet WMI Extras (EXPERIMENTAL)"
13341b16dceSLen Brown	depends on !X86_64
13441b16dceSLen Brown	depends on EXPERIMENTAL
13541b16dceSLen Brown	depends on ACPI
136e98062edSSedat Dilek	depends on ACPI_WMI
13741b16dceSLen Brown	---help---
13841b16dceSLen Brown	  This is a driver for the WMI extensions (wireless and bluetooth power
13941b16dceSLen Brown	  control) of the HP Compaq TC1100 tablet.
14041b16dceSLen Brown
14141b16dceSLen Brownconfig HP_WMI
14241b16dceSLen Brown	tristate "HP WMI extras"
14341b16dceSLen Brown	depends on ACPI_WMI
14441b16dceSLen Brown	depends on INPUT
14519d337dfSJohannes Berg	depends on RFKILL || RFKILL = n
1464d291ed7SDmitry Torokhov	select INPUT_SPARSEKMAP
14741b16dceSLen Brown	help
14841b16dceSLen Brown	 Say Y here if you want to support WMI-based hotkeys on HP laptops and
14941b16dceSLen Brown	 to read data from WMI such as docking or ambient light sensor state.
15041b16dceSLen Brown
15141b16dceSLen Brown	 To compile this driver as a module, choose M here: the module will
15241b16dceSLen Brown	 be called hp-wmi.
15341b16dceSLen Brown
15441b16dceSLen Brownconfig MSI_LAPTOP
15541b16dceSLen Brown	tristate "MSI Laptop Extras"
15641b16dceSLen Brown	depends on ACPI
15741b16dceSLen Brown	depends on BACKLIGHT_CLASS_DEVICE
158410c1765SRandy Dunlap	depends on RFKILL
15981f61484SRandy Dunlap	depends on SERIO_I8042
16041b16dceSLen Brown	---help---
16141b16dceSLen Brown	  This is a driver for laptops built by MSI (MICRO-STAR
16241b16dceSLen Brown	  INTERNATIONAL):
16341b16dceSLen Brown
16441b16dceSLen Brown	  MSI MegaBook S270 (MS-1013)
16541b16dceSLen Brown	  Cytron/TCM/Medion/Tchibo MD96100/SAM2000
16641b16dceSLen Brown
16741b16dceSLen Brown	  It adds support for Bluetooth, WLAN and LCD brightness control.
16841b16dceSLen Brown
16941b16dceSLen Brown	  More information about this driver is available at
17041b16dceSLen Brown	  <http://0pointer.de/lennart/tchibo.html>.
17141b16dceSLen Brown
17241b16dceSLen Brown	  If you have an MSI S270 laptop, say Y or M here.
17341b16dceSLen Brown
17441b16dceSLen Brownconfig PANASONIC_LAPTOP
17541b16dceSLen Brown	tristate "Panasonic Laptop Extras"
17641b16dceSLen Brown	depends on INPUT && ACPI
17741b16dceSLen Brown	depends on BACKLIGHT_CLASS_DEVICE
1781a765cacSDmitry Torokhov	select INPUT_SPARSEKMAP
17941b16dceSLen Brown	---help---
18041b16dceSLen Brown	  This driver adds support for access to backlight control and hotkeys
18141b16dceSLen Brown	  on Panasonic Let's Note laptops.
18241b16dceSLen Brown
18341b16dceSLen Brown	  If you have a Panasonic Let's note laptop (such as the R1(N variant),
18441b16dceSLen Brown	  R2, R3, R5, T2, W2 and Y2 series), say Y.
18541b16dceSLen Brown
18641b16dceSLen Brownconfig COMPAL_LAPTOP
18741b16dceSLen Brown	tristate "Compal Laptop Extras"
18841b16dceSLen Brown	depends on ACPI
18941b16dceSLen Brown	depends on BACKLIGHT_CLASS_DEVICE
19051c1410bSIngo Molnar	depends on RFKILL
191c2834145SRandy Dunlap	depends on HWMON
1925ca56718SRandy Dunlap	depends on POWER_SUPPLY
19341b16dceSLen Brown	---help---
19441b16dceSLen Brown	  This is a driver for laptops built by Compal:
19541b16dceSLen Brown
19641b16dceSLen Brown	  Compal FL90/IFL90
19741b16dceSLen Brown	  Compal FL91/IFL91
19841b16dceSLen Brown	  Compal FL92/JFL92
19941b16dceSLen Brown	  Compal FT00/IFT00
20041b16dceSLen Brown
20141b16dceSLen Brown	  It adds support for Bluetooth, WLAN and LCD brightness control.
20241b16dceSLen Brown
20341b16dceSLen Brown	  If you have an Compal FL9x/IFL9x/FT00 laptop, say Y or M here.
20441b16dceSLen Brown
20541b16dceSLen Brownconfig SONY_LAPTOP
20641b16dceSLen Brown	tristate "Sony Laptop Extras"
20741b16dceSLen Brown	depends on ACPI
20841b16dceSLen Brown	select BACKLIGHT_CLASS_DEVICE
20941b16dceSLen Brown	depends on INPUT
21014bd3136SAlexander Beregalov	depends on RFKILL
21141b16dceSLen Brown	  ---help---
21241b16dceSLen Brown	  This mini-driver drives the SNC and SPIC devices present in the ACPI
21341b16dceSLen Brown	  BIOS of the Sony Vaio laptops.
21441b16dceSLen Brown
21541b16dceSLen Brown	  It gives access to some extra laptop functionalities like Bluetooth,
21641b16dceSLen Brown	  screen brightness control, Fn keys and allows powering on/off some
21741b16dceSLen Brown	  devices.
21841b16dceSLen Brown
21941b16dceSLen Brown	  Read <file:Documentation/laptops/sony-laptop.txt> for more information.
22041b16dceSLen Brown
22141b16dceSLen Brownconfig SONYPI_COMPAT
22241b16dceSLen Brown	bool "Sonypi compatibility"
22341b16dceSLen Brown	depends on SONY_LAPTOP
22441b16dceSLen Brown	  ---help---
22541b16dceSLen Brown	  Build the sonypi driver compatibility code into the sony-laptop driver.
22641b16dceSLen Brown
22757ac3b05SIke Panhcconfig IDEAPAD_LAPTOP
22857ac3b05SIke Panhc	tristate "Lenovo IdeaPad Laptop Extras"
22958ac7aa0SDavid Woodhouse	depends on ACPI
23058ac7aa0SDavid Woodhouse	depends on RFKILL
231f63409aeSIke Panhc	select INPUT_SPARSEKMAP
23258ac7aa0SDavid Woodhouse	help
23358ac7aa0SDavid Woodhouse	  This is a driver for the rfkill switches on Lenovo IdeaPad netbooks.
23458ac7aa0SDavid Woodhouse
23541b16dceSLen Brownconfig THINKPAD_ACPI
23641b16dceSLen Brown	tristate "ThinkPad ACPI Laptop Extras"
23741b16dceSLen Brown	depends on ACPI
238d263da31SCorentin Chary	depends on INPUT
23919d337dfSJohannes Berg	depends on RFKILL || RFKILL = n
24041b16dceSLen Brown	select BACKLIGHT_LCD_SUPPORT
24141b16dceSLen Brown	select BACKLIGHT_CLASS_DEVICE
24241b16dceSLen Brown	select HWMON
24341b16dceSLen Brown	select NVRAM
24441b16dceSLen Brown	select NEW_LEDS
24541b16dceSLen Brown	select LEDS_CLASS
24641b16dceSLen Brown	---help---
24741b16dceSLen Brown	  This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
24841b16dceSLen Brown	  support for Fn-Fx key combinations, Bluetooth control, video
24941b16dceSLen Brown	  output switching, ThinkLight control, UltraBay eject and more.
25041b16dceSLen Brown	  For more information about this driver see
25141b16dceSLen Brown	  <file:Documentation/laptops/thinkpad-acpi.txt> and
25241b16dceSLen Brown	  <http://ibm-acpi.sf.net/> .
25341b16dceSLen Brown
25441b16dceSLen Brown	  This driver was formerly known as ibm-acpi.
25541b16dceSLen Brown
2566e5b08eeSHenrique de Moraes Holschuh	  Extra functionality will be available if the rfkill (CONFIG_RFKILL)
2576e5b08eeSHenrique de Moraes Holschuh	  and/or ALSA (CONFIG_SND) subsystems are available in the kernel.
2586e5b08eeSHenrique de Moraes Holschuh	  Note that if you want ThinkPad-ACPI to be built-in instead of
2596e5b08eeSHenrique de Moraes Holschuh	  modular, ALSA and rfkill will also have to be built-in.
2606e5b08eeSHenrique de Moraes Holschuh
26141b16dceSLen Brown	  If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
26241b16dceSLen Brown
263ff850c33SHenrique de Moraes Holschuhconfig THINKPAD_ACPI_ALSA_SUPPORT
264ff850c33SHenrique de Moraes Holschuh	bool "Console audio control ALSA interface"
265ff850c33SHenrique de Moraes Holschuh	depends on THINKPAD_ACPI
266ff850c33SHenrique de Moraes Holschuh	depends on SND
267ff850c33SHenrique de Moraes Holschuh	depends on SND = y || THINKPAD_ACPI = SND
268ff850c33SHenrique de Moraes Holschuh	default y
269ff850c33SHenrique de Moraes Holschuh	---help---
270ff850c33SHenrique de Moraes Holschuh	  Enables monitoring of the built-in console audio output control
271ff850c33SHenrique de Moraes Holschuh	  (headphone and speakers), which is operated by the mute and (in
272ff850c33SHenrique de Moraes Holschuh	  some ThinkPad models) volume hotkeys.
273ff850c33SHenrique de Moraes Holschuh
274ff850c33SHenrique de Moraes Holschuh	  If this option is enabled, ThinkPad-ACPI will export an ALSA card
275ff850c33SHenrique de Moraes Holschuh	  with a single read-only mixer control, which should be used for
276ff850c33SHenrique de Moraes Holschuh	  on-screen-display feedback purposes by the Desktop Environment.
277ff850c33SHenrique de Moraes Holschuh
278ff850c33SHenrique de Moraes Holschuh	  Optionally, the driver will also allow software control (the
279ff850c33SHenrique de Moraes Holschuh	  ALSA mixer will be made read-write).  Please refer to the driver
280ff850c33SHenrique de Moraes Holschuh	  documentation for details.
281ff850c33SHenrique de Moraes Holschuh
282ff850c33SHenrique de Moraes Holschuh	  All IBM models have both volume and mute control.  Newer Lenovo
283ff850c33SHenrique de Moraes Holschuh	  models only have mute control (the volume hotkeys are just normal
284ff850c33SHenrique de Moraes Holschuh	  keys and volume control is done through the main HDA mixer).
285ff850c33SHenrique de Moraes Holschuh
286a73f3091SHenrique de Moraes Holschuhconfig THINKPAD_ACPI_DEBUGFACILITIES
287a73f3091SHenrique de Moraes Holschuh	bool "Maintainer debug facilities"
288a73f3091SHenrique de Moraes Holschuh	depends on THINKPAD_ACPI
289a73f3091SHenrique de Moraes Holschuh	default n
290a73f3091SHenrique de Moraes Holschuh	---help---
291a73f3091SHenrique de Moraes Holschuh	  Enables extra stuff in the thinkpad-acpi which is completely useless
292a73f3091SHenrique de Moraes Holschuh	  for normal use.  Read the driver source to find out what it does.
293a73f3091SHenrique de Moraes Holschuh
294a73f3091SHenrique de Moraes Holschuh	  Say N here, unless you were told by a kernel maintainer to do
295a73f3091SHenrique de Moraes Holschuh	  otherwise.
296a73f3091SHenrique de Moraes Holschuh
29741b16dceSLen Brownconfig THINKPAD_ACPI_DEBUG
29841b16dceSLen Brown	bool "Verbose debug mode"
29941b16dceSLen Brown	depends on THINKPAD_ACPI
30041b16dceSLen Brown	default n
30141b16dceSLen Brown	---help---
30241b16dceSLen Brown	  Enables extra debugging information, at the expense of a slightly
30341b16dceSLen Brown	  increase in driver size.
30441b16dceSLen Brown
30541b16dceSLen Brown	  If you are not sure, say N here.
30641b16dceSLen Brown
307a4d5effcSHenrique de Moraes Holschuhconfig THINKPAD_ACPI_UNSAFE_LEDS
308a4d5effcSHenrique de Moraes Holschuh	bool "Allow control of important LEDs (unsafe)"
309a4d5effcSHenrique de Moraes Holschuh	depends on THINKPAD_ACPI
310a4d5effcSHenrique de Moraes Holschuh	default n
311a4d5effcSHenrique de Moraes Holschuh	---help---
312a4d5effcSHenrique de Moraes Holschuh	  Overriding LED state on ThinkPads can mask important
313a4d5effcSHenrique de Moraes Holschuh	  firmware alerts (like critical battery condition), or misled
314a4d5effcSHenrique de Moraes Holschuh	  the user into damaging the hardware (undocking or ejecting
315a4d5effcSHenrique de Moraes Holschuh	  the bay while buses are still active), etc.
316a4d5effcSHenrique de Moraes Holschuh
317a4d5effcSHenrique de Moraes Holschuh	  LED control on the ThinkPad is write-only (with very few
318a4d5effcSHenrique de Moraes Holschuh	  exceptions on very ancient models), which makes it
319a4d5effcSHenrique de Moraes Holschuh	  impossible to know beforehand if important information will
320a4d5effcSHenrique de Moraes Holschuh	  be lost when one changes LED state.
321a4d5effcSHenrique de Moraes Holschuh
322a4d5effcSHenrique de Moraes Holschuh	  Users that know what they are doing can enable this option
323a4d5effcSHenrique de Moraes Holschuh	  and the driver will allow control of every LED, including
324a4d5effcSHenrique de Moraes Holschuh	  the ones on the dock stations.
325a4d5effcSHenrique de Moraes Holschuh
326a4d5effcSHenrique de Moraes Holschuh	  Never enable this option on a distribution kernel.
327a4d5effcSHenrique de Moraes Holschuh
328a4d5effcSHenrique de Moraes Holschuh	  Say N here, unless you are building a kernel for your own
329a4d5effcSHenrique de Moraes Holschuh	  use, and need to control the important firmware LEDs.
330a4d5effcSHenrique de Moraes Holschuh
33141b16dceSLen Brownconfig THINKPAD_ACPI_VIDEO
33241b16dceSLen Brown	bool "Video output control support"
33341b16dceSLen Brown	depends on THINKPAD_ACPI
33441b16dceSLen Brown	default y
33541b16dceSLen Brown	---help---
33641b16dceSLen Brown	  Allows the thinkpad_acpi driver to provide an interface to control
33741b16dceSLen Brown	  the various video output ports.
33841b16dceSLen Brown
33941b16dceSLen Brown	  This feature often won't work well, depending on ThinkPad model,
34041b16dceSLen Brown	  display state, video output devices in use, whether there is a X
34141b16dceSLen Brown	  server running, phase of the moon, and the current mood of
34241b16dceSLen Brown	  Schroedinger's cat.  If you can use X.org's RandR to control
34341b16dceSLen Brown	  your ThinkPad's video output ports instead of this feature,
344b525c06cSHenrique de Moraes Holschuh	  don't think twice: do it and say N here to save memory and avoid
345b525c06cSHenrique de Moraes Holschuh	  bad interactions with X.org.
34641b16dceSLen Brown
347b525c06cSHenrique de Moraes Holschuh	  NOTE: access to this feature is limited to processes with the
348b525c06cSHenrique de Moraes Holschuh	  CAP_SYS_ADMIN capability, to avoid local DoS issues in platforms
349b525c06cSHenrique de Moraes Holschuh	  where it interacts badly with X.org.
350b525c06cSHenrique de Moraes Holschuh
351b525c06cSHenrique de Moraes Holschuh	  If you are not sure, say Y here but do try to check if you could
352b525c06cSHenrique de Moraes Holschuh	  be using X.org RandR instead.
35341b16dceSLen Brown
35441b16dceSLen Brownconfig THINKPAD_ACPI_HOTKEY_POLL
35541b16dceSLen Brown	bool "Support NVRAM polling for hot keys"
35641b16dceSLen Brown	depends on THINKPAD_ACPI
35741b16dceSLen Brown	default y
35841b16dceSLen Brown	---help---
35941b16dceSLen Brown	  Some thinkpad models benefit from NVRAM polling to detect a few of
36041b16dceSLen Brown	  the hot key press events.  If you know your ThinkPad model does not
36141b16dceSLen Brown	  need to do NVRAM polling to support any of the hot keys you use,
36241b16dceSLen Brown	  unselecting this option will save about 1kB of memory.
36341b16dceSLen Brown
36441b16dceSLen Brown	  ThinkPads T40 and newer, R52 and newer, and X31 and newer are
36541b16dceSLen Brown	  unlikely to need NVRAM polling in their latest BIOS versions.
36641b16dceSLen Brown
36741b16dceSLen Brown	  NVRAM polling can detect at most the following keys: ThinkPad/Access
36841b16dceSLen Brown	  IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
36941b16dceSLen Brown	  Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
37041b16dceSLen Brown
37141b16dceSLen Brown	  If you are not sure, say Y here.  The driver enables polling only if
37241b16dceSLen Brown	  it is strictly necessary to do so.
37341b16dceSLen Brown
374bd9fc3a7SJean Delvareconfig SENSORS_HDAPS
375bd9fc3a7SJean Delvare	tristate "Thinkpad Hard Drive Active Protection System (hdaps)"
376bd9fc3a7SJean Delvare	depends on INPUT && X86
377bd9fc3a7SJean Delvare	select INPUT_POLLDEV
378bd9fc3a7SJean Delvare	default n
379bd9fc3a7SJean Delvare	help
380bd9fc3a7SJean Delvare	  This driver provides support for the IBM Hard Drive Active Protection
381bd9fc3a7SJean Delvare	  System (hdaps), which provides an accelerometer and other misc. data.
382bd9fc3a7SJean Delvare	  ThinkPads starting with the R50, T41, and X40 are supported.  The
383bd9fc3a7SJean Delvare	  accelerometer data is readable via sysfs.
384bd9fc3a7SJean Delvare
385bd9fc3a7SJean Delvare	  This driver also provides an absolute input class device, allowing
386bd9fc3a7SJean Delvare	  the laptop to act as a pinball machine-esque joystick.
387bd9fc3a7SJean Delvare
388bd9fc3a7SJean Delvare	  If your ThinkPad is not recognized by the driver, please update to latest
389bd9fc3a7SJean Delvare	  BIOS. This is especially the case for some R52 ThinkPads.
390bd9fc3a7SJean Delvare
391bd9fc3a7SJean Delvare	  Say Y here if you have an applicable laptop and want to experience
392bd9fc3a7SJean Delvare	  the awesome power of hdaps.
393bd9fc3a7SJean Delvare
39441b16dceSLen Brownconfig INTEL_MENLOW
39541b16dceSLen Brown	tristate "Thermal Management driver for Intel menlow platform"
39641b16dceSLen Brown	depends on ACPI_THERMAL
39741b16dceSLen Brown	select THERMAL
39841b16dceSLen Brown	---help---
39941b16dceSLen Brown	  ACPI thermal management enhancement driver on
40041b16dceSLen Brown	  Intel Menlow platform.
40141b16dceSLen Brown
40241b16dceSLen Brown	  If unsure, say N.
40341b16dceSLen Brown
40441b16dceSLen Brownconfig EEEPC_LAPTOP
40541b16dceSLen Brown	tristate "Eee PC Hotkey Driver (EXPERIMENTAL)"
40641b16dceSLen Brown	depends on ACPI
4073a5093eeSAlexey Dobriyan	depends on INPUT
40841b16dceSLen Brown	depends on EXPERIMENTAL
40919d337dfSJohannes Berg	depends on RFKILL || RFKILL = n
41044b3615bSIngo Molnar	depends on HOTPLUG_PCI
411d97c0defSLen Brown	select BACKLIGHT_CLASS_DEVICE
412d97c0defSLen Brown	select HWMON
4133c0eb510SCorentin Chary	select LEDS_CLASS
4143c0eb510SCorentin Chary	select NEW_LEDS
415642e0447SDmitry Torokhov	select INPUT_SPARSEKMAP
41641b16dceSLen Brown	---help---
41741b16dceSLen Brown	  This driver supports the Fn-Fx keys on Eee PC laptops.
41876593d6fSCorentin Chary
41976593d6fSCorentin Chary	  It  also gives access to some extra laptop functionalities like
42076593d6fSCorentin Chary	  Bluetooth, backlight and allows powering on/off some other
42176593d6fSCorentin Chary	  devices.
42241b16dceSLen Brown
42341b16dceSLen Brown	  If you have an Eee PC laptop, say Y or M here.
42441b16dceSLen Brown
425ee027e4aSYong Wangconfig EEEPC_WMI
426ee027e4aSYong Wang	tristate "Eee PC WMI Hotkey Driver (EXPERIMENTAL)"
427ee027e4aSYong Wang	depends on ACPI_WMI
428ee027e4aSYong Wang	depends on INPUT
429ee027e4aSYong Wang	depends on EXPERIMENTAL
43089a7644bSRandy Dunlap	depends on BACKLIGHT_CLASS_DEVICE
431ba48fdb9SCorentin Chary	depends on RFKILL || RFKILL = n
432fb48aef7SIngo Molnar	select INPUT_SPARSEKMAP
433084fca63SCorentin Chary	select LEDS_CLASS
434084fca63SCorentin Chary	select NEW_LEDS
435ee027e4aSYong Wang	---help---
436ee027e4aSYong Wang	  Say Y here if you want to support WMI-based hotkeys on Eee PC laptops.
437ee027e4aSYong Wang
438ee027e4aSYong Wang	  To compile this driver as a module, choose M here: the module will
439ee027e4aSYong Wang	  be called eeepc-wmi.
440b4f9fe12SLen Brown
441b4f9fe12SLen Brownconfig ACPI_WMI
4425fcdd177SCarlos Corbacho	tristate "WMI"
443b4f9fe12SLen Brown	depends on ACPI
444b4f9fe12SLen Brown	help
445b4f9fe12SLen Brown	  This driver adds support for the ACPI-WMI (Windows Management
446b4f9fe12SLen Brown	  Instrumentation) mapper device (PNP0C14) found on some systems.
447b4f9fe12SLen Brown
448b4f9fe12SLen Brown	  ACPI-WMI is a proprietary extension to ACPI to expose parts of the
449b4f9fe12SLen Brown	  ACPI firmware to userspace - this is done through various vendor
450b4f9fe12SLen Brown	  defined methods and data blocks in a PNP0C14 device, which are then
451b4f9fe12SLen Brown	  made available for userspace to call.
452b4f9fe12SLen Brown
453b4f9fe12SLen Brown	  The implementation of this in Linux currently only exposes this to
454b4f9fe12SLen Brown	  other kernel space drivers.
455b4f9fe12SLen Brown
456b4f9fe12SLen Brown	  This driver is a required dependency to build the firmware specific
457b4f9fe12SLen Brown	  drivers needed on many machines, including Acer and HP laptops.
458b4f9fe12SLen Brown
459b4f9fe12SLen Brown	  It is safe to enable this driver even if your DSDT doesn't define
460b4f9fe12SLen Brown	  any ACPI-WMI devices.
461b4f9fe12SLen Brown
462d12d8bafSThomas Renningerconfig MSI_WMI
463d12d8bafSThomas Renninger	tristate "MSI WMI extras"
464d12d8bafSThomas Renninger	depends on ACPI_WMI
465d12d8bafSThomas Renninger	depends on INPUT
466de078e57SAnisse Astier	depends on BACKLIGHT_CLASS_DEVICE
467c30116c6SAnisse Astier	select INPUT_SPARSEKMAP
468d12d8bafSThomas Renninger	help
469d12d8bafSThomas Renninger	 Say Y here if you want to support WMI-based hotkeys on MSI laptops.
470d12d8bafSThomas Renninger
471d12d8bafSThomas Renninger	 To compile this driver as a module, choose M here: the module will
472d12d8bafSThomas Renninger	 be called msi-wmi.
473d12d8bafSThomas Renninger
474b4f9fe12SLen Brownconfig ACPI_ASUS
4756122af37SCorentin Chary	tristate "ASUS/Medion Laptop Extras (DEPRECATED)"
476b4f9fe12SLen Brown	depends on ACPI
477b4f9fe12SLen Brown	select BACKLIGHT_CLASS_DEVICE
478b4f9fe12SLen Brown	---help---
479b4f9fe12SLen Brown	  This driver provides support for extra features of ACPI-compatible
480b4f9fe12SLen Brown	  ASUS laptops. As some of Medion laptops are made by ASUS, it may also
481b4f9fe12SLen Brown	  support some Medion laptops (such as 9675 for example).  It makes all
482b4f9fe12SLen Brown	  the extra buttons generate standard ACPI events that go through
483b4f9fe12SLen Brown	  /proc/acpi/events, and (on some models) adds support for changing the
484b4f9fe12SLen Brown	  display brightness and output, switching the LCD backlight on and off,
485b4f9fe12SLen Brown	  and most importantly, allows you to blink those fancy LEDs intended
486b4f9fe12SLen Brown	  for reporting mail and wireless status.
487b4f9fe12SLen Brown
488b4f9fe12SLen Brown	  Note: display switching code is currently considered EXPERIMENTAL,
489b4f9fe12SLen Brown	  toying with these values may even lock your machine.
490b4f9fe12SLen Brown
491b4f9fe12SLen Brown	  All settings are changed via /proc/acpi/asus directory entries. Owner
492b4f9fe12SLen Brown	  and group for these entries can be set with asus_uid and asus_gid
493b4f9fe12SLen Brown	  parameters.
494b4f9fe12SLen Brown
495b4f9fe12SLen Brown	  More information and a userspace daemon for handling the extra buttons
49676593d6fSCorentin Chary	  at <http://acpi4asus.sf.net>.
497b4f9fe12SLen Brown
498b4f9fe12SLen Brown	  If you have an ACPI-compatible ASUS laptop, say Y or M here. This
499b4f9fe12SLen Brown	  driver is still under development, so if your laptop is unsupported or
500b4f9fe12SLen Brown	  something works not quite as expected, please use the mailing list
501b4f9fe12SLen Brown	  available on the above page (acpi4asus-user@lists.sourceforge.net).
502b4f9fe12SLen Brown
503b4f9fe12SLen Brown	  NOTE: This driver is deprecated and will probably be removed soon,
504b4f9fe12SLen Brown	  use asus-laptop instead.
505b4f9fe12SLen Brown
5069caeb532SHerton Ronaldo Krzesinskiconfig TOPSTAR_LAPTOP
5079caeb532SHerton Ronaldo Krzesinski	tristate "Topstar Laptop Extras"
5089caeb532SHerton Ronaldo Krzesinski	depends on ACPI
5099caeb532SHerton Ronaldo Krzesinski	depends on INPUT
51097490f1cSDmitry Torokhov	select INPUT_SPARSEKMAP
5119caeb532SHerton Ronaldo Krzesinski	---help---
5129caeb532SHerton Ronaldo Krzesinski	  This driver adds support for hotkeys found on Topstar laptops.
5139caeb532SHerton Ronaldo Krzesinski
5149caeb532SHerton Ronaldo Krzesinski	  If you have a Topstar laptop, say Y or M here.
5159caeb532SHerton Ronaldo Krzesinski
516b4f9fe12SLen Brownconfig ACPI_TOSHIBA
517b4f9fe12SLen Brown	tristate "Toshiba Laptop Extras"
518b4f9fe12SLen Brown	depends on ACPI
519c76a3e1dSJonathan Corbet	depends on LEDS_CLASS
520c76a3e1dSJonathan Corbet	depends on NEW_LEDS
521c76a3e1dSJonathan Corbet	depends on BACKLIGHT_CLASS_DEVICE
522b4f9fe12SLen Brown	depends on INPUT
52319d337dfSJohannes Berg	depends on RFKILL || RFKILL = n
524b4f9fe12SLen Brown	select INPUT_POLLDEV
525384a7cd9SDmitry Torokhov	select INPUT_SPARSEKMAP
526b4f9fe12SLen Brown	---help---
527b4f9fe12SLen Brown	  This driver adds support for access to certain system settings
528b4f9fe12SLen Brown	  on "legacy free" Toshiba laptops.  These laptops can be recognized by
529b4f9fe12SLen Brown	  their lack of a BIOS setup menu and APM support.
530b4f9fe12SLen Brown
531b4f9fe12SLen Brown	  On these machines, all system configuration is handled through the
532b4f9fe12SLen Brown	  ACPI.  This driver is required for access to controls not covered
533b4f9fe12SLen Brown	  by the general ACPI drivers, such as LCD brightness, video output,
534b4f9fe12SLen Brown	  etc.
535b4f9fe12SLen Brown
536b4f9fe12SLen Brown	  This driver differs from the non-ACPI Toshiba laptop driver (located
537b4f9fe12SLen Brown	  under "Processor type and features") in several aspects.
538b4f9fe12SLen Brown	  Configuration is accessed by reading and writing text files in the
539b4f9fe12SLen Brown	  /proc tree instead of by program interface to /dev.  Furthermore, no
540b4f9fe12SLen Brown	  power management functions are exposed, as those are handled by the
541b4f9fe12SLen Brown	  general ACPI drivers.
542b4f9fe12SLen Brown
543b4f9fe12SLen Brown	  More information about this driver is available at
544b4f9fe12SLen Brown	  <http://memebeam.org/toys/ToshibaAcpiDriver>.
545b4f9fe12SLen Brown
546b4f9fe12SLen Brown	  If you have a legacy free Toshiba laptop (such as the Libretto L1
547b4f9fe12SLen Brown	  series), say Y.
54842b4e9eeSJes Sorensen
54942b4e9eeSJes Sorensenconfig TOSHIBA_BT_RFKILL
55042b4e9eeSJes Sorensen	tristate "Toshiba Bluetooth RFKill switch support"
55142b4e9eeSJes Sorensen	depends on ACPI
55242b4e9eeSJes Sorensen	---help---
55342b4e9eeSJes Sorensen	  This driver adds support for Bluetooth events for the RFKill
55442b4e9eeSJes Sorensen	  switch on modern Toshiba laptops with full ACPI support and
55542b4e9eeSJes Sorensen	  an RFKill switch.
55642b4e9eeSJes Sorensen
55742b4e9eeSJes Sorensen	  This driver handles RFKill events for the TOS6205 Bluetooth,
55842b4e9eeSJes Sorensen	  and re-enables it when the switch is set back to the 'on'
55942b4e9eeSJes Sorensen	  position.
56042b4e9eeSJes Sorensen
56142b4e9eeSJes Sorensen	  If you have a modern Toshiba laptop with a Bluetooth and an
56242b4e9eeSJes Sorensen	  RFKill switch (such as the Portege R500), say Y.
563529aa8cbSThadeu Lima de Souza Cascardo
564529aa8cbSThadeu Lima de Souza Cascardoconfig ACPI_CMPC
565529aa8cbSThadeu Lima de Souza Cascardo	tristate "CMPC Laptop Extras"
566529aa8cbSThadeu Lima de Souza Cascardo	depends on X86 && ACPI
567f35843edSThadeu Lima de Souza Cascardo	depends on RFKILL || RFKILL=n
568529aa8cbSThadeu Lima de Souza Cascardo	select INPUT
569529aa8cbSThadeu Lima de Souza Cascardo	select BACKLIGHT_CLASS_DEVICE
570529aa8cbSThadeu Lima de Souza Cascardo	default n
571529aa8cbSThadeu Lima de Souza Cascardo	help
572529aa8cbSThadeu Lima de Souza Cascardo	  Support for Intel Classmate PC ACPI devices, including some
573529aa8cbSThadeu Lima de Souza Cascardo	  keys as input device, backlight device, tablet and accelerometer
574529aa8cbSThadeu Lima de Souza Cascardo	  devices.
575529aa8cbSThadeu Lima de Souza Cascardo
5769a58a333SSreedhara DSconfig INTEL_SCU_IPC
5779a58a333SSreedhara DS	bool "Intel SCU IPC Support"
5789a58a333SSreedhara DS	depends on X86_MRST
5799a58a333SSreedhara DS	default y
5809a58a333SSreedhara DS	---help---
5819a58a333SSreedhara DS	  IPC is used to bridge the communications between kernel and SCU on
5826c62673cSMatthew Garrett	  some embedded Intel x86 platforms. This is not needed for PC-type
5836c62673cSMatthew Garrett	  machines.
5849a58a333SSreedhara DS
5855369c02dSSreedhara DSconfig INTEL_SCU_IPC_UTIL
5865369c02dSSreedhara DS	tristate "Intel SCU IPC utility driver"
5875369c02dSSreedhara DS	depends on INTEL_SCU_IPC
5885369c02dSSreedhara DS	default y
5895369c02dSSreedhara DS	---help---
5905369c02dSSreedhara DS	  The IPC Util driver provides an interface with the SCU enabling
5915369c02dSSreedhara DS	  low level access for debug work and updating the firmware. Say
5925369c02dSSreedhara DS	  N unless you will be doing this on an Intel MID platform.
5935369c02dSSreedhara DS
59489507787SAlek Duconfig GPIO_INTEL_PMIC
59589507787SAlek Du	bool "Intel PMIC GPIO support"
59689507787SAlek Du	depends on INTEL_SCU_IPC && GPIOLIB
59789507787SAlek Du	---help---
59889507787SAlek Du	  Say Y here to support GPIO via the SCU IPC interface
59989507787SAlek Du	  on Intel MID platforms.
60089507787SAlek Du
601c715a38bSAlan Coxconfig RAR_REGISTER
602c715a38bSAlan Cox	bool "Restricted Access Region Register Driver"
603c715a38bSAlan Cox	depends on PCI && X86_MRST
604c715a38bSAlan Cox	default n
605c715a38bSAlan Cox	---help---
606c715a38bSAlan Cox	  This driver allows other kernel drivers access to the
607c715a38bSAlan Cox	  contents of the restricted access region control registers.
608c715a38bSAlan Cox
609c715a38bSAlan Cox	  The restricted access region control registers
610c715a38bSAlan Cox	  (rar_registers) are used to pass address and
611c715a38bSAlan Cox	  locking information on restricted access regions
612c715a38bSAlan Cox	  to other drivers that use restricted access regions.
613c715a38bSAlan Cox
614c715a38bSAlan Cox	  The restricted access regions are regions of memory
615c715a38bSAlan Cox	  on the Intel MID Platform that are not accessible to
616c715a38bSAlan Cox	  the x86 processor, but are accessible to dedicated
617c715a38bSAlan Cox	  processors on board peripheral devices.
618c715a38bSAlan Cox
619c715a38bSAlan Cox	  The purpose of the restricted access regions is to
620c715a38bSAlan Cox	  protect sensitive data from compromise by unauthorized
621c715a38bSAlan Cox	  programs running on the x86 processor.
622c715a38bSAlan Cox
623aa7ffc01SJesse Barnesconfig INTEL_IPS
624aa7ffc01SJesse Barnes	tristate "Intel Intelligent Power Sharing"
625aa7ffc01SJesse Barnes	depends on ACPI
626aa7ffc01SJesse Barnes	---help---
627aa7ffc01SJesse Barnes	  Intel Calpella platforms support dynamic power sharing between the
628aa7ffc01SJesse Barnes	  CPU and GPU, maximizing performance in a given TDP.  This driver,
629aa7ffc01SJesse Barnes	  along with the CPU frequency and i915 drivers, provides that
630aa7ffc01SJesse Barnes	  functionality.  If in doubt, say Y here; it will only load on
631aa7ffc01SJesse Barnes	  supported platforms.
632aa7ffc01SJesse Barnes
63335f0ce03SVernon Maueryconfig IBM_RTL
63435f0ce03SVernon Mauery	tristate "Device driver to enable PRTL support"
63535f0ce03SVernon Mauery	depends on X86 && PCI
63635f0ce03SVernon Mauery	---help---
63735f0ce03SVernon Mauery	 Enable support for IBM Premium Real Time Mode (PRTM).
63835f0ce03SVernon Mauery	 This module will allow you the enter and exit PRTM in the BIOS via
63935f0ce03SVernon Mauery	 sysfs on platforms that support this feature.  System in PRTM will
64035f0ce03SVernon Mauery	 not receive CPU-generated SMIs for recoverable errors.  Use of this
64135f0ce03SVernon Mauery	 feature without proper support may void your hardware warranty.
64235f0ce03SVernon Mauery
64335f0ce03SVernon Mauery	 If the proper BIOS support is found the driver will load and create
64435f0ce03SVernon Mauery	 /sys/devices/system/ibm_rtl/.  The "state" variable will indicate
64535f0ce03SVernon Mauery	 whether or not the BIOS is in PRTM.
64635f0ce03SVernon Mauery	 state = 0 (BIOS SMIs on)
64735f0ce03SVernon Mauery	 state = 1 (BIOS SMIs off)
64835f0ce03SVernon Mauery
649260586d2SDaniel Drakeconfig XO1_RFKILL
650260586d2SDaniel Drake	tristate "OLPC XO-1 software RF kill switch"
651260586d2SDaniel Drake	depends on OLPC
652260586d2SDaniel Drake	depends on RFKILL
653260586d2SDaniel Drake	---help---
654260586d2SDaniel Drake	  Support for enabling/disabling the WLAN interface on the OLPC XO-1
655260586d2SDaniel Drake	  laptop.
656260586d2SDaniel Drake
65741b16dceSLen Brownendif # X86_PLATFORM_DEVICES
658