xref: /openbmc/linux/drivers/platform/x86/Kconfig (revision b240b419db5d624ce7a5a397d6f62a1a686009ec)
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	---help---
761	  This driver adds support for hotkeys found on Topstar laptops.
762
763	  If you have a Topstar laptop, say Y or M here.
764
765config ACPI_TOSHIBA
766	tristate "Toshiba Laptop Extras"
767	depends on ACPI
768	depends on ACPI_WMI
769	select LEDS_CLASS
770	select NEW_LEDS
771	depends on BACKLIGHT_CLASS_DEVICE
772	depends on INPUT
773	depends on SERIO_I8042 || SERIO_I8042 = n
774	depends on ACPI_VIDEO || ACPI_VIDEO = n
775	depends on RFKILL || RFKILL = n
776	depends on IIO
777	select INPUT_POLLDEV
778	select INPUT_SPARSEKMAP
779	---help---
780	  This driver adds support for access to certain system settings
781	  on "legacy free" Toshiba laptops.  These laptops can be recognized by
782	  their lack of a BIOS setup menu and APM support.
783
784	  On these machines, all system configuration is handled through the
785	  ACPI.  This driver is required for access to controls not covered
786	  by the general ACPI drivers, such as LCD brightness, video output,
787	  etc.
788
789	  This driver differs from the non-ACPI Toshiba laptop driver (located
790	  under "Processor type and features") in several aspects.
791	  Configuration is accessed by reading and writing text files in the
792	  /proc tree instead of by program interface to /dev.  Furthermore, no
793	  power management functions are exposed, as those are handled by the
794	  general ACPI drivers.
795
796	  More information about this driver is available at
797	  <http://memebeam.org/toys/ToshibaAcpiDriver>.
798
799	  If you have a legacy free Toshiba laptop (such as the Libretto L1
800	  series), say Y.
801
802config TOSHIBA_BT_RFKILL
803	tristate "Toshiba Bluetooth RFKill switch support"
804	depends on ACPI
805	depends on RFKILL || RFKILL = n
806	---help---
807	  This driver adds support for Bluetooth events for the RFKill
808	  switch on modern Toshiba laptops with full ACPI support and
809	  an RFKill switch.
810
811	  This driver handles RFKill events for the TOS6205 Bluetooth,
812	  and re-enables it when the switch is set back to the 'on'
813	  position.
814
815	  If you have a modern Toshiba laptop with a Bluetooth and an
816	  RFKill switch (such as the Portege R500), say Y.
817
818config TOSHIBA_HAPS
819	tristate "Toshiba HDD Active Protection Sensor"
820	depends on ACPI
821	---help---
822	  This driver adds support for the built-in accelerometer
823	  found on recent Toshiba laptops equipped with HID TOS620A
824	  device.
825
826	  This driver receives ACPI notify events 0x80 when the sensor
827	  detects a sudden move or a harsh vibration, as well as an
828	  ACPI notify event 0x81 whenever the movement or vibration has
829	  been stabilized.
830
831	  Also provides sysfs entries to get/set the desired protection
832	  level and resetting the HDD protection interface.
833
834	  If you have a recent Toshiba laptop with a built-in accelerometer
835	  device, say Y.
836
837config TOSHIBA_WMI
838	tristate "Toshiba WMI Hotkeys Driver (EXPERIMENTAL)"
839	depends on ACPI_WMI
840	depends on INPUT
841	select INPUT_SPARSEKMAP
842	---help---
843	  This driver adds hotkey monitoring support to some Toshiba models
844	  that manage the hotkeys via WMI events.
845
846	  WARNING: This driver is incomplete as it lacks a proper keymap and the
847	  *notify function only prints the ACPI event type value. Be warned that
848	  you will need to provide some information if you have a Toshiba model
849	  with WMI event hotkeys and want to help with the development of this
850	  driver.
851
852	  If you have a WMI-based hotkeys Toshiba laptop, say Y or M here.
853
854config ACPI_CMPC
855	tristate "CMPC Laptop Extras"
856	depends on ACPI && INPUT
857	depends on RFKILL || RFKILL=n
858	select BACKLIGHT_CLASS_DEVICE
859	help
860	  Support for Intel Classmate PC ACPI devices, including some
861	  keys as input device, backlight device, tablet and accelerometer
862	  devices.
863
864config INTEL_CHT_INT33FE
865	tristate "Intel Cherry Trail ACPI INT33FE Driver"
866	depends on X86 && ACPI && I2C && REGULATOR
867	---help---
868	  This driver add support for the INT33FE ACPI device found on
869	  some Intel Cherry Trail devices.
870
871	  The INT33FE ACPI device has a CRS table with I2cSerialBusV2
872	  resources for 3 devices: Maxim MAX17047 Fuel Gauge Controller,
873	  FUSB302 USB Type-C Controller and PI3USB30532 USB switch.
874	  This driver instantiates i2c-clients for these, so that standard
875	  i2c drivers for these chips can bind to the them.
876
877	  If you enable this driver it is advised to also select
878	  CONFIG_TYPEC_FUSB302=m, CONFIG_CHARGER_BQ24190=m and
879	  CONFIG_BATTERY_MAX17042=m.
880
881config INTEL_INT0002_VGPIO
882	tristate "Intel ACPI INT0002 Virtual GPIO driver"
883	depends on GPIOLIB && ACPI
884	select GPIOLIB_IRQCHIP
885	---help---
886	  Some peripherals on Bay Trail and Cherry Trail platforms signal a
887	  Power Management Event (PME) to the Power Management Controller (PMC)
888	  to wakeup the system. When this happens software needs to explicitly
889	  clear the PME bus 0 status bit in the GPE0a_STS register to avoid an
890	  IRQ storm on IRQ 9.
891
892	  This is modelled in ACPI through the INT0002 ACPI device, which is
893	  called a "Virtual GPIO controller" in ACPI because it defines the
894	  event handler to call when the PME triggers through _AEI and _L02
895	  methods as would be done for a real GPIO interrupt in ACPI.
896
897	  To compile this driver as a module, choose M here: the module will
898	  be called intel_int0002_vgpio.
899
900config INTEL_HID_EVENT
901	tristate "INTEL HID Event"
902	depends on ACPI
903	depends on INPUT
904	select INPUT_SPARSEKMAP
905	help
906	  This driver provides support for the Intel HID Event hotkey interface.
907	  Some laptops require this driver for hotkey support.
908
909	  To compile this driver as a module, choose M here: the module will
910	  be called intel_hid.
911
912config INTEL_VBTN
913	tristate "INTEL VIRTUAL BUTTON"
914	depends on ACPI
915	depends on INPUT
916	select INPUT_SPARSEKMAP
917	help
918	  This driver provides support for the Intel Virtual Button interface.
919	  Some laptops require this driver for power button support.
920
921	  To compile this driver as a module, choose M here: the module will
922	  be called intel_vbtn.
923
924config INTEL_SCU_IPC
925	bool "Intel SCU IPC Support"
926	depends on X86_INTEL_MID
927	default y
928	---help---
929	  IPC is used to bridge the communications between kernel and SCU on
930	  some embedded Intel x86 platforms. This is not needed for PC-type
931	  machines.
932
933config INTEL_SCU_IPC_UTIL
934	tristate "Intel SCU IPC utility driver"
935	depends on INTEL_SCU_IPC
936	default y
937	---help---
938	  The IPC Util driver provides an interface with the SCU enabling
939	  low level access for debug work and updating the firmware. Say
940	  N unless you will be doing this on an Intel MID platform.
941
942config INTEL_MID_POWER_BUTTON
943	tristate "power button driver for Intel MID platforms"
944	depends on INTEL_SCU_IPC && INPUT
945	help
946	  This driver handles the power button on the Intel MID platforms.
947
948	  If unsure, say N.
949
950config INTEL_MFLD_THERMAL
951       tristate "Thermal driver for Intel Medfield platform"
952       depends on MFD_INTEL_MSIC && THERMAL
953       help
954         Say Y here to enable thermal driver support for the  Intel Medfield
955         platform.
956
957config INTEL_IPS
958	tristate "Intel Intelligent Power Sharing"
959	depends on ACPI
960	---help---
961	  Intel Calpella platforms support dynamic power sharing between the
962	  CPU and GPU, maximizing performance in a given TDP.  This driver,
963	  along with the CPU frequency and i915 drivers, provides that
964	  functionality.  If in doubt, say Y here; it will only load on
965	  supported platforms.
966
967config INTEL_IMR
968	bool "Intel Isolated Memory Region support"
969	depends on X86_INTEL_QUARK && IOSF_MBI
970	---help---
971	  This option provides a means to manipulate Isolated Memory Regions.
972	  IMRs are a set of registers that define read and write access masks
973	  to prohibit certain system agents from accessing memory with 1 KiB
974	  granularity.
975
976	  IMRs make it possible to control read/write access to an address
977	  by hardware agents inside the SoC. Read and write masks can be
978	  defined for:
979		- eSRAM flush
980		- Dirty CPU snoop (write only)
981		- RMU access
982		- PCI Virtual Channel 0/Virtual Channel 1
983		- SMM mode
984		- Non SMM mode
985
986	  Quark contains a set of eight IMR registers and makes use of those
987	  registers during its bootup process.
988
989	  If you are running on a Galileo/Quark say Y here.
990
991config INTEL_PMC_CORE
992	tristate "Intel PMC Core driver"
993	depends on PCI
994	---help---
995	  The Intel Platform Controller Hub for Intel Core SoCs provides access
996	  to Power Management Controller registers via a PCI interface. This
997	  driver can utilize debugging capabilities and supported features as
998	  exposed by the Power Management Controller.
999
1000	  Supported features:
1001		- SLP_S0_RESIDENCY counter
1002		- PCH IP Power Gating status
1003		- LTR Ignore
1004		- MPHY/PLL gating status (Sunrisepoint PCH only)
1005
1006config IBM_RTL
1007	tristate "Device driver to enable PRTL support"
1008	depends on PCI
1009	---help---
1010	 Enable support for IBM Premium Real Time Mode (PRTM).
1011	 This module will allow you the enter and exit PRTM in the BIOS via
1012	 sysfs on platforms that support this feature.  System in PRTM will
1013	 not receive CPU-generated SMIs for recoverable errors.  Use of this
1014	 feature without proper support may void your hardware warranty.
1015
1016	 If the proper BIOS support is found the driver will load and create
1017	 /sys/devices/system/ibm_rtl/.  The "state" variable will indicate
1018	 whether or not the BIOS is in PRTM.
1019	 state = 0 (BIOS SMIs on)
1020	 state = 1 (BIOS SMIs off)
1021
1022config XO1_RFKILL
1023	tristate "OLPC XO-1 software RF kill switch"
1024	depends on OLPC || COMPILE_TEST
1025	depends on RFKILL
1026	---help---
1027	  Support for enabling/disabling the WLAN interface on the OLPC XO-1
1028	  laptop.
1029
1030config XO15_EBOOK
1031	tristate "OLPC XO-1.5 ebook switch"
1032	depends on OLPC || COMPILE_TEST
1033	depends on ACPI && INPUT
1034	---help---
1035	  Support for the ebook switch on the OLPC XO-1.5 laptop.
1036
1037	  This switch is triggered as the screen is rotated and folded down to
1038	  convert the device into ebook form.
1039
1040config SAMSUNG_LAPTOP
1041	tristate "Samsung Laptop driver"
1042	depends on RFKILL || RFKILL = n
1043	depends on ACPI_VIDEO || ACPI_VIDEO = n
1044	depends on BACKLIGHT_CLASS_DEVICE
1045	select LEDS_CLASS
1046	select NEW_LEDS
1047	---help---
1048	  This module implements a driver for a wide range of different
1049	  Samsung laptops.  It offers control over the different
1050	  function keys, wireless LED, LCD backlight level.
1051
1052	  It may also provide some sysfs files described in
1053	  <file:Documentation/ABI/testing/sysfs-platform-samsung-laptop>
1054
1055	  To compile this driver as a module, choose M here: the module
1056	  will be called samsung-laptop.
1057
1058config MXM_WMI
1059       tristate "WMI support for MXM Laptop Graphics"
1060       depends on ACPI_WMI
1061       ---help---
1062          MXM is a standard for laptop graphics cards, the WMI interface
1063	  is required for switchable nvidia graphics machines
1064
1065config INTEL_OAKTRAIL
1066	tristate "Intel Oaktrail Platform Extras"
1067	depends on ACPI
1068	depends on ACPI_VIDEO || ACPI_VIDEO = n
1069	depends on RFKILL && BACKLIGHT_CLASS_DEVICE && ACPI
1070	---help---
1071	  Intel Oaktrail platform need this driver to provide interfaces to
1072	  enable/disable the Camera, WiFi, BT etc. devices. If in doubt, say Y
1073	  here; it will only load on supported platforms.
1074
1075config SAMSUNG_Q10
1076	tristate "Samsung Q10 Extras"
1077	depends on ACPI
1078	select BACKLIGHT_CLASS_DEVICE
1079	---help---
1080	  This driver provides support for backlight control on Samsung Q10
1081	  and related laptops, including Dell Latitude X200.
1082
1083config APPLE_GMUX
1084	tristate "Apple Gmux Driver"
1085	depends on ACPI
1086	depends on PNP
1087	depends on BACKLIGHT_CLASS_DEVICE
1088	depends on BACKLIGHT_APPLE=n || BACKLIGHT_APPLE
1089	depends on ACPI_VIDEO=n || ACPI_VIDEO
1090	---help---
1091	  This driver provides support for the gmux device found on many
1092	  Apple laptops, which controls the display mux for the hybrid
1093	  graphics as well as the backlight. Currently only backlight
1094	  control is supported by the driver.
1095
1096config INTEL_RST
1097        tristate "Intel Rapid Start Technology Driver"
1098	depends on ACPI
1099	---help---
1100	  This driver provides support for modifying paramaters on systems
1101	  equipped with Intel's Rapid Start Technology. When put in an ACPI
1102	  sleep state, these devices will wake after either a configured
1103	  timeout or when the system battery reaches a critical state,
1104	  automatically copying memory contents to disk. On resume, the
1105	  firmware will copy the memory contents back to RAM and resume the OS
1106	  as usual.
1107
1108config INTEL_SMARTCONNECT
1109        tristate "Intel Smart Connect disabling driver"
1110	depends on ACPI
1111	---help---
1112	  Intel Smart Connect is a technology intended to permit devices to
1113	  update state by resuming for a short period of time at regular
1114	  intervals. If a user enables this functionality under Windows and
1115	  then reboots into Linux, the system may remain configured to resume
1116	  on suspend. In the absence of any userspace to support it, the system
1117	  will then remain awake until something triggers another suspend.
1118
1119	  This driver checks to determine whether the device has Intel Smart
1120	  Connect enabled, and if so disables it.
1121
1122config PVPANIC
1123	tristate "pvpanic device support"
1124	depends on ACPI
1125	---help---
1126	  This driver provides support for the pvpanic device.  pvpanic is
1127	  a paravirtualized device provided by QEMU; it lets a virtual machine
1128	  (guest) communicate panic events to the host.
1129
1130config INTEL_PMC_IPC
1131	tristate "Intel PMC IPC Driver"
1132	depends on ACPI
1133	---help---
1134	This driver provides support for PMC control on some Intel platforms.
1135	The PMC is an ARC processor which defines IPC commands for communication
1136	with other entities in the CPU.
1137
1138config INTEL_BXTWC_PMIC_TMU
1139	tristate "Intel BXT Whiskey Cove TMU Driver"
1140	depends on REGMAP
1141	depends on INTEL_SOC_PMIC_BXTWC && INTEL_PMC_IPC
1142	---help---
1143	  Select this driver to use Intel BXT Whiskey Cove PMIC TMU feature.
1144	  This driver enables the alarm wakeup functionality in the TMU unit
1145	  of Whiskey Cove PMIC.
1146
1147config SURFACE_PRO3_BUTTON
1148	tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet"
1149	depends on ACPI && INPUT
1150	---help---
1151	  This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet.
1152
1153config SURFACE_3_BUTTON
1154	tristate "Power/home/volume buttons driver for Microsoft Surface 3 tablet"
1155	depends on ACPI && KEYBOARD_GPIO && I2C
1156	---help---
1157	  This driver handles the power/home/volume buttons on the Microsoft Surface 3 tablet.
1158
1159config INTEL_PUNIT_IPC
1160	tristate "Intel P-Unit IPC Driver"
1161	---help---
1162	  This driver provides support for Intel P-Unit Mailbox IPC mechanism,
1163	  which is used to bridge the communications between kernel and P-Unit.
1164
1165config INTEL_TELEMETRY
1166	tristate "Intel SoC Telemetry Driver"
1167	depends on INTEL_PMC_IPC && INTEL_PUNIT_IPC && X86_64
1168	---help---
1169	  This driver provides interfaces to configure and use
1170	  telemetry for INTEL SoC from APL onwards. It is also
1171	  used to get various SoC events and parameters
1172	  directly via debugfs files. Various tools may use
1173	  this interface for SoC state monitoring.
1174
1175config MLX_PLATFORM
1176	tristate "Mellanox Technologies platform support"
1177	---help---
1178	  This option enables system support for the Mellanox Technologies
1179	  platform. The Mellanox systems provide data center networking
1180	  solutions based on Virtual Protocol Interconnect (VPI) technology
1181	  enable seamless connectivity to 56/100Gb/s InfiniBand or 10/40/56GbE
1182	  connection.
1183
1184	  If you have a Mellanox system, say Y or M here.
1185
1186config INTEL_TURBO_MAX_3
1187	bool "Intel Turbo Boost Max Technology 3.0 enumeration driver"
1188	depends on X86_64 && SCHED_MC_PRIO
1189	---help---
1190	  This driver reads maximum performance ratio of each CPU and set up
1191	  the scheduler priority metrics. In this way scheduler can prefer
1192	  CPU with higher performance to schedule tasks.
1193	  This driver is only required when the system is not using Hardware
1194	  P-States (HWP). In HWP mode, priority can be read from ACPI tables.
1195
1196config SILEAD_DMI
1197	bool "Tablets with Silead touchscreens"
1198	depends on ACPI && DMI && I2C=y && TOUCHSCREEN_SILEAD
1199	---help---
1200	  Certain ACPI based tablets with Silead touchscreens do not have
1201	  enough data in ACPI tables for the touchscreen driver to handle
1202	  the touchscreen properly, as OEMs expected the data to be baked
1203	  into the tablet model specific version of the driver shipped
1204	  with the OS-image for the device. This option supplies the missing
1205	  information. Enable this for x86 tablets with Silead touchscreens.
1206
1207config INTEL_CHTDC_TI_PWRBTN
1208	tristate "Intel Cherry Trail Dollar Cove TI power button driver"
1209	depends on INTEL_SOC_PMIC_CHTDC_TI
1210	depends on INPUT
1211	---help---
1212	  This option adds a power button driver driver for Dollar Cove TI
1213	  PMIC on Intel Cherry Trail devices.
1214
1215	  To compile this driver as a module, choose M here: the module
1216	  will be called intel_chtdc_ti_pwrbtn.
1217
1218endif # X86_PLATFORM_DEVICES
1219
1220config PMC_ATOM
1221       def_bool y
1222       depends on PCI
1223       select COMMON_CLK
1224