xref: /openbmc/linux/drivers/platform/x86/Kconfig (revision 2209fda3)
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	depends on 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	depends on DELL_SMBIOS
172	select DELL_WMI_DESCRIPTOR
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	depends on CHARGER_BQ24190=y || (CHARGER_BQ24190=m && m)
870	depends on USB_ROLES_INTEL_XHCI=y || (USB_ROLES_INTEL_XHCI=m && m)
871	depends on TYPEC_MUX_PI3USB30532=y || (TYPEC_MUX_PI3USB30532=m && m)
872	---help---
873	  This driver add support for the INT33FE ACPI device found on
874	  some Intel Cherry Trail devices.
875
876	  The INT33FE ACPI device has a CRS table with I2cSerialBusV2
877	  resources for 3 devices: Maxim MAX17047 Fuel Gauge Controller,
878	  FUSB302 USB Type-C Controller and PI3USB30532 USB switch.
879	  This driver instantiates i2c-clients for these, so that standard
880	  i2c drivers for these chips can bind to the them.
881
882	  If you enable this driver it is advised to also select
883	  CONFIG_TYPEC_FUSB302=m and CONFIG_BATTERY_MAX17042=m.
884
885config INTEL_INT0002_VGPIO
886	tristate "Intel ACPI INT0002 Virtual GPIO driver"
887	depends on GPIOLIB && ACPI
888	select GPIOLIB_IRQCHIP
889	---help---
890	  Some peripherals on Bay Trail and Cherry Trail platforms signal a
891	  Power Management Event (PME) to the Power Management Controller (PMC)
892	  to wakeup the system. When this happens software needs to explicitly
893	  clear the PME bus 0 status bit in the GPE0a_STS register to avoid an
894	  IRQ storm on IRQ 9.
895
896	  This is modelled in ACPI through the INT0002 ACPI device, which is
897	  called a "Virtual GPIO controller" in ACPI because it defines the
898	  event handler to call when the PME triggers through _AEI and _L02
899	  methods as would be done for a real GPIO interrupt in ACPI.
900
901	  To compile this driver as a module, choose M here: the module will
902	  be called intel_int0002_vgpio.
903
904config INTEL_HID_EVENT
905	tristate "INTEL HID Event"
906	depends on ACPI
907	depends on INPUT
908	select INPUT_SPARSEKMAP
909	help
910	  This driver provides support for the Intel HID Event hotkey interface.
911	  Some laptops require this driver for hotkey support.
912
913	  To compile this driver as a module, choose M here: the module will
914	  be called intel_hid.
915
916config INTEL_VBTN
917	tristate "INTEL VIRTUAL BUTTON"
918	depends on ACPI
919	depends on INPUT
920	select INPUT_SPARSEKMAP
921	help
922	  This driver provides support for the Intel Virtual Button interface.
923	  Some laptops require this driver for power button support.
924
925	  To compile this driver as a module, choose M here: the module will
926	  be called intel_vbtn.
927
928config INTEL_SCU_IPC
929	bool "Intel SCU IPC Support"
930	depends on X86_INTEL_MID
931	default y
932	---help---
933	  IPC is used to bridge the communications between kernel and SCU on
934	  some embedded Intel x86 platforms. This is not needed for PC-type
935	  machines.
936
937config INTEL_SCU_IPC_UTIL
938	tristate "Intel SCU IPC utility driver"
939	depends on INTEL_SCU_IPC
940	default y
941	---help---
942	  The IPC Util driver provides an interface with the SCU enabling
943	  low level access for debug work and updating the firmware. Say
944	  N unless you will be doing this on an Intel MID platform.
945
946config INTEL_MID_POWER_BUTTON
947	tristate "power button driver for Intel MID platforms"
948	depends on INTEL_SCU_IPC && INPUT
949	help
950	  This driver handles the power button on the Intel MID platforms.
951
952	  If unsure, say N.
953
954config INTEL_MFLD_THERMAL
955       tristate "Thermal driver for Intel Medfield platform"
956       depends on MFD_INTEL_MSIC && THERMAL
957       help
958         Say Y here to enable thermal driver support for the  Intel Medfield
959         platform.
960
961config INTEL_IPS
962	tristate "Intel Intelligent Power Sharing"
963	depends on ACPI
964	---help---
965	  Intel Calpella platforms support dynamic power sharing between the
966	  CPU and GPU, maximizing performance in a given TDP.  This driver,
967	  along with the CPU frequency and i915 drivers, provides that
968	  functionality.  If in doubt, say Y here; it will only load on
969	  supported platforms.
970
971config INTEL_IMR
972	bool "Intel Isolated Memory Region support"
973	depends on X86_INTEL_QUARK && IOSF_MBI
974	---help---
975	  This option provides a means to manipulate Isolated Memory Regions.
976	  IMRs are a set of registers that define read and write access masks
977	  to prohibit certain system agents from accessing memory with 1 KiB
978	  granularity.
979
980	  IMRs make it possible to control read/write access to an address
981	  by hardware agents inside the SoC. Read and write masks can be
982	  defined for:
983		- eSRAM flush
984		- Dirty CPU snoop (write only)
985		- RMU access
986		- PCI Virtual Channel 0/Virtual Channel 1
987		- SMM mode
988		- Non SMM mode
989
990	  Quark contains a set of eight IMR registers and makes use of those
991	  registers during its bootup process.
992
993	  If you are running on a Galileo/Quark say Y here.
994
995config INTEL_PMC_CORE
996	tristate "Intel PMC Core driver"
997	depends on PCI
998	---help---
999	  The Intel Platform Controller Hub for Intel Core SoCs provides access
1000	  to Power Management Controller registers via a PCI interface. This
1001	  driver can utilize debugging capabilities and supported features as
1002	  exposed by the Power Management Controller.
1003
1004	  Supported features:
1005		- SLP_S0_RESIDENCY counter
1006		- PCH IP Power Gating status
1007		- LTR Ignore
1008		- MPHY/PLL gating status (Sunrisepoint PCH only)
1009
1010config IBM_RTL
1011	tristate "Device driver to enable PRTL support"
1012	depends on PCI
1013	---help---
1014	 Enable support for IBM Premium Real Time Mode (PRTM).
1015	 This module will allow you the enter and exit PRTM in the BIOS via
1016	 sysfs on platforms that support this feature.  System in PRTM will
1017	 not receive CPU-generated SMIs for recoverable errors.  Use of this
1018	 feature without proper support may void your hardware warranty.
1019
1020	 If the proper BIOS support is found the driver will load and create
1021	 /sys/devices/system/ibm_rtl/.  The "state" variable will indicate
1022	 whether or not the BIOS is in PRTM.
1023	 state = 0 (BIOS SMIs on)
1024	 state = 1 (BIOS SMIs off)
1025
1026config XO1_RFKILL
1027	tristate "OLPC XO-1 software RF kill switch"
1028	depends on OLPC || COMPILE_TEST
1029	depends on RFKILL
1030	---help---
1031	  Support for enabling/disabling the WLAN interface on the OLPC XO-1
1032	  laptop.
1033
1034config XO15_EBOOK
1035	tristate "OLPC XO-1.5 ebook switch"
1036	depends on OLPC || COMPILE_TEST
1037	depends on ACPI && INPUT
1038	---help---
1039	  Support for the ebook switch on the OLPC XO-1.5 laptop.
1040
1041	  This switch is triggered as the screen is rotated and folded down to
1042	  convert the device into ebook form.
1043
1044config SAMSUNG_LAPTOP
1045	tristate "Samsung Laptop driver"
1046	depends on RFKILL || RFKILL = n
1047	depends on ACPI_VIDEO || ACPI_VIDEO = n
1048	depends on BACKLIGHT_CLASS_DEVICE
1049	select LEDS_CLASS
1050	select NEW_LEDS
1051	---help---
1052	  This module implements a driver for a wide range of different
1053	  Samsung laptops.  It offers control over the different
1054	  function keys, wireless LED, LCD backlight level.
1055
1056	  It may also provide some sysfs files described in
1057	  <file:Documentation/ABI/testing/sysfs-driver-samsung-laptop>
1058
1059	  To compile this driver as a module, choose M here: the module
1060	  will be called samsung-laptop.
1061
1062config MXM_WMI
1063       tristate "WMI support for MXM Laptop Graphics"
1064       depends on ACPI_WMI
1065       ---help---
1066          MXM is a standard for laptop graphics cards, the WMI interface
1067	  is required for switchable nvidia graphics machines
1068
1069config INTEL_OAKTRAIL
1070	tristate "Intel Oaktrail Platform Extras"
1071	depends on ACPI
1072	depends on ACPI_VIDEO || ACPI_VIDEO = n
1073	depends on RFKILL && BACKLIGHT_CLASS_DEVICE && ACPI
1074	---help---
1075	  Intel Oaktrail platform need this driver to provide interfaces to
1076	  enable/disable the Camera, WiFi, BT etc. devices. If in doubt, say Y
1077	  here; it will only load on supported platforms.
1078
1079config SAMSUNG_Q10
1080	tristate "Samsung Q10 Extras"
1081	depends on ACPI
1082	select BACKLIGHT_CLASS_DEVICE
1083	---help---
1084	  This driver provides support for backlight control on Samsung Q10
1085	  and related laptops, including Dell Latitude X200.
1086
1087config APPLE_GMUX
1088	tristate "Apple Gmux Driver"
1089	depends on ACPI
1090	depends on PNP
1091	depends on BACKLIGHT_CLASS_DEVICE
1092	depends on BACKLIGHT_APPLE=n || BACKLIGHT_APPLE
1093	depends on ACPI_VIDEO=n || ACPI_VIDEO
1094	---help---
1095	  This driver provides support for the gmux device found on many
1096	  Apple laptops, which controls the display mux for the hybrid
1097	  graphics as well as the backlight. Currently only backlight
1098	  control is supported by the driver.
1099
1100config INTEL_RST
1101        tristate "Intel Rapid Start Technology Driver"
1102	depends on ACPI
1103	---help---
1104	  This driver provides support for modifying paramaters on systems
1105	  equipped with Intel's Rapid Start Technology. When put in an ACPI
1106	  sleep state, these devices will wake after either a configured
1107	  timeout or when the system battery reaches a critical state,
1108	  automatically copying memory contents to disk. On resume, the
1109	  firmware will copy the memory contents back to RAM and resume the OS
1110	  as usual.
1111
1112config INTEL_SMARTCONNECT
1113        tristate "Intel Smart Connect disabling driver"
1114	depends on ACPI
1115	---help---
1116	  Intel Smart Connect is a technology intended to permit devices to
1117	  update state by resuming for a short period of time at regular
1118	  intervals. If a user enables this functionality under Windows and
1119	  then reboots into Linux, the system may remain configured to resume
1120	  on suspend. In the absence of any userspace to support it, the system
1121	  will then remain awake until something triggers another suspend.
1122
1123	  This driver checks to determine whether the device has Intel Smart
1124	  Connect enabled, and if so disables it.
1125
1126config PVPANIC
1127	tristate "pvpanic device support"
1128	depends on ACPI
1129	---help---
1130	  This driver provides support for the pvpanic device.  pvpanic is
1131	  a paravirtualized device provided by QEMU; it lets a virtual machine
1132	  (guest) communicate panic events to the host.
1133
1134config INTEL_PMC_IPC
1135	tristate "Intel PMC IPC Driver"
1136	depends on ACPI
1137	---help---
1138	This driver provides support for PMC control on some Intel platforms.
1139	The PMC is an ARC processor which defines IPC commands for communication
1140	with other entities in the CPU.
1141
1142config INTEL_BXTWC_PMIC_TMU
1143	tristate "Intel BXT Whiskey Cove TMU Driver"
1144	depends on REGMAP
1145	depends on INTEL_SOC_PMIC_BXTWC && INTEL_PMC_IPC
1146	---help---
1147	  Select this driver to use Intel BXT Whiskey Cove PMIC TMU feature.
1148	  This driver enables the alarm wakeup functionality in the TMU unit
1149	  of Whiskey Cove PMIC.
1150
1151config SURFACE_PRO3_BUTTON
1152	tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet"
1153	depends on ACPI && INPUT
1154	---help---
1155	  This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet.
1156
1157config SURFACE_3_BUTTON
1158	tristate "Power/home/volume buttons driver for Microsoft Surface 3 tablet"
1159	depends on ACPI && KEYBOARD_GPIO && I2C
1160	---help---
1161	  This driver handles the power/home/volume buttons on the Microsoft Surface 3 tablet.
1162
1163config INTEL_PUNIT_IPC
1164	tristate "Intel P-Unit IPC Driver"
1165	---help---
1166	  This driver provides support for Intel P-Unit Mailbox IPC mechanism,
1167	  which is used to bridge the communications between kernel and P-Unit.
1168
1169config INTEL_TELEMETRY
1170	tristate "Intel SoC Telemetry Driver"
1171	depends on INTEL_PMC_IPC && INTEL_PUNIT_IPC && X86_64
1172	---help---
1173	  This driver provides interfaces to configure and use
1174	  telemetry for INTEL SoC from APL onwards. It is also
1175	  used to get various SoC events and parameters
1176	  directly via debugfs files. Various tools may use
1177	  this interface for SoC state monitoring.
1178
1179config MLX_PLATFORM
1180	tristate "Mellanox Technologies platform support"
1181	depends on I2C && REGMAP
1182	---help---
1183	  This option enables system support for the Mellanox Technologies
1184	  platform. The Mellanox systems provide data center networking
1185	  solutions based on Virtual Protocol Interconnect (VPI) technology
1186	  enable seamless connectivity to 56/100Gb/s InfiniBand or 10/40/56GbE
1187	  connection.
1188
1189	  If you have a Mellanox system, say Y or M here.
1190
1191config INTEL_TURBO_MAX_3
1192	bool "Intel Turbo Boost Max Technology 3.0 enumeration driver"
1193	depends on X86_64 && SCHED_MC_PRIO
1194	---help---
1195	  This driver reads maximum performance ratio of each CPU and set up
1196	  the scheduler priority metrics. In this way scheduler can prefer
1197	  CPU with higher performance to schedule tasks.
1198	  This driver is only required when the system is not using Hardware
1199	  P-States (HWP). In HWP mode, priority can be read from ACPI tables.
1200
1201config TOUCHSCREEN_DMI
1202	bool "DMI based touchscreen configuration info"
1203	depends on ACPI && DMI && I2C=y && TOUCHSCREEN_SILEAD
1204	---help---
1205	  Certain ACPI based tablets with e.g. Silead or Chipone touchscreens
1206	  do not have enough data in ACPI tables for the touchscreen driver to
1207	  handle the touchscreen properly, as OEMs expect the data to be baked
1208	  into the tablet model specific version of the driver shipped with the
1209	  the OS-image for the device. This option supplies the missing info.
1210	  Enable this for x86 tablets with Silead or Chipone touchscreens.
1211
1212config INTEL_CHTDC_TI_PWRBTN
1213	tristate "Intel Cherry Trail Dollar Cove TI power button driver"
1214	depends on INTEL_SOC_PMIC_CHTDC_TI
1215	depends on INPUT
1216	---help---
1217	  This option adds a power button driver driver for Dollar Cove TI
1218	  PMIC on Intel Cherry Trail devices.
1219
1220	  To compile this driver as a module, choose M here: the module
1221	  will be called intel_chtdc_ti_pwrbtn.
1222
1223config I2C_MULTI_INSTANTIATE
1224	tristate "I2C multi instantiate pseudo device driver"
1225	depends on I2C && ACPI
1226	help
1227	  Some ACPI-based systems list multiple i2c-devices in a single ACPI
1228	  firmware-node. This driver will instantiate separate i2c-clients
1229	  for each device in the firmware-node.
1230
1231	  To compile this driver as a module, choose M here: the module
1232	  will be called i2c-multi-instantiate.
1233
1234endif # X86_PLATFORM_DEVICES
1235
1236config PMC_ATOM
1237       def_bool y
1238       depends on PCI
1239       select COMMON_CLK
1240