Kconfig 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595
  1. #
  2. # X86 Platform Specific Drivers
  3. #
  4. menuconfig X86_PLATFORM_DEVICES
  5. bool "X86 Platform Specific Device Drivers"
  6. default y
  7. depends on X86
  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. If you say N, all options in this submenu will be skipped and disabled.
  13. if X86_PLATFORM_DEVICES
  14. config ACER_WMI
  15. tristate "Acer WMI Laptop Extras"
  16. depends on ACPI
  17. depends on LEDS_CLASS
  18. depends on NEW_LEDS
  19. depends on BACKLIGHT_CLASS_DEVICE
  20. depends on SERIO_I8042
  21. depends on RFKILL || RFKILL = n
  22. select ACPI_WMI
  23. ---help---
  24. This is a driver for newer Acer (and Wistron) laptops. It adds
  25. wireless radio and bluetooth control, and on some laptops,
  26. exposes the mail LED and LCD backlight.
  27. For more information about this driver see
  28. <file:Documentation/laptops/acer-wmi.txt>
  29. If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M
  30. here.
  31. config ACERHDF
  32. tristate "Acer Aspire One temperature and fan driver"
  33. depends on THERMAL && THERMAL_HWMON && ACPI
  34. ---help---
  35. This is a driver for Acer Aspire One netbooks. It allows to access
  36. the temperature sensor and to control the fan.
  37. After loading this driver the BIOS is still in control of the fan.
  38. To let the kernel handle the fan, do:
  39. echo -n enabled > /sys/class/thermal/thermal_zone0/mode
  40. For more information about this driver see
  41. <http://piie.net/files/acerhdf_README.txt>
  42. If you have an Acer Aspire One netbook, say Y or M
  43. here.
  44. config ASUS_LAPTOP
  45. tristate "Asus Laptop Extras"
  46. depends on ACPI
  47. depends on !ACPI_ASUS
  48. select LEDS_CLASS
  49. select NEW_LEDS
  50. select BACKLIGHT_CLASS_DEVICE
  51. depends on INPUT
  52. depends on RFKILL || RFKILL = n
  53. select INPUT_SPARSEKMAP
  54. ---help---
  55. This is the new Linux driver for Asus laptops. It may also support some
  56. MEDION, JVC or VICTOR laptops. It makes all the extra buttons generate
  57. standard ACPI events and input events. It also adds
  58. support for video output switching, LCD backlight control, Bluetooth and
  59. Wlan control, and most importantly, allows you to blink those fancy LEDs.
  60. For more information and a userspace daemon for handling the extra
  61. buttons see <http://acpi4asus.sf.net>.
  62. If you have an ACPI-compatible ASUS laptop, say Y or M here.
  63. config DELL_LAPTOP
  64. tristate "Dell Laptop Extras (EXPERIMENTAL)"
  65. depends on X86
  66. depends on DCDBAS
  67. depends on EXPERIMENTAL
  68. depends on BACKLIGHT_CLASS_DEVICE
  69. depends on RFKILL || RFKILL = n
  70. depends on POWER_SUPPLY
  71. depends on SERIO_I8042
  72. default n
  73. ---help---
  74. This driver adds support for rfkill and backlight control to Dell
  75. laptops.
  76. config DELL_WMI
  77. tristate "Dell WMI extras"
  78. depends on ACPI_WMI
  79. depends on INPUT
  80. ---help---
  81. Say Y here if you want to support WMI-based hotkeys on Dell laptops.
  82. To compile this driver as a module, choose M here: the module will
  83. be called dell-wmi.
  84. config FUJITSU_LAPTOP
  85. tristate "Fujitsu Laptop Extras"
  86. depends on ACPI
  87. depends on INPUT
  88. depends on BACKLIGHT_CLASS_DEVICE
  89. depends on LEDS_CLASS || LEDS_CLASS=n
  90. ---help---
  91. This is a driver for laptops built by Fujitsu:
  92. * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks
  93. * Possibly other Fujitsu laptop models
  94. * Tested with S6410 and S7020
  95. It adds support for LCD brightness control and some hotkeys.
  96. If you have a Fujitsu laptop, say Y or M here.
  97. config FUJITSU_LAPTOP_DEBUG
  98. bool "Verbose debug mode for Fujitsu Laptop Extras"
  99. depends on FUJITSU_LAPTOP
  100. default n
  101. ---help---
  102. Enables extra debug output from the fujitsu extras driver, at the
  103. expense of a slight increase in driver size.
  104. If you are not sure, say N here.
  105. config TC1100_WMI
  106. tristate "HP Compaq TC1100 Tablet WMI Extras (EXPERIMENTAL)"
  107. depends on !X86_64
  108. depends on EXPERIMENTAL
  109. depends on ACPI
  110. select ACPI_WMI
  111. ---help---
  112. This is a driver for the WMI extensions (wireless and bluetooth power
  113. control) of the HP Compaq TC1100 tablet.
  114. config HP_WMI
  115. tristate "HP WMI extras"
  116. depends on ACPI_WMI
  117. depends on INPUT
  118. depends on RFKILL || RFKILL = n
  119. help
  120. Say Y here if you want to support WMI-based hotkeys on HP laptops and
  121. to read data from WMI such as docking or ambient light sensor state.
  122. To compile this driver as a module, choose M here: the module will
  123. be called hp-wmi.
  124. config MSI_LAPTOP
  125. tristate "MSI Laptop Extras"
  126. depends on ACPI
  127. depends on BACKLIGHT_CLASS_DEVICE
  128. depends on RFKILL
  129. depends on SERIO_I8042
  130. ---help---
  131. This is a driver for laptops built by MSI (MICRO-STAR
  132. INTERNATIONAL):
  133. MSI MegaBook S270 (MS-1013)
  134. Cytron/TCM/Medion/Tchibo MD96100/SAM2000
  135. It adds support for Bluetooth, WLAN and LCD brightness control.
  136. More information about this driver is available at
  137. <http://0pointer.de/lennart/tchibo.html>.
  138. If you have an MSI S270 laptop, say Y or M here.
  139. config PANASONIC_LAPTOP
  140. tristate "Panasonic Laptop Extras"
  141. depends on INPUT && ACPI
  142. depends on BACKLIGHT_CLASS_DEVICE
  143. select INPUT_SPARSEKMAP
  144. ---help---
  145. This driver adds support for access to backlight control and hotkeys
  146. on Panasonic Let's Note laptops.
  147. If you have a Panasonic Let's note laptop (such as the R1(N variant),
  148. R2, R3, R5, T2, W2 and Y2 series), say Y.
  149. config COMPAL_LAPTOP
  150. tristate "Compal Laptop Extras"
  151. depends on ACPI
  152. depends on BACKLIGHT_CLASS_DEVICE
  153. depends on RFKILL
  154. depends on HWMON
  155. depends on POWER_SUPPLY
  156. ---help---
  157. This is a driver for laptops built by Compal:
  158. Compal FL90/IFL90
  159. Compal FL91/IFL91
  160. Compal FL92/JFL92
  161. Compal FT00/IFT00
  162. It adds support for Bluetooth, WLAN and LCD brightness control.
  163. If you have an Compal FL9x/IFL9x/FT00 laptop, say Y or M here.
  164. config SONY_LAPTOP
  165. tristate "Sony Laptop Extras"
  166. depends on ACPI
  167. select BACKLIGHT_CLASS_DEVICE
  168. depends on INPUT
  169. depends on RFKILL
  170. ---help---
  171. This mini-driver drives the SNC and SPIC devices present in the ACPI
  172. BIOS of the Sony Vaio laptops.
  173. It gives access to some extra laptop functionalities like Bluetooth,
  174. screen brightness control, Fn keys and allows powering on/off some
  175. devices.
  176. Read <file:Documentation/laptops/sony-laptop.txt> for more information.
  177. config SONYPI_COMPAT
  178. bool "Sonypi compatibility"
  179. depends on SONY_LAPTOP
  180. ---help---
  181. Build the sonypi driver compatibility code into the sony-laptop driver.
  182. config IDEAPAD_ACPI
  183. tristate "Lenovo IdeaPad ACPI Laptop Extras"
  184. depends on ACPI
  185. depends on RFKILL
  186. help
  187. This is a driver for the rfkill switches on Lenovo IdeaPad netbooks.
  188. config THINKPAD_ACPI
  189. tristate "ThinkPad ACPI Laptop Extras"
  190. depends on ACPI
  191. depends on INPUT
  192. depends on RFKILL || RFKILL = n
  193. select BACKLIGHT_LCD_SUPPORT
  194. select BACKLIGHT_CLASS_DEVICE
  195. select HWMON
  196. select NVRAM
  197. select NEW_LEDS
  198. select LEDS_CLASS
  199. ---help---
  200. This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
  201. support for Fn-Fx key combinations, Bluetooth control, video
  202. output switching, ThinkLight control, UltraBay eject and more.
  203. For more information about this driver see
  204. <file:Documentation/laptops/thinkpad-acpi.txt> and
  205. <http://ibm-acpi.sf.net/> .
  206. This driver was formerly known as ibm-acpi.
  207. Extra functionality will be available if the rfkill (CONFIG_RFKILL)
  208. and/or ALSA (CONFIG_SND) subsystems are available in the kernel.
  209. Note that if you want ThinkPad-ACPI to be built-in instead of
  210. modular, ALSA and rfkill will also have to be built-in.
  211. If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
  212. config THINKPAD_ACPI_ALSA_SUPPORT
  213. bool "Console audio control ALSA interface"
  214. depends on THINKPAD_ACPI
  215. depends on SND
  216. depends on SND = y || THINKPAD_ACPI = SND
  217. default y
  218. ---help---
  219. Enables monitoring of the built-in console audio output control
  220. (headphone and speakers), which is operated by the mute and (in
  221. some ThinkPad models) volume hotkeys.
  222. If this option is enabled, ThinkPad-ACPI will export an ALSA card
  223. with a single read-only mixer control, which should be used for
  224. on-screen-display feedback purposes by the Desktop Environment.
  225. Optionally, the driver will also allow software control (the
  226. ALSA mixer will be made read-write). Please refer to the driver
  227. documentation for details.
  228. All IBM models have both volume and mute control. Newer Lenovo
  229. models only have mute control (the volume hotkeys are just normal
  230. keys and volume control is done through the main HDA mixer).
  231. config THINKPAD_ACPI_DEBUGFACILITIES
  232. bool "Maintainer debug facilities"
  233. depends on THINKPAD_ACPI
  234. default n
  235. ---help---
  236. Enables extra stuff in the thinkpad-acpi which is completely useless
  237. for normal use. Read the driver source to find out what it does.
  238. Say N here, unless you were told by a kernel maintainer to do
  239. otherwise.
  240. config THINKPAD_ACPI_DEBUG
  241. bool "Verbose debug mode"
  242. depends on THINKPAD_ACPI
  243. default n
  244. ---help---
  245. Enables extra debugging information, at the expense of a slightly
  246. increase in driver size.
  247. If you are not sure, say N here.
  248. config THINKPAD_ACPI_UNSAFE_LEDS
  249. bool "Allow control of important LEDs (unsafe)"
  250. depends on THINKPAD_ACPI
  251. default n
  252. ---help---
  253. Overriding LED state on ThinkPads can mask important
  254. firmware alerts (like critical battery condition), or misled
  255. the user into damaging the hardware (undocking or ejecting
  256. the bay while buses are still active), etc.
  257. LED control on the ThinkPad is write-only (with very few
  258. exceptions on very ancient models), which makes it
  259. impossible to know beforehand if important information will
  260. be lost when one changes LED state.
  261. Users that know what they are doing can enable this option
  262. and the driver will allow control of every LED, including
  263. the ones on the dock stations.
  264. Never enable this option on a distribution kernel.
  265. Say N here, unless you are building a kernel for your own
  266. use, and need to control the important firmware LEDs.
  267. config THINKPAD_ACPI_VIDEO
  268. bool "Video output control support"
  269. depends on THINKPAD_ACPI
  270. default y
  271. ---help---
  272. Allows the thinkpad_acpi driver to provide an interface to control
  273. the various video output ports.
  274. This feature often won't work well, depending on ThinkPad model,
  275. display state, video output devices in use, whether there is a X
  276. server running, phase of the moon, and the current mood of
  277. Schroedinger's cat. If you can use X.org's RandR to control
  278. your ThinkPad's video output ports instead of this feature,
  279. don't think twice: do it and say N here to save memory and avoid
  280. bad interactions with X.org.
  281. NOTE: access to this feature is limited to processes with the
  282. CAP_SYS_ADMIN capability, to avoid local DoS issues in platforms
  283. where it interacts badly with X.org.
  284. If you are not sure, say Y here but do try to check if you could
  285. be using X.org RandR instead.
  286. config THINKPAD_ACPI_HOTKEY_POLL
  287. bool "Support NVRAM polling for hot keys"
  288. depends on THINKPAD_ACPI
  289. default y
  290. ---help---
  291. Some thinkpad models benefit from NVRAM polling to detect a few of
  292. the hot key press events. If you know your ThinkPad model does not
  293. need to do NVRAM polling to support any of the hot keys you use,
  294. unselecting this option will save about 1kB of memory.
  295. ThinkPads T40 and newer, R52 and newer, and X31 and newer are
  296. unlikely to need NVRAM polling in their latest BIOS versions.
  297. NVRAM polling can detect at most the following keys: ThinkPad/Access
  298. IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
  299. Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
  300. If you are not sure, say Y here. The driver enables polling only if
  301. it is strictly necessary to do so.
  302. config INTEL_MENLOW
  303. tristate "Thermal Management driver for Intel menlow platform"
  304. depends on ACPI_THERMAL
  305. select THERMAL
  306. ---help---
  307. ACPI thermal management enhancement driver on
  308. Intel Menlow platform.
  309. If unsure, say N.
  310. config EEEPC_LAPTOP
  311. tristate "Eee PC Hotkey Driver (EXPERIMENTAL)"
  312. depends on ACPI
  313. depends on INPUT
  314. depends on EXPERIMENTAL
  315. depends on RFKILL || RFKILL = n
  316. depends on HOTPLUG_PCI
  317. select BACKLIGHT_CLASS_DEVICE
  318. select HWMON
  319. select LEDS_CLASS
  320. select NEW_LEDS
  321. select INPUT_SPARSEKMAP
  322. ---help---
  323. This driver supports the Fn-Fx keys on Eee PC laptops.
  324. It also gives access to some extra laptop functionalities like
  325. Bluetooth, backlight and allows powering on/off some other
  326. devices.
  327. If you have an Eee PC laptop, say Y or M here.
  328. config EEEPC_WMI
  329. tristate "Eee PC WMI Hotkey Driver (EXPERIMENTAL)"
  330. depends on ACPI_WMI
  331. depends on INPUT
  332. depends on EXPERIMENTAL
  333. depends on BACKLIGHT_CLASS_DEVICE
  334. select INPUT_SPARSEKMAP
  335. ---help---
  336. Say Y here if you want to support WMI-based hotkeys on Eee PC laptops.
  337. To compile this driver as a module, choose M here: the module will
  338. be called eeepc-wmi.
  339. config ACPI_WMI
  340. tristate "WMI"
  341. depends on ACPI
  342. help
  343. This driver adds support for the ACPI-WMI (Windows Management
  344. Instrumentation) mapper device (PNP0C14) found on some systems.
  345. ACPI-WMI is a proprietary extension to ACPI to expose parts of the
  346. ACPI firmware to userspace - this is done through various vendor
  347. defined methods and data blocks in a PNP0C14 device, which are then
  348. made available for userspace to call.
  349. The implementation of this in Linux currently only exposes this to
  350. other kernel space drivers.
  351. This driver is a required dependency to build the firmware specific
  352. drivers needed on many machines, including Acer and HP laptops.
  353. It is safe to enable this driver even if your DSDT doesn't define
  354. any ACPI-WMI devices.
  355. config MSI_WMI
  356. tristate "MSI WMI extras"
  357. depends on ACPI_WMI
  358. depends on INPUT
  359. depends on BACKLIGHT_CLASS_DEVICE
  360. select INPUT_SPARSEKMAP
  361. help
  362. Say Y here if you want to support WMI-based hotkeys on MSI laptops.
  363. To compile this driver as a module, choose M here: the module will
  364. be called msi-wmi.
  365. config ACPI_ASUS
  366. tristate "ASUS/Medion Laptop Extras (DEPRECATED)"
  367. depends on ACPI
  368. select BACKLIGHT_CLASS_DEVICE
  369. ---help---
  370. This driver provides support for extra features of ACPI-compatible
  371. ASUS laptops. As some of Medion laptops are made by ASUS, it may also
  372. support some Medion laptops (such as 9675 for example). It makes all
  373. the extra buttons generate standard ACPI events that go through
  374. /proc/acpi/events, and (on some models) adds support for changing the
  375. display brightness and output, switching the LCD backlight on and off,
  376. and most importantly, allows you to blink those fancy LEDs intended
  377. for reporting mail and wireless status.
  378. Note: display switching code is currently considered EXPERIMENTAL,
  379. toying with these values may even lock your machine.
  380. All settings are changed via /proc/acpi/asus directory entries. Owner
  381. and group for these entries can be set with asus_uid and asus_gid
  382. parameters.
  383. More information and a userspace daemon for handling the extra buttons
  384. at <http://acpi4asus.sf.net>.
  385. If you have an ACPI-compatible ASUS laptop, say Y or M here. This
  386. driver is still under development, so if your laptop is unsupported or
  387. something works not quite as expected, please use the mailing list
  388. available on the above page (acpi4asus-user@lists.sourceforge.net).
  389. NOTE: This driver is deprecated and will probably be removed soon,
  390. use asus-laptop instead.
  391. config TOPSTAR_LAPTOP
  392. tristate "Topstar Laptop Extras"
  393. depends on ACPI
  394. depends on INPUT
  395. select INPUT_SPARSEKMAP
  396. ---help---
  397. This driver adds support for hotkeys found on Topstar laptops.
  398. If you have a Topstar laptop, say Y or M here.
  399. config ACPI_TOSHIBA
  400. tristate "Toshiba Laptop Extras"
  401. depends on ACPI
  402. depends on LEDS_CLASS
  403. depends on NEW_LEDS
  404. depends on BACKLIGHT_CLASS_DEVICE
  405. depends on INPUT
  406. depends on RFKILL || RFKILL = n
  407. select INPUT_POLLDEV
  408. ---help---
  409. This driver adds support for access to certain system settings
  410. on "legacy free" Toshiba laptops. These laptops can be recognized by
  411. their lack of a BIOS setup menu and APM support.
  412. On these machines, all system configuration is handled through the
  413. ACPI. This driver is required for access to controls not covered
  414. by the general ACPI drivers, such as LCD brightness, video output,
  415. etc.
  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. More information about this driver is available at
  423. <http://memebeam.org/toys/ToshibaAcpiDriver>.
  424. If you have a legacy free Toshiba laptop (such as the Libretto L1
  425. series), say Y.
  426. config TOSHIBA_BT_RFKILL
  427. tristate "Toshiba Bluetooth RFKill switch support"
  428. depends on ACPI
  429. ---help---
  430. This driver adds support for Bluetooth events for the RFKill
  431. switch on modern Toshiba laptops with full ACPI support and
  432. an RFKill switch.
  433. This driver handles RFKill events for the TOS6205 Bluetooth,
  434. and re-enables it when the switch is set back to the 'on'
  435. position.
  436. If you have a modern Toshiba laptop with a Bluetooth and an
  437. RFKill switch (such as the Portege R500), say Y.
  438. config ACPI_CMPC
  439. tristate "CMPC Laptop Extras"
  440. depends on X86 && ACPI
  441. depends on RFKILL || RFKILL=n
  442. select INPUT
  443. select BACKLIGHT_CLASS_DEVICE
  444. default n
  445. help
  446. Support for Intel Classmate PC ACPI devices, including some
  447. keys as input device, backlight device, tablet and accelerometer
  448. devices.
  449. config INTEL_SCU_IPC
  450. bool "Intel SCU IPC Support"
  451. depends on X86_MRST
  452. default y
  453. ---help---
  454. IPC is used to bridge the communications between kernel and SCU on
  455. some embedded Intel x86 platforms. This is not needed for PC-type
  456. machines.
  457. config GPIO_INTEL_PMIC
  458. bool "Intel PMIC GPIO support"
  459. depends on INTEL_SCU_IPC && GPIOLIB
  460. ---help---
  461. Say Y here to support GPIO via the SCU IPC interface
  462. on Intel MID platforms.
  463. config RAR_REGISTER
  464. bool "Restricted Access Region Register Driver"
  465. depends on PCI && X86_MRST
  466. default n
  467. ---help---
  468. This driver allows other kernel drivers access to the
  469. contents of the restricted access region control registers.
  470. The restricted access region control registers
  471. (rar_registers) are used to pass address and
  472. locking information on restricted access regions
  473. to other drivers that use restricted access regions.
  474. The restricted access regions are regions of memory
  475. on the Intel MID Platform that are not accessible to
  476. the x86 processor, but are accessible to dedicated
  477. processors on board peripheral devices.
  478. The purpose of the restricted access regions is to
  479. protect sensitive data from compromise by unauthorized
  480. programs running on the x86 processor.
  481. config INTEL_IPS
  482. tristate "Intel Intelligent Power Sharing"
  483. depends on ACPI
  484. ---help---
  485. Intel Calpella platforms support dynamic power sharing between the
  486. CPU and GPU, maximizing performance in a given TDP. This driver,
  487. along with the CPU frequency and i915 drivers, provides that
  488. functionality. If in doubt, say Y here; it will only load on
  489. supported platforms.
  490. endif # X86_PLATFORM_DEVICES