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