GNU Linux-libre 5.15.54-gnu
[releases.git] / drivers / platform / x86 / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # X86 Platform Specific Drivers
4 #
5
6 menuconfig 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
17 if X86_PLATFORM_DEVICES
18
19 config 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
40 config 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
52 config 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
69 config 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
80 config MXM_WMI
81        tristate "WMI support for MXM Laptop Graphics"
82        depends on ACPI_WMI
83         help
84           MXM is a standard for laptop graphics cards, the WMI interface
85           is required for switchable nvidia graphics machines
86
87 config PEAQ_WMI
88         tristate "PEAQ 2-in-1 WMI hotkey driver"
89         depends on ACPI_WMI
90         depends on INPUT
91         help
92          Say Y here if you want to support WMI-based hotkeys on PEAQ 2-in-1s.
93
94 config XIAOMI_WMI
95         tristate "Xiaomi WMI key driver"
96         depends on ACPI_WMI
97         depends on INPUT
98         help
99           Say Y here if you want to support WMI-based keys on Xiaomi notebooks.
100
101           To compile this driver as a module, choose M here: the module will
102           be called xiaomi-wmi.
103
104 config GIGABYTE_WMI
105         tristate "Gigabyte WMI temperature driver"
106         depends on ACPI_WMI
107         depends on HWMON
108         help
109           Say Y here if you want to support WMI-based temperature reporting on
110           Gigabyte mainboards.
111
112           To compile this driver as a module, choose M here: the module will
113           be called gigabyte-wmi.
114
115 config ACERHDF
116         tristate "Acer Aspire One temperature and fan driver"
117         depends on ACPI && THERMAL
118         select THERMAL_GOV_BANG_BANG
119         help
120           This is a driver for Acer Aspire One netbooks. It allows to access
121           the temperature sensor and to control the fan.
122
123           After loading this driver the BIOS is still in control of the fan.
124           To let the kernel handle the fan, do:
125           echo -n enabled > /sys/class/thermal/thermal_zoneN/mode
126           where N=0,1,2... depending on the number of thermal nodes and the
127           detection order of your particular system.  The "type" parameter
128           in the same node directory will tell you if it is "acerhdf".
129
130           For more information about this driver see
131           <https://piie.net/files/acerhdf_README.txt>
132
133           If you have an Acer Aspire One netbook, say Y or M
134           here.
135
136 config ACER_WIRELESS
137         tristate "Acer Wireless Radio Control Driver"
138         depends on ACPI
139         depends on INPUT
140         help
141           The Acer Wireless Radio Control handles the airplane mode hotkey
142           present on new Acer laptops.
143
144           Say Y or M here if you have an Acer notebook with an airplane mode
145           hotkey.
146
147           If you choose to compile this driver as a module the module will be
148           called acer-wireless.
149
150 config ACER_WMI
151         tristate "Acer WMI Laptop Extras"
152         depends on ACPI
153         select LEDS_CLASS
154         select NEW_LEDS
155         depends on BACKLIGHT_CLASS_DEVICE
156         depends on SERIO_I8042
157         depends on INPUT
158         depends on RFKILL || RFKILL = n
159         depends on ACPI_WMI
160         select INPUT_SPARSEKMAP
161         # Acer WMI depends on ACPI_VIDEO when ACPI is enabled
162         select ACPI_VIDEO if ACPI
163         help
164           This is a driver for newer Acer (and Wistron) laptops. It adds
165           wireless radio and bluetooth control, and on some laptops,
166           exposes the mail LED and LCD backlight.
167
168           If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M
169           here.
170
171 config AMD_PMC
172         tristate "AMD SoC PMC driver"
173         depends on ACPI && PCI
174         help
175           The driver provides support for AMD Power Management Controller
176           primarily responsible for S2Idle transactions that are driven from
177           a platform firmware running on SMU. This driver also provides a debug
178           mechanism to investigate the S2Idle transactions and failures.
179
180           Say Y or M here if you have a notebook powered by AMD RYZEN CPU/APU.
181
182           If you choose to compile this driver as a module the module will be
183           called amd-pmc.
184
185 config ADV_SWBUTTON
186         tristate "Advantech ACPI Software Button Driver"
187         depends on ACPI && INPUT
188         help
189           Say Y here to enable support for Advantech software defined
190           button feature. More information can be found at
191           <http://www.advantech.com.tw/products/>
192
193           To compile this driver as a module, choose M here. The module will
194           be called adv_swbutton.
195
196 config APPLE_GMUX
197         tristate "Apple Gmux Driver"
198         depends on ACPI && PCI
199         depends on PNP
200         depends on BACKLIGHT_CLASS_DEVICE
201         depends on BACKLIGHT_APPLE=n || BACKLIGHT_APPLE
202         depends on ACPI_VIDEO=n || ACPI_VIDEO
203         help
204           This driver provides support for the gmux device found on many
205           Apple laptops, which controls the display mux for the hybrid
206           graphics as well as the backlight. Currently only backlight
207           control is supported by the driver.
208
209 config ASUS_LAPTOP
210         tristate "Asus Laptop Extras"
211         depends on ACPI
212         select LEDS_CLASS
213         select NEW_LEDS
214         depends on BACKLIGHT_CLASS_DEVICE
215         depends on INPUT
216         depends on RFKILL || RFKILL = n
217         depends on ACPI_VIDEO || ACPI_VIDEO = n
218         select INPUT_SPARSEKMAP
219         help
220           This is a driver for Asus laptops, Lenovo SL and the Pegatron
221           Lucid tablet. It may also support some MEDION, JVC or VICTOR
222           laptops. It makes all the extra buttons generate standard
223           ACPI events and input events, and on the Lucid the built-in
224           accelerometer appears as an input device.  It also adds
225           support for video output switching, LCD backlight control,
226           Bluetooth and Wlan control, and most importantly, allows you
227           to blink those fancy LEDs.
228
229           For more information see <http://acpi4asus.sf.net>.
230
231           If you have an ACPI-compatible ASUS laptop, say Y or M here.
232
233 config ASUS_WIRELESS
234         tristate "Asus Wireless Radio Control Driver"
235         depends on ACPI
236         depends on INPUT
237         select NEW_LEDS
238         select LEDS_CLASS
239         help
240           The Asus Wireless Radio Control handles the airplane mode hotkey
241           present on some Asus laptops.
242
243           Say Y or M here if you have an ASUS notebook with an airplane mode
244           hotkey.
245
246           If you choose to compile this driver as a module the module will be
247           called asus-wireless.
248
249 config ASUS_WMI
250         tristate "ASUS WMI Driver"
251         depends on ACPI_WMI
252         depends on ACPI_BATTERY
253         depends on INPUT
254         depends on HWMON
255         depends on BACKLIGHT_CLASS_DEVICE
256         depends on RFKILL || RFKILL = n
257         depends on HOTPLUG_PCI
258         depends on ACPI_VIDEO || ACPI_VIDEO = n
259         select INPUT_SPARSEKMAP
260         select LEDS_CLASS
261         select NEW_LEDS
262         select ACPI_PLATFORM_PROFILE
263         help
264           Say Y here if you have a WMI aware Asus laptop (like Eee PCs or new
265           Asus Notebooks).
266
267           To compile this driver as a module, choose M here: the module will
268           be called asus-wmi.
269
270 config ASUS_NB_WMI
271         tristate "Asus Notebook WMI Driver"
272         depends on ASUS_WMI
273         depends on SERIO_I8042 || SERIO_I8042 = n
274         help
275           This is a driver for newer Asus notebooks. It adds extra features
276           like wireless radio and bluetooth control, leds, hotkeys, backlight...
277
278           For more information, see
279           <file:Documentation/ABI/testing/sysfs-platform-asus-wmi>
280
281           If you have an ACPI-WMI compatible Asus Notebook, say Y or M
282           here.
283
284 config MERAKI_MX100
285         tristate "Cisco Meraki MX100 Platform Driver"
286         depends on GPIOLIB
287         depends on GPIO_ICH
288         depends on LEDS_CLASS
289         select LEDS_GPIO
290         help
291           This driver provides support for the front button and LEDs on
292           the Cisco Meraki MX100 (Tinkerbell) 1U appliance.
293
294           To compile this driver as a module, choose M here: the module
295           will be called meraki-mx100.
296
297 config EEEPC_LAPTOP
298         tristate "Eee PC Hotkey Driver"
299         depends on ACPI
300         depends on INPUT
301         depends on RFKILL || RFKILL = n
302         depends on ACPI_VIDEO || ACPI_VIDEO = n
303         depends on HOTPLUG_PCI
304         depends on BACKLIGHT_CLASS_DEVICE
305         select HWMON
306         select LEDS_CLASS
307         select NEW_LEDS
308         select INPUT_SPARSEKMAP
309         help
310           This driver supports the Fn-Fx keys on Eee PC laptops.
311
312           It  also gives access to some extra laptop functionalities like
313           Bluetooth, backlight and allows powering on/off some other
314           devices.
315
316           If you have an Eee PC laptop, say Y or M here. If this driver
317           doesn't work on your Eee PC, try eeepc-wmi instead.
318
319 config EEEPC_WMI
320         tristate "Eee PC WMI Driver"
321         depends on ASUS_WMI
322         help
323           This is a driver for newer Eee PC laptops. It adds extra features
324           like wireless radio and bluetooth control, leds, hotkeys, backlight...
325
326           For more information, see
327           <file:Documentation/ABI/testing/sysfs-platform-asus-wmi>
328
329           If you have an ACPI-WMI compatible Eee PC laptop (>= 1000), say Y or M
330           here.
331
332 source "drivers/platform/x86/dell/Kconfig"
333
334 config AMILO_RFKILL
335         tristate "Fujitsu-Siemens Amilo rfkill support"
336         depends on RFKILL
337         depends on SERIO_I8042
338         help
339           This is a driver for enabling wifi on some Fujitsu-Siemens Amilo
340           laptops.
341
342 config FUJITSU_LAPTOP
343         tristate "Fujitsu Laptop Extras"
344         depends on ACPI
345         depends on INPUT
346         depends on BACKLIGHT_CLASS_DEVICE
347         depends on ACPI_VIDEO || ACPI_VIDEO = n
348         select INPUT_SPARSEKMAP
349         select NEW_LEDS
350         select LEDS_CLASS
351         help
352           This is a driver for laptops built by Fujitsu:
353
354             * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks
355             * Possibly other Fujitsu laptop models
356             * Tested with S6410 and S7020
357
358           It adds support for LCD brightness control and some hotkeys.
359
360           If you have a Fujitsu laptop, say Y or M here.
361
362 config FUJITSU_TABLET
363        tristate "Fujitsu Tablet Extras"
364        depends on ACPI
365        depends on INPUT
366         help
367          This is a driver for tablets built by Fujitsu:
368
369            * Lifebook P1510/P1610/P1620/Txxxx
370            * Stylistic ST5xxx
371            * Possibly other Fujitsu tablet models
372
373          It adds support for the panel buttons, docking station detection,
374          tablet/notebook mode detection for convertible and
375          orientation detection for docked slates.
376
377          If you have a Fujitsu convertible or slate, say Y or M here.
378
379 config GPD_POCKET_FAN
380         tristate "GPD Pocket Fan Controller support"
381         depends on ACPI
382         depends on THERMAL
383         help
384           Driver for the GPD Pocket vendor specific FAN02501 ACPI device
385           which controls the fan speed on the GPD Pocket.
386
387           Without this driver the fan on the Pocket will stay off independent
388           of the CPU temperature. Say Y or M if the kernel may be used on a
389           GPD pocket.
390
391 config HP_ACCEL
392         tristate "HP laptop accelerometer"
393         depends on INPUT && ACPI
394         depends on SERIO_I8042
395         select SENSORS_LIS3LV02D
396         select NEW_LEDS
397         select LEDS_CLASS
398         help
399           This driver provides support for the "Mobile Data Protection System 3D"
400           or "3D DriveGuard" feature of HP laptops. On such systems the driver
401           should load automatically (via ACPI alias).
402
403           Support for a led indicating disk protection will be provided as
404           hp::hddprotect. For more information on the feature, refer to
405           Documentation/misc-devices/lis3lv02d.rst.
406
407           To compile this driver as a module, choose M here: the module will
408           be called hp_accel.
409
410 config WIRELESS_HOTKEY
411         tristate "Wireless hotkey button"
412         depends on ACPI
413         depends on INPUT
414         help
415          This driver provides supports for the wireless buttons found on some AMD,
416          HP, & Xioami laptops.
417          On such systems the driver should load automatically (via ACPI alias).
418
419          To compile this driver as a module, choose M here: the module will
420          be called wireless-hotkey.
421
422 config HP_WMI
423         tristate "HP WMI extras"
424         depends on ACPI_WMI
425         depends on INPUT
426         depends on RFKILL || RFKILL = n
427         select INPUT_SPARSEKMAP
428         select ACPI_PLATFORM_PROFILE
429         help
430          Say Y here if you want to support WMI-based hotkeys on HP laptops and
431          to read data from WMI such as docking or ambient light sensor state.
432
433          To compile this driver as a module, choose M here: the module will
434          be called hp-wmi.
435
436 config TC1100_WMI
437         tristate "HP Compaq TC1100 Tablet WMI Extras"
438         depends on !X86_64
439         depends on ACPI
440         depends on ACPI_WMI
441         help
442           This is a driver for the WMI extensions (wireless and bluetooth power
443           control) of the HP Compaq TC1100 tablet.
444
445 config IBM_RTL
446         tristate "Device driver to enable PRTL support"
447         depends on PCI
448         help
449          Enable support for IBM Premium Real Time Mode (PRTM).
450          This module will allow you the enter and exit PRTM in the BIOS via
451          sysfs on platforms that support this feature.  System in PRTM will
452          not receive CPU-generated SMIs for recoverable errors.  Use of this
453          feature without proper support may void your hardware warranty.
454
455          If the proper BIOS support is found the driver will load and create
456          /sys/devices/system/ibm_rtl/.  The "state" variable will indicate
457          whether or not the BIOS is in PRTM.
458          state = 0 (BIOS SMIs on)
459          state = 1 (BIOS SMIs off)
460
461 config IDEAPAD_LAPTOP
462         tristate "Lenovo IdeaPad Laptop Extras"
463         depends on ACPI
464         depends on RFKILL && INPUT
465         depends on SERIO_I8042
466         depends on BACKLIGHT_CLASS_DEVICE
467         depends on ACPI_VIDEO || ACPI_VIDEO = n
468         depends on ACPI_WMI || ACPI_WMI = n
469         select ACPI_PLATFORM_PROFILE
470         select INPUT_SPARSEKMAP
471         select NEW_LEDS
472         select LEDS_CLASS
473         help
474           This is a driver for Lenovo IdeaPad netbooks contains drivers for
475           rfkill switch, hotkey, fan control and backlight control.
476
477 config SENSORS_HDAPS
478         tristate "Thinkpad Hard Drive Active Protection System (hdaps)"
479         depends on INPUT
480         help
481           This driver provides support for the IBM Hard Drive Active Protection
482           System (hdaps), which provides an accelerometer and other misc. data.
483           ThinkPads starting with the R50, T41, and X40 are supported.  The
484           accelerometer data is readable via sysfs.
485
486           This driver also provides an absolute input class device, allowing
487           the laptop to act as a pinball machine-esque joystick.
488
489           If your ThinkPad is not recognized by the driver, please update to latest
490           BIOS. This is especially the case for some R52 ThinkPads.
491
492           Say Y here if you have an applicable laptop and want to experience
493           the awesome power of hdaps.
494
495 config THINKPAD_ACPI
496         tristate "ThinkPad ACPI Laptop Extras"
497         depends on ACPI
498         depends on ACPI_BATTERY
499         depends on INPUT
500         depends on RFKILL || RFKILL = n
501         depends on ACPI_VIDEO || ACPI_VIDEO = n
502         depends on BACKLIGHT_CLASS_DEVICE
503         depends on I2C
504         select ACPI_PLATFORM_PROFILE
505         select HWMON
506         select NVRAM
507         select NEW_LEDS
508         select LEDS_CLASS
509         select LEDS_TRIGGERS
510         select LEDS_TRIGGER_AUDIO
511         help
512           This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
513           support for Fn-Fx key combinations, Bluetooth control, video
514           output switching, ThinkLight control, UltraBay eject and more.
515           For more information about this driver see
516           <file:Documentation/admin-guide/laptops/thinkpad-acpi.rst> and
517           <http://ibm-acpi.sf.net/> .
518
519           This driver was formerly known as ibm-acpi.
520
521           Extra functionality will be available if the rfkill (CONFIG_RFKILL)
522           and/or ALSA (CONFIG_SND) subsystems are available in the kernel.
523           Note that if you want ThinkPad-ACPI to be built-in instead of
524           modular, ALSA and rfkill will also have to be built-in.
525
526           If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
527
528 config THINKPAD_ACPI_ALSA_SUPPORT
529         bool "Console audio control ALSA interface"
530         depends on THINKPAD_ACPI
531         depends on SND
532         depends on SND = y || THINKPAD_ACPI = SND
533         default y
534         help
535           Enables monitoring of the built-in console audio output control
536           (headphone and speakers), which is operated by the mute and (in
537           some ThinkPad models) volume hotkeys.
538
539           If this option is enabled, ThinkPad-ACPI will export an ALSA card
540           with a single read-only mixer control, which should be used for
541           on-screen-display feedback purposes by the Desktop Environment.
542
543           Optionally, the driver will also allow software control (the
544           ALSA mixer will be made read-write).  Please refer to the driver
545           documentation for details.
546
547           All IBM models have both volume and mute control.  Newer Lenovo
548           models only have mute control (the volume hotkeys are just normal
549           keys and volume control is done through the main HDA mixer).
550
551 config THINKPAD_ACPI_DEBUGFACILITIES
552         bool "Maintainer debug facilities"
553         depends on THINKPAD_ACPI
554         help
555           Enables extra stuff in the thinkpad-acpi which is completely useless
556           for normal use.  Read the driver source to find out what it does.
557
558           Say N here, unless you were told by a kernel maintainer to do
559           otherwise.
560
561 config THINKPAD_ACPI_DEBUG
562         bool "Verbose debug mode"
563         depends on THINKPAD_ACPI
564         help
565           Enables extra debugging information, at the expense of a slightly
566           increase in driver size.
567
568           If you are not sure, say N here.
569
570 config THINKPAD_ACPI_UNSAFE_LEDS
571         bool "Allow control of important LEDs (unsafe)"
572         depends on THINKPAD_ACPI
573         help
574           Overriding LED state on ThinkPads can mask important
575           firmware alerts (like critical battery condition), or misled
576           the user into damaging the hardware (undocking or ejecting
577           the bay while buses are still active), etc.
578
579           LED control on the ThinkPad is write-only (with very few
580           exceptions on very ancient models), which makes it
581           impossible to know beforehand if important information will
582           be lost when one changes LED state.
583
584           Users that know what they are doing can enable this option
585           and the driver will allow control of every LED, including
586           the ones on the dock stations.
587
588           Never enable this option on a distribution kernel.
589
590           Say N here, unless you are building a kernel for your own
591           use, and need to control the important firmware LEDs.
592
593 config THINKPAD_ACPI_VIDEO
594         bool "Video output control support"
595         depends on THINKPAD_ACPI
596         default y
597         help
598           Allows the thinkpad_acpi driver to provide an interface to control
599           the various video output ports.
600
601           This feature often won't work well, depending on ThinkPad model,
602           display state, video output devices in use, whether there is a X
603           server running, phase of the moon, and the current mood of
604           Schroedinger's cat.  If you can use X.org's RandR to control
605           your ThinkPad's video output ports instead of this feature,
606           don't think twice: do it and say N here to save memory and avoid
607           bad interactions with X.org.
608
609           NOTE: access to this feature is limited to processes with the
610           CAP_SYS_ADMIN capability, to avoid local DoS issues in platforms
611           where it interacts badly with X.org.
612
613           If you are not sure, say Y here but do try to check if you could
614           be using X.org RandR instead.
615
616 config THINKPAD_ACPI_HOTKEY_POLL
617         bool "Support NVRAM polling for hot keys"
618         depends on THINKPAD_ACPI
619         default y
620         help
621           Some thinkpad models benefit from NVRAM polling to detect a few of
622           the hot key press events.  If you know your ThinkPad model does not
623           need to do NVRAM polling to support any of the hot keys you use,
624           unselecting this option will save about 1kB of memory.
625
626           ThinkPads T40 and newer, R52 and newer, and X31 and newer are
627           unlikely to need NVRAM polling in their latest BIOS versions.
628
629           NVRAM polling can detect at most the following keys: ThinkPad/Access
630           IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
631           Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
632
633           If you are not sure, say Y here.  The driver enables polling only if
634           it is strictly necessary to do so.
635
636 config THINKPAD_LMI
637         tristate "Lenovo WMI-based systems management driver"
638         depends on ACPI_WMI
639         select FW_ATTR_CLASS
640         help
641           This driver allows changing BIOS settings on Lenovo machines whose
642           BIOS support the WMI interface.
643
644           To compile this driver as a module, choose M here: the module will
645           be called think-lmi.
646
647 source "drivers/platform/x86/intel/Kconfig"
648
649 config MSI_LAPTOP
650         tristate "MSI Laptop Extras"
651         depends on ACPI
652         depends on BACKLIGHT_CLASS_DEVICE
653         depends on ACPI_VIDEO || ACPI_VIDEO = n
654         depends on RFKILL
655         depends on INPUT && SERIO_I8042
656         select INPUT_SPARSEKMAP
657         help
658           This is a driver for laptops built by MSI (MICRO-STAR
659           INTERNATIONAL):
660
661           MSI MegaBook S270 (MS-1013)
662           Cytron/TCM/Medion/Tchibo MD96100/SAM2000
663
664           It adds support for Bluetooth, WLAN and LCD brightness control.
665
666           More information about this driver is available at
667           <http://0pointer.de/lennart/tchibo.html>.
668
669           If you have an MSI S270 laptop, say Y or M here.
670
671 config MSI_WMI
672         tristate "MSI WMI extras"
673         depends on ACPI_WMI
674         depends on INPUT
675         depends on BACKLIGHT_CLASS_DEVICE
676         depends on ACPI_VIDEO || ACPI_VIDEO = n
677         select INPUT_SPARSEKMAP
678         help
679          Say Y here if you want to support WMI-based hotkeys on MSI laptops.
680
681          To compile this driver as a module, choose M here: the module will
682          be called msi-wmi.
683
684 config XO15_EBOOK
685         tristate "OLPC XO-1.5 ebook switch"
686         depends on OLPC || COMPILE_TEST
687         depends on ACPI && INPUT
688         help
689           Support for the ebook switch on the OLPC XO-1.5 laptop.
690
691           This switch is triggered as the screen is rotated and folded down to
692           convert the device into ebook form.
693
694 config XO1_RFKILL
695         tristate "OLPC XO-1 software RF kill switch"
696         depends on OLPC || COMPILE_TEST
697         depends on RFKILL
698         help
699           Support for enabling/disabling the WLAN interface on the OLPC XO-1
700           laptop.
701
702 config PCENGINES_APU2
703         tristate "PC Engines APUv2/3 front button and LEDs driver"
704         depends on INPUT && INPUT_KEYBOARD && GPIOLIB
705         depends on LEDS_CLASS
706         select GPIO_AMD_FCH
707         select KEYBOARD_GPIO_POLLED
708         select LEDS_GPIO
709         help
710           This driver provides support for the front button and LEDs on
711           PC Engines APUv2/APUv3 board.
712
713           To compile this driver as a module, choose M here: the module
714           will be called pcengines-apuv2.
715
716 config SAMSUNG_LAPTOP
717         tristate "Samsung Laptop driver"
718         depends on RFKILL || RFKILL = n
719         depends on ACPI_VIDEO || ACPI_VIDEO = n
720         depends on BACKLIGHT_CLASS_DEVICE
721         select LEDS_CLASS
722         select NEW_LEDS
723         help
724           This module implements a driver for a wide range of different
725           Samsung laptops.  It offers control over the different
726           function keys, wireless LED, LCD backlight level.
727
728           It may also provide some sysfs files described in
729           <file:Documentation/ABI/testing/sysfs-driver-samsung-laptop>
730
731           To compile this driver as a module, choose M here: the module
732           will be called samsung-laptop.
733
734 config SAMSUNG_Q10
735         tristate "Samsung Q10 Extras"
736         depends on ACPI
737         select BACKLIGHT_CLASS_DEVICE
738         help
739           This driver provides support for backlight control on Samsung Q10
740           and related laptops, including Dell Latitude X200.
741
742 config ACPI_TOSHIBA
743         tristate "Toshiba Laptop Extras"
744         depends on ACPI
745         depends on ACPI_WMI
746         select LEDS_CLASS
747         select NEW_LEDS
748         depends on BACKLIGHT_CLASS_DEVICE
749         depends on INPUT
750         depends on SERIO_I8042 || SERIO_I8042 = n
751         depends on ACPI_VIDEO || ACPI_VIDEO = n
752         depends on RFKILL || RFKILL = n
753         depends on IIO
754         select INPUT_SPARSEKMAP
755         help
756           This driver adds support for access to certain system settings
757           on "legacy free" Toshiba laptops.  These laptops can be recognized by
758           their lack of a BIOS setup menu and APM support.
759
760           On these machines, all system configuration is handled through the
761           ACPI.  This driver is required for access to controls not covered
762           by the general ACPI drivers, such as LCD brightness, video output,
763           etc.
764
765           This driver differs from the non-ACPI Toshiba laptop driver (located
766           under "Processor type and features") in several aspects.
767           Configuration is accessed by reading and writing text files in the
768           /proc tree instead of by program interface to /dev.  Furthermore, no
769           power management functions are exposed, as those are handled by the
770           general ACPI drivers.
771
772           More information about this driver is available at
773           <http://memebeam.org/toys/ToshibaAcpiDriver>.
774
775           If you have a legacy free Toshiba laptop (such as the Libretto L1
776           series), say Y.
777
778 config TOSHIBA_BT_RFKILL
779         tristate "Toshiba Bluetooth RFKill switch support"
780         depends on ACPI
781         depends on RFKILL || RFKILL = n
782         help
783           This driver adds support for Bluetooth events for the RFKill
784           switch on modern Toshiba laptops with full ACPI support and
785           an RFKill switch.
786
787           This driver handles RFKill events for the TOS6205 Bluetooth,
788           and re-enables it when the switch is set back to the 'on'
789           position.
790
791           If you have a modern Toshiba laptop with a Bluetooth and an
792           RFKill switch (such as the Portege R500), say Y.
793
794 config TOSHIBA_HAPS
795         tristate "Toshiba HDD Active Protection Sensor"
796         depends on ACPI
797         help
798           This driver adds support for the built-in accelerometer
799           found on recent Toshiba laptops equipped with HID TOS620A
800           device.
801
802           This driver receives ACPI notify events 0x80 when the sensor
803           detects a sudden move or a harsh vibration, as well as an
804           ACPI notify event 0x81 whenever the movement or vibration has
805           been stabilized.
806
807           Also provides sysfs entries to get/set the desired protection
808           level and resetting the HDD protection interface.
809
810           If you have a recent Toshiba laptop with a built-in accelerometer
811           device, say Y.
812
813 config TOSHIBA_WMI
814         tristate "Toshiba WMI Hotkeys Driver (EXPERIMENTAL)"
815         depends on ACPI_WMI
816         depends on INPUT
817         select INPUT_SPARSEKMAP
818         help
819           This driver adds hotkey monitoring support to some Toshiba models
820           that manage the hotkeys via WMI events.
821
822           WARNING: This driver is incomplete as it lacks a proper keymap and the
823           *notify function only prints the ACPI event type value. Be warned that
824           you will need to provide some information if you have a Toshiba model
825           with WMI event hotkeys and want to help with the development of this
826           driver.
827
828           If you have a WMI-based hotkeys Toshiba laptop, say Y or M here.
829
830 config ACPI_CMPC
831         tristate "CMPC Laptop Extras"
832         depends on ACPI && INPUT
833         depends on RFKILL || RFKILL=n
834         select BACKLIGHT_CLASS_DEVICE
835         help
836           Support for Intel Classmate PC ACPI devices, including some
837           keys as input device, backlight device, tablet and accelerometer
838           devices.
839
840 config COMPAL_LAPTOP
841         tristate "Compal (and others) Laptop Extras"
842         depends on ACPI
843         depends on BACKLIGHT_CLASS_DEVICE
844         depends on ACPI_VIDEO || ACPI_VIDEO = n
845         depends on RFKILL
846         depends on HWMON
847         depends on POWER_SUPPLY
848         help
849           This is a driver for laptops built by Compal, and some models by
850           other brands (e.g. Dell, Toshiba).
851
852           It adds support for rfkill, Bluetooth, WLAN, LCD brightness, hwmon
853           and battery charging level control.
854
855 config LG_LAPTOP
856         tristate "LG Laptop Extras"
857         depends on ACPI
858         depends on ACPI_WMI
859         depends on INPUT
860         select INPUT_SPARSEKMAP
861         select NEW_LEDS
862         select LEDS_CLASS
863         help
864          This driver adds support for hotkeys as well as control of keyboard
865          backlight, battery maximum charge level and various other ACPI
866          features.
867
868          If you have an LG Gram laptop, say Y or M here.
869
870 config PANASONIC_LAPTOP
871         tristate "Panasonic Laptop Extras"
872         depends on INPUT && ACPI
873         depends on BACKLIGHT_CLASS_DEVICE
874         depends on ACPI_VIDEO=n || ACPI_VIDEO
875         depends on SERIO_I8042 || SERIO_I8042 = n
876         select INPUT_SPARSEKMAP
877         help
878           This driver adds support for access to backlight control and hotkeys
879           on Panasonic Let's Note laptops.
880
881           If you have a Panasonic Let's note laptop (such as the R1(N variant),
882           R2, R3, R5, T2, W2 and Y2 series), say Y.
883
884 config SONY_LAPTOP
885         tristate "Sony Laptop Extras"
886         depends on ACPI
887         depends on ACPI_VIDEO || ACPI_VIDEO = n
888         depends on BACKLIGHT_CLASS_DEVICE
889         depends on INPUT
890         depends on RFKILL
891         help
892           This mini-driver drives the SNC and SPIC devices present in the ACPI
893           BIOS of the Sony Vaio laptops.
894
895           It gives access to some extra laptop functionalities like Bluetooth,
896           screen brightness control, Fn keys and allows powering on/off some
897           devices.
898
899           Read <file:Documentation/admin-guide/laptops/sony-laptop.rst> for more information.
900
901 config SONYPI_COMPAT
902         bool "Sonypi compatibility"
903         depends on SONY_LAPTOP
904         help
905           Build the sonypi driver compatibility code into the sony-laptop driver.
906
907 config SYSTEM76_ACPI
908         tristate "System76 ACPI Driver"
909         depends on ACPI
910         select NEW_LEDS
911         select LEDS_CLASS
912         select LEDS_TRIGGERS
913         help
914           This is a driver for System76 laptops running open firmware. It adds
915           support for Fn-Fx key combinations, keyboard backlight, and airplane mode
916           LEDs.
917
918           If you have a System76 laptop running open firmware, say Y or M here.
919
920 config TOPSTAR_LAPTOP
921         tristate "Topstar Laptop Extras"
922         depends on ACPI
923         depends on INPUT
924         select INPUT_SPARSEKMAP
925         select LEDS_CLASS
926         select NEW_LEDS
927         help
928           This driver adds support for hotkeys found on Topstar laptops.
929
930           If you have a Topstar laptop, say Y or M here.
931
932 config I2C_MULTI_INSTANTIATE
933         tristate "I2C multi instantiate pseudo device driver"
934         depends on I2C && ACPI
935         help
936           Some ACPI-based systems list multiple i2c-devices in a single ACPI
937           firmware-node. This driver will instantiate separate i2c-clients
938           for each device in the firmware-node.
939
940           To compile this driver as a module, choose M here: the module
941           will be called i2c-multi-instantiate.
942
943 config MLX_PLATFORM
944         tristate "Mellanox Technologies platform support"
945         depends on I2C && REGMAP
946         help
947           This option enables system support for the Mellanox Technologies
948           platform. The Mellanox systems provide data center networking
949           solutions based on Virtual Protocol Interconnect (VPI) technology
950           enable seamless connectivity to 56/100Gb/s InfiniBand or 10/40/56GbE
951           connection.
952
953           If you have a Mellanox system, say Y or M here.
954
955 config TOUCHSCREEN_DMI
956         bool "DMI based touchscreen configuration info"
957         depends on ACPI && DMI && I2C=y && TOUCHSCREEN_SILEAD
958         select EFI_EMBEDDED_FIRMWARE if EFI
959         help
960           Certain ACPI based tablets with e.g. Silead or Chipone touchscreens
961           do not have enough data in ACPI tables for the touchscreen driver to
962           handle the touchscreen properly, as OEMs expect the data to be baked
963           into the tablet model specific version of the driver shipped with the
964           the OS-image for the device. This option supplies the missing info.
965           Enable this for x86 tablets with Silead or Chipone touchscreens.
966
967 config FW_ATTR_CLASS
968         tristate
969
970 config INTEL_IMR
971         bool "Intel Isolated Memory Region support"
972         depends on X86_INTEL_QUARK && IOSF_MBI
973         help
974           This option provides a means to manipulate Isolated Memory Regions.
975           IMRs are a set of registers that define read and write access masks
976           to prohibit certain system agents from accessing memory with 1 KiB
977           granularity.
978
979           IMRs make it possible to control read/write access to an address
980           by hardware agents inside the SoC. Read and write masks can be
981           defined for:
982                 - eSRAM flush
983                 - Dirty CPU snoop (write only)
984                 - RMU access
985                 - PCI Virtual Channel 0/Virtual Channel 1
986                 - SMM mode
987                 - Non SMM mode
988
989           Quark contains a set of eight IMR registers and makes use of those
990           registers during its bootup process.
991
992           If you are running on a Galileo/Quark say Y here.
993
994 config INTEL_IPS
995         tristate "Intel Intelligent Power Sharing"
996         depends on ACPI && PCI
997         help
998           Intel Calpella platforms support dynamic power sharing between the
999           CPU and GPU, maximizing performance in a given TDP.  This driver,
1000           along with the CPU frequency and i915 drivers, provides that
1001           functionality.  If in doubt, say Y here; it will only load on
1002           supported platforms.
1003
1004 config INTEL_SCU_IPC
1005         bool
1006
1007 config INTEL_SCU
1008         bool
1009         select INTEL_SCU_IPC
1010
1011 config INTEL_SCU_PCI
1012         bool "Intel SCU PCI driver"
1013         depends on PCI
1014         select INTEL_SCU
1015         help
1016           This driver is used to bridge the communications between kernel
1017           and SCU on some embedded Intel x86 platforms. It also creates
1018           devices that are connected to the SoC through the SCU.
1019           Platforms supported:
1020             Medfield
1021             Clovertrail
1022             Merrifield
1023             Broxton
1024             Apollo Lake
1025
1026 config INTEL_SCU_PLATFORM
1027         tristate "Intel SCU platform driver"
1028         depends on ACPI
1029         select INTEL_SCU
1030         help
1031           This driver is used to bridge the communications between kernel
1032           and SCU (sometimes called PMC as well). The driver currently
1033           supports Intel Elkhart Lake and compatible platforms.
1034
1035 config INTEL_SCU_WDT
1036         bool
1037         default INTEL_SCU_PCI
1038         depends on INTEL_MID_WATCHDOG
1039         help
1040           This is a specific platform code to instantiate watchdog device
1041           on ACPI-based Intel MID platforms.
1042
1043 config INTEL_SCU_IPC_UTIL
1044         tristate "Intel SCU IPC utility driver"
1045         depends on INTEL_SCU
1046         help
1047           The IPC Util driver provides an interface with the SCU enabling
1048           low level access for debug work and updating the firmware. Say
1049           N unless you will be doing this on an Intel MID platform.
1050
1051 endif # X86_PLATFORM_DEVICES
1052
1053 config PMC_ATOM
1054        def_bool y
1055        depends on PCI
1056        select COMMON_CLK