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