xref: /openbmc/linux/drivers/platform/x86/Kconfig (revision 7156fc29)
1#
2# X86 Platform Specific Drivers
3#
4
5menuconfig X86_PLATFORM_DEVICES
6	bool "X86 Platform Specific Device Drivers"
7	default y
8	depends on X86
9	---help---
10	  Say Y here to get to see options for device drivers for various
11	  x86 platforms, including vendor-specific laptop extension drivers.
12	  This option alone does not add any kernel code.
13
14	  If you say N, all options in this submenu will be skipped and disabled.
15
16if X86_PLATFORM_DEVICES
17
18config ACER_WMI
19	tristate "Acer WMI Laptop Extras"
20	depends on ACPI
21	select LEDS_CLASS
22	select NEW_LEDS
23	depends on BACKLIGHT_CLASS_DEVICE
24	depends on SERIO_I8042
25	depends on INPUT
26	depends on RFKILL || RFKILL = n
27	depends on ACPI_WMI
28	select INPUT_SPARSEKMAP
29	# Acer WMI depends on ACPI_VIDEO when ACPI is enabled
30        select ACPI_VIDEO if ACPI
31	---help---
32	  This is a driver for newer Acer (and Wistron) laptops. It adds
33	  wireless radio and bluetooth control, and on some laptops,
34	  exposes the mail LED and LCD backlight.
35
36	  If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M
37	  here.
38
39config ACER_WIRELESS
40        tristate "Acer Wireless Radio Control Driver"
41        depends on ACPI
42        depends on INPUT
43        ---help---
44          The Acer Wireless Radio Control handles the airplane mode hotkey
45          present on new Acer laptops.
46
47          Say Y or M here if you have an Acer notebook with an airplane mode
48          hotkey.
49
50          If you choose to compile this driver as a module the module will be
51          called acer-wireless.
52
53config ACERHDF
54	tristate "Acer Aspire One temperature and fan driver"
55	depends on ACPI && THERMAL
56	select THERMAL_GOV_BANG_BANG
57	---help---
58	  This is a driver for Acer Aspire One netbooks. It allows to access
59	  the temperature sensor and to control the fan.
60
61	  After loading this driver the BIOS is still in control of the fan.
62	  To let the kernel handle the fan, do:
63	  echo -n enabled > /sys/class/thermal/thermal_zone0/mode
64
65	  For more information about this driver see
66	  <http://piie.net/files/acerhdf_README.txt>
67
68	  If you have an Acer Aspire One netbook, say Y or M
69	  here.
70
71config ALIENWARE_WMI
72	tristate "Alienware Special feature control"
73	depends on ACPI
74	depends on LEDS_CLASS
75	depends on NEW_LEDS
76	depends on ACPI_WMI
77	---help---
78	 This is a driver for controlling Alienware BIOS driven
79	 features.  It exposes an interface for controlling the AlienFX
80	 zones on Alienware machines that don't contain a dedicated AlienFX
81	 USB MCU such as the X51 and X51-R2.
82
83config ASUS_LAPTOP
84	tristate "Asus Laptop Extras"
85	depends on ACPI
86	select LEDS_CLASS
87	select NEW_LEDS
88	depends on BACKLIGHT_CLASS_DEVICE
89	depends on INPUT
90	depends on RFKILL || RFKILL = n
91	depends on ACPI_VIDEO || ACPI_VIDEO = n
92	select INPUT_SPARSEKMAP
93	select INPUT_POLLDEV
94	---help---
95	  This is a driver for Asus laptops, Lenovo SL and the Pegatron
96	  Lucid tablet. It may also support some MEDION, JVC or VICTOR
97	  laptops. It makes all the extra buttons generate standard
98	  ACPI events and input events, and on the Lucid the built-in
99	  accelerometer appears as an input device.  It also adds
100	  support for video output switching, LCD backlight control,
101	  Bluetooth and Wlan control, and most importantly, allows you
102	  to blink those fancy LEDs.
103
104	  For more information see <http://acpi4asus.sf.net>.
105
106	  If you have an ACPI-compatible ASUS laptop, say Y or M here.
107
108#
109# The DELL_SMBIOS driver depends on ACPI_WMI and/or DCDBAS if those
110# backends are selected. The "depends" line prevents a configuration
111# where DELL_SMBIOS=y while either of those dependencies =m.
112#
113config DELL_SMBIOS
114	tristate "Dell SMBIOS driver"
115	depends on DCDBAS || DCDBAS=n
116	depends on ACPI_WMI || ACPI_WMI=n
117	---help---
118	This provides support for the Dell SMBIOS calling interface.
119	If you have a Dell computer you should enable this option.
120
121	Be sure to select at least one backend for it to work properly.
122
123config DELL_SMBIOS_WMI
124	bool "Dell SMBIOS driver WMI backend"
125	default y
126	depends on ACPI_WMI
127	select DELL_WMI_DESCRIPTOR
128	depends on DELL_SMBIOS
129	---help---
130	This provides an implementation for the Dell SMBIOS calling interface
131	communicated over ACPI-WMI.
132
133	If you have a Dell computer from >2007 you should say Y here.
134	If you aren't sure and this module doesn't work for your computer
135	it just won't load.
136
137config DELL_SMBIOS_SMM
138	bool "Dell SMBIOS driver SMM backend"
139	default y
140	depends on DCDBAS
141	depends on DELL_SMBIOS
142	---help---
143	This provides an implementation for the Dell SMBIOS calling interface
144	communicated over SMI/SMM.
145
146	If you have a Dell computer from <=2017 you should say Y here.
147	If you aren't sure and this module doesn't work for your computer
148	it just won't load.
149
150config DELL_LAPTOP
151	tristate "Dell Laptop Extras"
152	depends on DMI
153	depends on BACKLIGHT_CLASS_DEVICE
154	depends on ACPI_VIDEO || ACPI_VIDEO = n
155	depends on RFKILL || RFKILL = n
156	depends on SERIO_I8042
157	select DELL_SMBIOS
158	select POWER_SUPPLY
159	select LEDS_CLASS
160	select NEW_LEDS
161	---help---
162	This driver adds support for rfkill and backlight control to Dell
163	laptops (except for some models covered by the Compal driver).
164
165config DELL_WMI
166	tristate "Dell WMI notifications"
167	depends on ACPI_WMI
168	depends on DMI
169	depends on INPUT
170	depends on ACPI_VIDEO || ACPI_VIDEO = n
171	select DELL_WMI_DESCRIPTOR
172	select DELL_SMBIOS
173	select INPUT_SPARSEKMAP
174	---help---
175	  Say Y here if you want to support WMI-based hotkeys on Dell laptops.
176
177	  To compile this driver as a module, choose M here: the module will
178	  be called dell-wmi.
179
180config DELL_WMI_DESCRIPTOR
181	tristate
182	depends on ACPI_WMI
183
184config DELL_WMI_AIO
185	tristate "WMI Hotkeys for Dell All-In-One series"
186	depends on ACPI_WMI
187	depends on INPUT
188	select INPUT_SPARSEKMAP
189	---help---
190	  Say Y here if you want to support WMI-based hotkeys on Dell
191	  All-In-One machines.
192
193	  To compile this driver as a module, choose M here: the module will
194	  be called dell-wmi-aio.
195
196config DELL_WMI_LED
197	tristate "External LED on Dell Business Netbooks"
198	depends on LEDS_CLASS
199	depends on ACPI_WMI
200	help
201	  This adds support for the Latitude 2100 and similar
202	  notebooks that have an external LED.
203
204config DELL_SMO8800
205	tristate "Dell Latitude freefall driver (ACPI SMO88XX)"
206	depends on ACPI
207	---help---
208	  Say Y here if you want to support SMO88XX freefall devices
209	  on Dell Latitude laptops.
210
211	  To compile this driver as a module, choose M here: the module will
212	  be called dell-smo8800.
213
214config DELL_RBTN
215	tristate "Dell Airplane Mode Switch driver"
216	depends on ACPI
217	depends on INPUT
218	depends on RFKILL
219	---help---
220	  Say Y here if you want to support Dell Airplane Mode Switch ACPI
221	  device on Dell laptops. Sometimes it has names: DELLABCE or DELRBTN.
222	  This driver register rfkill device or input hotkey device depending
223	  on hardware type (hw switch slider or keyboard toggle button). For
224	  rfkill devices it receive HW switch events and set correct hard
225	  rfkill state.
226
227	  To compile this driver as a module, choose M here: the module will
228	  be called dell-rbtn.
229
230
231config FUJITSU_LAPTOP
232	tristate "Fujitsu Laptop Extras"
233	depends on ACPI
234	depends on INPUT
235	depends on BACKLIGHT_CLASS_DEVICE
236	depends on ACPI_VIDEO || ACPI_VIDEO = n
237	select INPUT_SPARSEKMAP
238	select LEDS_CLASS
239	---help---
240	  This is a driver for laptops built by Fujitsu:
241
242	    * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks
243	    * Possibly other Fujitsu laptop models
244	    * Tested with S6410 and S7020
245
246	  It adds support for LCD brightness control and some hotkeys.
247
248	  If you have a Fujitsu laptop, say Y or M here.
249
250config FUJITSU_TABLET
251       tristate "Fujitsu Tablet Extras"
252       depends on ACPI
253       depends on INPUT
254       ---help---
255         This is a driver for tablets built by Fujitsu:
256
257           * Lifebook P1510/P1610/P1620/Txxxx
258           * Stylistic ST5xxx
259           * Possibly other Fujitsu tablet models
260
261         It adds support for the panel buttons, docking station detection,
262         tablet/notebook mode detection for convertible and
263         orientation detection for docked slates.
264
265         If you have a Fujitsu convertible or slate, say Y or M here.
266
267config AMILO_RFKILL
268	tristate "Fujitsu-Siemens Amilo rfkill support"
269	depends on RFKILL
270	depends on SERIO_I8042
271	---help---
272	  This is a driver for enabling wifi on some Fujitsu-Siemens Amilo
273	  laptops.
274
275config GPD_POCKET_FAN
276	tristate "GPD Pocket Fan Controller support"
277	depends on ACPI
278	depends on THERMAL
279	---help---
280	  Driver for the GPD Pocket vendor specific FAN02501 ACPI device
281	  which controls the fan speed on the GPD Pocket.
282
283	  Without this driver the fan on the Pocket will stay off independent
284	  of the CPU temperature. Say Y or M if the kernel may be used on a
285	  GPD pocket.
286
287config TC1100_WMI
288	tristate "HP Compaq TC1100 Tablet WMI Extras"
289	depends on !X86_64
290	depends on ACPI
291	depends on ACPI_WMI
292	---help---
293	  This is a driver for the WMI extensions (wireless and bluetooth power
294	  control) of the HP Compaq TC1100 tablet.
295
296config HP_ACCEL
297	tristate "HP laptop accelerometer"
298	depends on INPUT && ACPI
299	depends on SERIO_I8042
300	select SENSORS_LIS3LV02D
301	select NEW_LEDS
302	select LEDS_CLASS
303	help
304	  This driver provides support for the "Mobile Data Protection System 3D"
305	  or "3D DriveGuard" feature of HP laptops. On such systems the driver
306	  should load automatically (via ACPI alias).
307
308	  Support for a led indicating disk protection will be provided as
309	  hp::hddprotect. For more information on the feature, refer to
310	  Documentation/misc-devices/lis3lv02d.
311
312	  To compile this driver as a module, choose M here: the module will
313	  be called hp_accel.
314
315config HP_WIRELESS
316	tristate "HP wireless button"
317	depends on ACPI
318	depends on INPUT
319	help
320	 This driver provides supports for new HP wireless button for Windows 8.
321	 On such systems the driver should load automatically (via ACPI alias).
322
323	 To compile this driver as a module, choose M here: the module will
324	 be called hp-wireless.
325
326config HP_WMI
327	tristate "HP WMI extras"
328	depends on ACPI_WMI
329	depends on INPUT
330	depends on RFKILL || RFKILL = n
331	select INPUT_SPARSEKMAP
332	help
333	 Say Y here if you want to support WMI-based hotkeys on HP laptops and
334	 to read data from WMI such as docking or ambient light sensor state.
335
336	 To compile this driver as a module, choose M here: the module will
337	 be called hp-wmi.
338
339config MSI_LAPTOP
340	tristate "MSI Laptop Extras"
341	depends on ACPI
342	depends on BACKLIGHT_CLASS_DEVICE
343	depends on ACPI_VIDEO || ACPI_VIDEO = n
344	depends on RFKILL
345	depends on INPUT && SERIO_I8042
346	select INPUT_SPARSEKMAP
347	---help---
348	  This is a driver for laptops built by MSI (MICRO-STAR
349	  INTERNATIONAL):
350
351	  MSI MegaBook S270 (MS-1013)
352	  Cytron/TCM/Medion/Tchibo MD96100/SAM2000
353
354	  It adds support for Bluetooth, WLAN and LCD brightness control.
355
356	  More information about this driver is available at
357	  <http://0pointer.de/lennart/tchibo.html>.
358
359	  If you have an MSI S270 laptop, say Y or M here.
360
361config PANASONIC_LAPTOP
362	tristate "Panasonic Laptop Extras"
363	depends on INPUT && ACPI
364	depends on BACKLIGHT_CLASS_DEVICE
365	select INPUT_SPARSEKMAP
366	---help---
367	  This driver adds support for access to backlight control and hotkeys
368	  on Panasonic Let's Note laptops.
369
370	  If you have a Panasonic Let's note laptop (such as the R1(N variant),
371	  R2, R3, R5, T2, W2 and Y2 series), say Y.
372
373config COMPAL_LAPTOP
374	tristate "Compal (and others) Laptop Extras"
375	depends on ACPI
376	depends on BACKLIGHT_CLASS_DEVICE
377	depends on ACPI_VIDEO || ACPI_VIDEO = n
378	depends on RFKILL
379	depends on HWMON
380	depends on POWER_SUPPLY
381	---help---
382	  This is a driver for laptops built by Compal, and some models by
383	  other brands (e.g. Dell, Toshiba).
384
385	  It adds support for rfkill, Bluetooth, WLAN, LCD brightness, hwmon
386	  and battery charging level control.
387
388	  For a (possibly incomplete) list of supported laptops, please refer
389	  to: Documentation/platform/x86-laptop-drivers.txt
390
391config SONY_LAPTOP
392	tristate "Sony Laptop Extras"
393	depends on ACPI
394	depends on ACPI_VIDEO || ACPI_VIDEO = n
395	depends on BACKLIGHT_CLASS_DEVICE
396	depends on INPUT
397	depends on RFKILL
398	  ---help---
399	  This mini-driver drives the SNC and SPIC devices present in the ACPI
400	  BIOS of the Sony Vaio laptops.
401
402	  It gives access to some extra laptop functionalities like Bluetooth,
403	  screen brightness control, Fn keys and allows powering on/off some
404	  devices.
405
406	  Read <file:Documentation/laptops/sony-laptop.txt> for more information.
407
408config SONYPI_COMPAT
409	bool "Sonypi compatibility"
410	depends on SONY_LAPTOP
411	  ---help---
412	  Build the sonypi driver compatibility code into the sony-laptop driver.
413
414config IDEAPAD_LAPTOP
415	tristate "Lenovo IdeaPad Laptop Extras"
416	depends on ACPI
417	depends on RFKILL && INPUT
418	depends on SERIO_I8042
419	depends on BACKLIGHT_CLASS_DEVICE
420	depends on ACPI_VIDEO || ACPI_VIDEO = n
421	depends on ACPI_WMI || ACPI_WMI = n
422	select INPUT_SPARSEKMAP
423	help
424	  This is a driver for Lenovo IdeaPad netbooks contains drivers for
425	  rfkill switch, hotkey, fan control and backlight control.
426
427config SURFACE3_WMI
428	tristate "Surface 3 WMI Driver"
429	depends on ACPI_WMI
430	depends on DMI
431	depends on INPUT
432	depends on SPI
433	---help---
434	  Say Y here if you have a Surface 3.
435
436	  To compile this driver as a module, choose M here: the module will
437	  be called surface3-wmi.
438
439config THINKPAD_ACPI
440	tristate "ThinkPad ACPI Laptop Extras"
441	depends on ACPI
442	depends on ACPI_BATTERY
443	depends on INPUT
444	depends on RFKILL || RFKILL = n
445	depends on ACPI_VIDEO || ACPI_VIDEO = n
446	depends on BACKLIGHT_CLASS_DEVICE
447	select HWMON
448	select NVRAM
449	select NEW_LEDS
450	select LEDS_CLASS
451	---help---
452	  This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
453	  support for Fn-Fx key combinations, Bluetooth control, video
454	  output switching, ThinkLight control, UltraBay eject and more.
455	  For more information about this driver see
456	  <file:Documentation/laptops/thinkpad-acpi.txt> and
457	  <http://ibm-acpi.sf.net/> .
458
459	  This driver was formerly known as ibm-acpi.
460
461	  Extra functionality will be available if the rfkill (CONFIG_RFKILL)
462	  and/or ALSA (CONFIG_SND) subsystems are available in the kernel.
463	  Note that if you want ThinkPad-ACPI to be built-in instead of
464	  modular, ALSA and rfkill will also have to be built-in.
465
466	  If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
467
468config THINKPAD_ACPI_ALSA_SUPPORT
469	bool "Console audio control ALSA interface"
470	depends on THINKPAD_ACPI
471	depends on SND
472	depends on SND = y || THINKPAD_ACPI = SND
473	default y
474	---help---
475	  Enables monitoring of the built-in console audio output control
476	  (headphone and speakers), which is operated by the mute and (in
477	  some ThinkPad models) volume hotkeys.
478
479	  If this option is enabled, ThinkPad-ACPI will export an ALSA card
480	  with a single read-only mixer control, which should be used for
481	  on-screen-display feedback purposes by the Desktop Environment.
482
483	  Optionally, the driver will also allow software control (the
484	  ALSA mixer will be made read-write).  Please refer to the driver
485	  documentation for details.
486
487	  All IBM models have both volume and mute control.  Newer Lenovo
488	  models only have mute control (the volume hotkeys are just normal
489	  keys and volume control is done through the main HDA mixer).
490
491config THINKPAD_ACPI_DEBUGFACILITIES
492	bool "Maintainer debug facilities"
493	depends on THINKPAD_ACPI
494	---help---
495	  Enables extra stuff in the thinkpad-acpi which is completely useless
496	  for normal use.  Read the driver source to find out what it does.
497
498	  Say N here, unless you were told by a kernel maintainer to do
499	  otherwise.
500
501config THINKPAD_ACPI_DEBUG
502	bool "Verbose debug mode"
503	depends on THINKPAD_ACPI
504	---help---
505	  Enables extra debugging information, at the expense of a slightly
506	  increase in driver size.
507
508	  If you are not sure, say N here.
509
510config THINKPAD_ACPI_UNSAFE_LEDS
511	bool "Allow control of important LEDs (unsafe)"
512	depends on THINKPAD_ACPI
513	---help---
514	  Overriding LED state on ThinkPads can mask important
515	  firmware alerts (like critical battery condition), or misled
516	  the user into damaging the hardware (undocking or ejecting
517	  the bay while buses are still active), etc.
518
519	  LED control on the ThinkPad is write-only (with very few
520	  exceptions on very ancient models), which makes it
521	  impossible to know beforehand if important information will
522	  be lost when one changes LED state.
523
524	  Users that know what they are doing can enable this option
525	  and the driver will allow control of every LED, including
526	  the ones on the dock stations.
527
528	  Never enable this option on a distribution kernel.
529
530	  Say N here, unless you are building a kernel for your own
531	  use, and need to control the important firmware LEDs.
532
533config THINKPAD_ACPI_VIDEO
534	bool "Video output control support"
535	depends on THINKPAD_ACPI
536	default y
537	---help---
538	  Allows the thinkpad_acpi driver to provide an interface to control
539	  the various video output ports.
540
541	  This feature often won't work well, depending on ThinkPad model,
542	  display state, video output devices in use, whether there is a X
543	  server running, phase of the moon, and the current mood of
544	  Schroedinger's cat.  If you can use X.org's RandR to control
545	  your ThinkPad's video output ports instead of this feature,
546	  don't think twice: do it and say N here to save memory and avoid
547	  bad interactions with X.org.
548
549	  NOTE: access to this feature is limited to processes with the
550	  CAP_SYS_ADMIN capability, to avoid local DoS issues in platforms
551	  where it interacts badly with X.org.
552
553	  If you are not sure, say Y here but do try to check if you could
554	  be using X.org RandR instead.
555
556config THINKPAD_ACPI_HOTKEY_POLL
557	bool "Support NVRAM polling for hot keys"
558	depends on THINKPAD_ACPI
559	default y
560	---help---
561	  Some thinkpad models benefit from NVRAM polling to detect a few of
562	  the hot key press events.  If you know your ThinkPad model does not
563	  need to do NVRAM polling to support any of the hot keys you use,
564	  unselecting this option will save about 1kB of memory.
565
566	  ThinkPads T40 and newer, R52 and newer, and X31 and newer are
567	  unlikely to need NVRAM polling in their latest BIOS versions.
568
569	  NVRAM polling can detect at most the following keys: ThinkPad/Access
570	  IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
571	  Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
572
573	  If you are not sure, say Y here.  The driver enables polling only if
574	  it is strictly necessary to do so.
575
576config SENSORS_HDAPS
577	tristate "Thinkpad Hard Drive Active Protection System (hdaps)"
578	depends on INPUT
579	select INPUT_POLLDEV
580	help
581	  This driver provides support for the IBM Hard Drive Active Protection
582	  System (hdaps), which provides an accelerometer and other misc. data.
583	  ThinkPads starting with the R50, T41, and X40 are supported.  The
584	  accelerometer data is readable via sysfs.
585
586	  This driver also provides an absolute input class device, allowing
587	  the laptop to act as a pinball machine-esque joystick.
588
589	  If your ThinkPad is not recognized by the driver, please update to latest
590	  BIOS. This is especially the case for some R52 ThinkPads.
591
592	  Say Y here if you have an applicable laptop and want to experience
593	  the awesome power of hdaps.
594
595config INTEL_MENLOW
596	tristate "Thermal Management driver for Intel menlow platform"
597	depends on ACPI_THERMAL
598	select THERMAL
599	---help---
600	  ACPI thermal management enhancement driver on
601	  Intel Menlow platform.
602
603	  If unsure, say N.
604
605config EEEPC_LAPTOP
606	tristate "Eee PC Hotkey Driver"
607	depends on ACPI
608	depends on INPUT
609	depends on RFKILL || RFKILL = n
610	depends on ACPI_VIDEO || ACPI_VIDEO = n
611	depends on HOTPLUG_PCI
612	depends on BACKLIGHT_CLASS_DEVICE
613	select HWMON
614	select LEDS_CLASS
615	select NEW_LEDS
616	select INPUT_SPARSEKMAP
617	---help---
618	  This driver supports the Fn-Fx keys on Eee PC laptops.
619
620	  It  also gives access to some extra laptop functionalities like
621	  Bluetooth, backlight and allows powering on/off some other
622	  devices.
623
624	  If you have an Eee PC laptop, say Y or M here. If this driver
625	  doesn't work on your Eee PC, try eeepc-wmi instead.
626
627config ASUS_WMI
628	tristate "ASUS WMI Driver"
629	depends on ACPI_WMI
630	depends on INPUT
631	depends on HWMON
632	depends on BACKLIGHT_CLASS_DEVICE
633	depends on RFKILL || RFKILL = n
634	depends on HOTPLUG_PCI
635	depends on ACPI_VIDEO || ACPI_VIDEO = n
636	select INPUT_SPARSEKMAP
637	select LEDS_CLASS
638	select NEW_LEDS
639	---help---
640	  Say Y here if you have a WMI aware Asus laptop (like Eee PCs or new
641	  Asus Notebooks).
642
643	  To compile this driver as a module, choose M here: the module will
644	  be called asus-wmi.
645
646config ASUS_NB_WMI
647	tristate "Asus Notebook WMI Driver"
648	depends on ASUS_WMI
649	depends on SERIO_I8042 || SERIO_I8042 = n
650	---help---
651	  This is a driver for newer Asus notebooks. It adds extra features
652	  like wireless radio and bluetooth control, leds, hotkeys, backlight...
653
654	  For more information, see
655	  <file:Documentation/ABI/testing/sysfs-platform-asus-wmi>
656
657	  If you have an ACPI-WMI compatible Asus Notebook, say Y or M
658	  here.
659
660config EEEPC_WMI
661	tristate "Eee PC WMI Driver"
662	depends on ASUS_WMI
663	---help---
664	  This is a driver for newer Eee PC laptops. It adds extra features
665	  like wireless radio and bluetooth control, leds, hotkeys, backlight...
666
667	  For more information, see
668	  <file:Documentation/ABI/testing/sysfs-platform-asus-wmi>
669
670	  If you have an ACPI-WMI compatible Eee PC laptop (>= 1000), say Y or M
671	  here.
672
673config ASUS_WIRELESS
674	tristate "Asus Wireless Radio Control Driver"
675	depends on ACPI
676	depends on INPUT
677	select NEW_LEDS
678	select LEDS_CLASS
679	---help---
680	  The Asus Wireless Radio Control handles the airplane mode hotkey
681	  present on some Asus laptops.
682
683	  Say Y or M here if you have an ASUS notebook with an airplane mode
684	  hotkey.
685
686	  If you choose to compile this driver as a module the module will be
687	  called asus-wireless.
688
689config ACPI_WMI
690	tristate "WMI"
691	depends on ACPI
692	help
693	  This driver adds support for the ACPI-WMI (Windows Management
694	  Instrumentation) mapper device (PNP0C14) found on some systems.
695
696	  ACPI-WMI is a proprietary extension to ACPI to expose parts of the
697	  ACPI firmware to userspace - this is done through various vendor
698	  defined methods and data blocks in a PNP0C14 device, which are then
699	  made available for userspace to call.
700
701	  The implementation of this in Linux currently only exposes this to
702	  other kernel space drivers.
703
704	  This driver is a required dependency to build the firmware specific
705	  drivers needed on many machines, including Acer and HP laptops.
706
707	  It is safe to enable this driver even if your DSDT doesn't define
708	  any ACPI-WMI devices.
709
710config WMI_BMOF
711	tristate "WMI embedded Binary MOF driver"
712	depends on ACPI_WMI
713	default ACPI_WMI
714	---help---
715	  Say Y here if you want to be able to read a firmware-embedded
716	  WMI Binary MOF data. Using this requires userspace tools and may be
717	  rather tedious.
718
719	  To compile this driver as a module, choose M here: the module will
720	  be called wmi-bmof.
721
722config INTEL_WMI_THUNDERBOLT
723	tristate "Intel WMI thunderbolt force power driver"
724	depends on ACPI_WMI
725	---help---
726	  Say Y here if you want to be able to use the WMI interface on select
727	  systems to force the power control of Intel Thunderbolt controllers.
728	  This is useful for updating the firmware when devices are not plugged
729	  into the controller.
730
731	  To compile this driver as a module, choose M here: the module will
732	  be called intel-wmi-thunderbolt.
733
734config MSI_WMI
735	tristate "MSI WMI extras"
736	depends on ACPI_WMI
737	depends on INPUT
738	depends on BACKLIGHT_CLASS_DEVICE
739	depends on ACPI_VIDEO || ACPI_VIDEO = n
740	select INPUT_SPARSEKMAP
741	help
742	 Say Y here if you want to support WMI-based hotkeys on MSI laptops.
743
744	 To compile this driver as a module, choose M here: the module will
745	 be called msi-wmi.
746
747config PEAQ_WMI
748	tristate "PEAQ 2-in-1 WMI hotkey driver"
749	depends on ACPI_WMI
750	depends on INPUT
751	select INPUT_POLLDEV
752	help
753	 Say Y here if you want to support WMI-based hotkeys on PEAQ 2-in-1s.
754
755config TOPSTAR_LAPTOP
756	tristate "Topstar Laptop Extras"
757	depends on ACPI
758	depends on INPUT
759	select INPUT_SPARSEKMAP
760	select LEDS_CLASS
761	select NEW_LEDS
762	---help---
763	  This driver adds support for hotkeys found on Topstar laptops.
764
765	  If you have a Topstar laptop, say Y or M here.
766
767config ACPI_TOSHIBA
768	tristate "Toshiba Laptop Extras"
769	depends on ACPI
770	depends on ACPI_WMI
771	select LEDS_CLASS
772	select NEW_LEDS
773	depends on BACKLIGHT_CLASS_DEVICE
774	depends on INPUT
775	depends on SERIO_I8042 || SERIO_I8042 = n
776	depends on ACPI_VIDEO || ACPI_VIDEO = n
777	depends on RFKILL || RFKILL = n
778	depends on IIO
779	select INPUT_POLLDEV
780	select INPUT_SPARSEKMAP
781	---help---
782	  This driver adds support for access to certain system settings
783	  on "legacy free" Toshiba laptops.  These laptops can be recognized by
784	  their lack of a BIOS setup menu and APM support.
785
786	  On these machines, all system configuration is handled through the
787	  ACPI.  This driver is required for access to controls not covered
788	  by the general ACPI drivers, such as LCD brightness, video output,
789	  etc.
790
791	  This driver differs from the non-ACPI Toshiba laptop driver (located
792	  under "Processor type and features") in several aspects.
793	  Configuration is accessed by reading and writing text files in the
794	  /proc tree instead of by program interface to /dev.  Furthermore, no
795	  power management functions are exposed, as those are handled by the
796	  general ACPI drivers.
797
798	  More information about this driver is available at
799	  <http://memebeam.org/toys/ToshibaAcpiDriver>.
800
801	  If you have a legacy free Toshiba laptop (such as the Libretto L1
802	  series), say Y.
803
804config TOSHIBA_BT_RFKILL
805	tristate "Toshiba Bluetooth RFKill switch support"
806	depends on ACPI
807	depends on RFKILL || RFKILL = n
808	---help---
809	  This driver adds support for Bluetooth events for the RFKill
810	  switch on modern Toshiba laptops with full ACPI support and
811	  an RFKill switch.
812
813	  This driver handles RFKill events for the TOS6205 Bluetooth,
814	  and re-enables it when the switch is set back to the 'on'
815	  position.
816
817	  If you have a modern Toshiba laptop with a Bluetooth and an
818	  RFKill switch (such as the Portege R500), say Y.
819
820config TOSHIBA_HAPS
821	tristate "Toshiba HDD Active Protection Sensor"
822	depends on ACPI
823	---help---
824	  This driver adds support for the built-in accelerometer
825	  found on recent Toshiba laptops equipped with HID TOS620A
826	  device.
827
828	  This driver receives ACPI notify events 0x80 when the sensor
829	  detects a sudden move or a harsh vibration, as well as an
830	  ACPI notify event 0x81 whenever the movement or vibration has
831	  been stabilized.
832
833	  Also provides sysfs entries to get/set the desired protection
834	  level and resetting the HDD protection interface.
835
836	  If you have a recent Toshiba laptop with a built-in accelerometer
837	  device, say Y.
838
839config TOSHIBA_WMI
840	tristate "Toshiba WMI Hotkeys Driver (EXPERIMENTAL)"
841	depends on ACPI_WMI
842	depends on INPUT
843	select INPUT_SPARSEKMAP
844	---help---
845	  This driver adds hotkey monitoring support to some Toshiba models
846	  that manage the hotkeys via WMI events.
847
848	  WARNING: This driver is incomplete as it lacks a proper keymap and the
849	  *notify function only prints the ACPI event type value. Be warned that
850	  you will need to provide some information if you have a Toshiba model
851	  with WMI event hotkeys and want to help with the development of this
852	  driver.
853
854	  If you have a WMI-based hotkeys Toshiba laptop, say Y or M here.
855
856config ACPI_CMPC
857	tristate "CMPC Laptop Extras"
858	depends on ACPI && INPUT
859	depends on RFKILL || RFKILL=n
860	select BACKLIGHT_CLASS_DEVICE
861	help
862	  Support for Intel Classmate PC ACPI devices, including some
863	  keys as input device, backlight device, tablet and accelerometer
864	  devices.
865
866config INTEL_CHT_INT33FE
867	tristate "Intel Cherry Trail ACPI INT33FE Driver"
868	depends on X86 && ACPI && I2C && REGULATOR
869	---help---
870	  This driver add support for the INT33FE ACPI device found on
871	  some Intel Cherry Trail devices.
872
873	  The INT33FE ACPI device has a CRS table with I2cSerialBusV2
874	  resources for 3 devices: Maxim MAX17047 Fuel Gauge Controller,
875	  FUSB302 USB Type-C Controller and PI3USB30532 USB switch.
876	  This driver instantiates i2c-clients for these, so that standard
877	  i2c drivers for these chips can bind to the them.
878
879	  If you enable this driver it is advised to also select
880	  CONFIG_TYPEC_FUSB302=m, CONFIG_CHARGER_BQ24190=m and
881	  CONFIG_BATTERY_MAX17042=m.
882
883config INTEL_INT0002_VGPIO
884	tristate "Intel ACPI INT0002 Virtual GPIO driver"
885	depends on GPIOLIB && ACPI
886	select GPIOLIB_IRQCHIP
887	---help---
888	  Some peripherals on Bay Trail and Cherry Trail platforms signal a
889	  Power Management Event (PME) to the Power Management Controller (PMC)
890	  to wakeup the system. When this happens software needs to explicitly
891	  clear the PME bus 0 status bit in the GPE0a_STS register to avoid an
892	  IRQ storm on IRQ 9.
893
894	  This is modelled in ACPI through the INT0002 ACPI device, which is
895	  called a "Virtual GPIO controller" in ACPI because it defines the
896	  event handler to call when the PME triggers through _AEI and _L02
897	  methods as would be done for a real GPIO interrupt in ACPI.
898
899	  To compile this driver as a module, choose M here: the module will
900	  be called intel_int0002_vgpio.
901
902config INTEL_HID_EVENT
903	tristate "INTEL HID Event"
904	depends on ACPI
905	depends on INPUT
906	select INPUT_SPARSEKMAP
907	help
908	  This driver provides support for the Intel HID Event hotkey interface.
909	  Some laptops require this driver for hotkey support.
910
911	  To compile this driver as a module, choose M here: the module will
912	  be called intel_hid.
913
914config INTEL_VBTN
915	tristate "INTEL VIRTUAL BUTTON"
916	depends on ACPI
917	depends on INPUT
918	select INPUT_SPARSEKMAP
919	help
920	  This driver provides support for the Intel Virtual Button interface.
921	  Some laptops require this driver for power button support.
922
923	  To compile this driver as a module, choose M here: the module will
924	  be called intel_vbtn.
925
926config INTEL_SCU_IPC
927	bool "Intel SCU IPC Support"
928	depends on X86_INTEL_MID
929	default y
930	---help---
931	  IPC is used to bridge the communications between kernel and SCU on
932	  some embedded Intel x86 platforms. This is not needed for PC-type
933	  machines.
934
935config INTEL_SCU_IPC_UTIL
936	tristate "Intel SCU IPC utility driver"
937	depends on INTEL_SCU_IPC
938	default y
939	---help---
940	  The IPC Util driver provides an interface with the SCU enabling
941	  low level access for debug work and updating the firmware. Say
942	  N unless you will be doing this on an Intel MID platform.
943
944config INTEL_MID_POWER_BUTTON
945	tristate "power button driver for Intel MID platforms"
946	depends on INTEL_SCU_IPC && INPUT
947	help
948	  This driver handles the power button on the Intel MID platforms.
949
950	  If unsure, say N.
951
952config INTEL_MFLD_THERMAL
953       tristate "Thermal driver for Intel Medfield platform"
954       depends on MFD_INTEL_MSIC && THERMAL
955       help
956         Say Y here to enable thermal driver support for the  Intel Medfield
957         platform.
958
959config INTEL_IPS
960	tristate "Intel Intelligent Power Sharing"
961	depends on ACPI
962	---help---
963	  Intel Calpella platforms support dynamic power sharing between the
964	  CPU and GPU, maximizing performance in a given TDP.  This driver,
965	  along with the CPU frequency and i915 drivers, provides that
966	  functionality.  If in doubt, say Y here; it will only load on
967	  supported platforms.
968
969config INTEL_IMR
970	bool "Intel Isolated Memory Region support"
971	depends on X86_INTEL_QUARK && IOSF_MBI
972	---help---
973	  This option provides a means to manipulate Isolated Memory Regions.
974	  IMRs are a set of registers that define read and write access masks
975	  to prohibit certain system agents from accessing memory with 1 KiB
976	  granularity.
977
978	  IMRs make it possible to control read/write access to an address
979	  by hardware agents inside the SoC. Read and write masks can be
980	  defined for:
981		- eSRAM flush
982		- Dirty CPU snoop (write only)
983		- RMU access
984		- PCI Virtual Channel 0/Virtual Channel 1
985		- SMM mode
986		- Non SMM mode
987
988	  Quark contains a set of eight IMR registers and makes use of those
989	  registers during its bootup process.
990
991	  If you are running on a Galileo/Quark say Y here.
992
993config INTEL_PMC_CORE
994	tristate "Intel PMC Core driver"
995	depends on PCI
996	---help---
997	  The Intel Platform Controller Hub for Intel Core SoCs provides access
998	  to Power Management Controller registers via a PCI interface. This
999	  driver can utilize debugging capabilities and supported features as
1000	  exposed by the Power Management Controller.
1001
1002	  Supported features:
1003		- SLP_S0_RESIDENCY counter
1004		- PCH IP Power Gating status
1005		- LTR Ignore
1006		- MPHY/PLL gating status (Sunrisepoint PCH only)
1007
1008config IBM_RTL
1009	tristate "Device driver to enable PRTL support"
1010	depends on PCI
1011	---help---
1012	 Enable support for IBM Premium Real Time Mode (PRTM).
1013	 This module will allow you the enter and exit PRTM in the BIOS via
1014	 sysfs on platforms that support this feature.  System in PRTM will
1015	 not receive CPU-generated SMIs for recoverable errors.  Use of this
1016	 feature without proper support may void your hardware warranty.
1017
1018	 If the proper BIOS support is found the driver will load and create
1019	 /sys/devices/system/ibm_rtl/.  The "state" variable will indicate
1020	 whether or not the BIOS is in PRTM.
1021	 state = 0 (BIOS SMIs on)
1022	 state = 1 (BIOS SMIs off)
1023
1024config XO1_RFKILL
1025	tristate "OLPC XO-1 software RF kill switch"
1026	depends on OLPC || COMPILE_TEST
1027	depends on RFKILL
1028	---help---
1029	  Support for enabling/disabling the WLAN interface on the OLPC XO-1
1030	  laptop.
1031
1032config XO15_EBOOK
1033	tristate "OLPC XO-1.5 ebook switch"
1034	depends on OLPC || COMPILE_TEST
1035	depends on ACPI && INPUT
1036	---help---
1037	  Support for the ebook switch on the OLPC XO-1.5 laptop.
1038
1039	  This switch is triggered as the screen is rotated and folded down to
1040	  convert the device into ebook form.
1041
1042config SAMSUNG_LAPTOP
1043	tristate "Samsung Laptop driver"
1044	depends on RFKILL || RFKILL = n
1045	depends on ACPI_VIDEO || ACPI_VIDEO = n
1046	depends on BACKLIGHT_CLASS_DEVICE
1047	select LEDS_CLASS
1048	select NEW_LEDS
1049	---help---
1050	  This module implements a driver for a wide range of different
1051	  Samsung laptops.  It offers control over the different
1052	  function keys, wireless LED, LCD backlight level.
1053
1054	  It may also provide some sysfs files described in
1055	  <file:Documentation/ABI/testing/sysfs-platform-samsung-laptop>
1056
1057	  To compile this driver as a module, choose M here: the module
1058	  will be called samsung-laptop.
1059
1060config MXM_WMI
1061       tristate "WMI support for MXM Laptop Graphics"
1062       depends on ACPI_WMI
1063       ---help---
1064          MXM is a standard for laptop graphics cards, the WMI interface
1065	  is required for switchable nvidia graphics machines
1066
1067config INTEL_OAKTRAIL
1068	tristate "Intel Oaktrail Platform Extras"
1069	depends on ACPI
1070	depends on ACPI_VIDEO || ACPI_VIDEO = n
1071	depends on RFKILL && BACKLIGHT_CLASS_DEVICE && ACPI
1072	---help---
1073	  Intel Oaktrail platform need this driver to provide interfaces to
1074	  enable/disable the Camera, WiFi, BT etc. devices. If in doubt, say Y
1075	  here; it will only load on supported platforms.
1076
1077config SAMSUNG_Q10
1078	tristate "Samsung Q10 Extras"
1079	depends on ACPI
1080	select BACKLIGHT_CLASS_DEVICE
1081	---help---
1082	  This driver provides support for backlight control on Samsung Q10
1083	  and related laptops, including Dell Latitude X200.
1084
1085config APPLE_GMUX
1086	tristate "Apple Gmux Driver"
1087	depends on ACPI
1088	depends on PNP
1089	depends on BACKLIGHT_CLASS_DEVICE
1090	depends on BACKLIGHT_APPLE=n || BACKLIGHT_APPLE
1091	depends on ACPI_VIDEO=n || ACPI_VIDEO
1092	---help---
1093	  This driver provides support for the gmux device found on many
1094	  Apple laptops, which controls the display mux for the hybrid
1095	  graphics as well as the backlight. Currently only backlight
1096	  control is supported by the driver.
1097
1098config INTEL_RST
1099        tristate "Intel Rapid Start Technology Driver"
1100	depends on ACPI
1101	---help---
1102	  This driver provides support for modifying paramaters on systems
1103	  equipped with Intel's Rapid Start Technology. When put in an ACPI
1104	  sleep state, these devices will wake after either a configured
1105	  timeout or when the system battery reaches a critical state,
1106	  automatically copying memory contents to disk. On resume, the
1107	  firmware will copy the memory contents back to RAM and resume the OS
1108	  as usual.
1109
1110config INTEL_SMARTCONNECT
1111        tristate "Intel Smart Connect disabling driver"
1112	depends on ACPI
1113	---help---
1114	  Intel Smart Connect is a technology intended to permit devices to
1115	  update state by resuming for a short period of time at regular
1116	  intervals. If a user enables this functionality under Windows and
1117	  then reboots into Linux, the system may remain configured to resume
1118	  on suspend. In the absence of any userspace to support it, the system
1119	  will then remain awake until something triggers another suspend.
1120
1121	  This driver checks to determine whether the device has Intel Smart
1122	  Connect enabled, and if so disables it.
1123
1124config PVPANIC
1125	tristate "pvpanic device support"
1126	depends on ACPI
1127	---help---
1128	  This driver provides support for the pvpanic device.  pvpanic is
1129	  a paravirtualized device provided by QEMU; it lets a virtual machine
1130	  (guest) communicate panic events to the host.
1131
1132config INTEL_PMC_IPC
1133	tristate "Intel PMC IPC Driver"
1134	depends on ACPI
1135	---help---
1136	This driver provides support for PMC control on some Intel platforms.
1137	The PMC is an ARC processor which defines IPC commands for communication
1138	with other entities in the CPU.
1139
1140config INTEL_BXTWC_PMIC_TMU
1141	tristate "Intel BXT Whiskey Cove TMU Driver"
1142	depends on REGMAP
1143	depends on INTEL_SOC_PMIC_BXTWC && INTEL_PMC_IPC
1144	---help---
1145	  Select this driver to use Intel BXT Whiskey Cove PMIC TMU feature.
1146	  This driver enables the alarm wakeup functionality in the TMU unit
1147	  of Whiskey Cove PMIC.
1148
1149config SURFACE_PRO3_BUTTON
1150	tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet"
1151	depends on ACPI && INPUT
1152	---help---
1153	  This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet.
1154
1155config SURFACE_3_BUTTON
1156	tristate "Power/home/volume buttons driver for Microsoft Surface 3 tablet"
1157	depends on ACPI && KEYBOARD_GPIO && I2C
1158	---help---
1159	  This driver handles the power/home/volume buttons on the Microsoft Surface 3 tablet.
1160
1161config INTEL_PUNIT_IPC
1162	tristate "Intel P-Unit IPC Driver"
1163	---help---
1164	  This driver provides support for Intel P-Unit Mailbox IPC mechanism,
1165	  which is used to bridge the communications between kernel and P-Unit.
1166
1167config INTEL_TELEMETRY
1168	tristate "Intel SoC Telemetry Driver"
1169	depends on INTEL_PMC_IPC && INTEL_PUNIT_IPC && X86_64
1170	---help---
1171	  This driver provides interfaces to configure and use
1172	  telemetry for INTEL SoC from APL onwards. It is also
1173	  used to get various SoC events and parameters
1174	  directly via debugfs files. Various tools may use
1175	  this interface for SoC state monitoring.
1176
1177config MLX_PLATFORM
1178	tristate "Mellanox Technologies platform support"
1179	depends on I2C && REGMAP
1180	---help---
1181	  This option enables system support for the Mellanox Technologies
1182	  platform. The Mellanox systems provide data center networking
1183	  solutions based on Virtual Protocol Interconnect (VPI) technology
1184	  enable seamless connectivity to 56/100Gb/s InfiniBand or 10/40/56GbE
1185	  connection.
1186
1187	  If you have a Mellanox system, say Y or M here.
1188
1189config INTEL_TURBO_MAX_3
1190	bool "Intel Turbo Boost Max Technology 3.0 enumeration driver"
1191	depends on X86_64 && SCHED_MC_PRIO
1192	---help---
1193	  This driver reads maximum performance ratio of each CPU and set up
1194	  the scheduler priority metrics. In this way scheduler can prefer
1195	  CPU with higher performance to schedule tasks.
1196	  This driver is only required when the system is not using Hardware
1197	  P-States (HWP). In HWP mode, priority can be read from ACPI tables.
1198
1199config SILEAD_DMI
1200	bool "Tablets with Silead touchscreens"
1201	depends on ACPI && DMI && I2C=y && TOUCHSCREEN_SILEAD
1202	---help---
1203	  Certain ACPI based tablets with Silead touchscreens do not have
1204	  enough data in ACPI tables for the touchscreen driver to handle
1205	  the touchscreen properly, as OEMs expected the data to be baked
1206	  into the tablet model specific version of the driver shipped
1207	  with the OS-image for the device. This option supplies the missing
1208	  information. Enable this for x86 tablets with Silead touchscreens.
1209
1210config INTEL_CHTDC_TI_PWRBTN
1211	tristate "Intel Cherry Trail Dollar Cove TI power button driver"
1212	depends on INTEL_SOC_PMIC_CHTDC_TI
1213	depends on INPUT
1214	---help---
1215	  This option adds a power button driver driver for Dollar Cove TI
1216	  PMIC on Intel Cherry Trail devices.
1217
1218	  To compile this driver as a module, choose M here: the module
1219	  will be called intel_chtdc_ti_pwrbtn.
1220
1221endif # X86_PLATFORM_DEVICES
1222
1223config PMC_ATOM
1224       def_bool y
1225       depends on PCI
1226       select COMMON_CLK
1227