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