xref: /openbmc/linux/drivers/platform/x86/Kconfig (revision 6e9b7cd6)
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 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
87config NVIDIA_WMI_EC_BACKLIGHT
88	tristate "EC Backlight Driver for Hybrid Graphics Notebook Systems"
89	depends on ACPI_VIDEO
90	depends on ACPI_WMI
91	depends on BACKLIGHT_CLASS_DEVICE
92	help
93	  This driver provides a sysfs backlight interface for notebook systems
94	  which are equipped with NVIDIA hybrid graphics and drive LCD backlight
95	  levels through the Embedded Controller (EC).
96
97	  Say Y or M here if you want to control the backlight on a notebook
98	  system with an EC-driven backlight.
99
100	  If you choose to compile this driver as a module the module will be
101	  called nvidia-wmi-ec-backlight.
102
103config XIAOMI_WMI
104	tristate "Xiaomi WMI key driver"
105	depends on ACPI_WMI
106	depends on INPUT
107	help
108	  Say Y here if you want to support WMI-based keys on Xiaomi notebooks.
109
110	  To compile this driver as a module, choose M here: the module will
111	  be called xiaomi-wmi.
112
113config GIGABYTE_WMI
114	tristate "Gigabyte WMI temperature driver"
115	depends on ACPI_WMI
116	depends on HWMON
117	help
118	  Say Y here if you want to support WMI-based temperature reporting on
119	  Gigabyte mainboards.
120
121	  To compile this driver as a module, choose M here: the module will
122	  be called gigabyte-wmi.
123
124config YOGABOOK_WMI
125	tristate "Lenovo Yoga Book tablet WMI key driver"
126	depends on ACPI_WMI
127	depends on INPUT
128	select LEDS_CLASS
129	select NEW_LEDS
130	help
131	  Say Y here if you want to support the 'Pen' key and keyboard backlight
132	  control on the Lenovo Yoga Book tablets.
133
134	  To compile this driver as a module, choose M here: the module will
135	  be called lenovo-yogabook-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 BACKLIGHT_CLASS_DEVICE
175	depends on SERIO_I8042
176	depends on INPUT
177	depends on RFKILL || RFKILL = n
178	depends on ACPI_WMI
179	select ACPI_VIDEO
180	select INPUT_SPARSEKMAP
181	select LEDS_CLASS
182	select NEW_LEDS
183	help
184	  This is a driver for newer Acer (and Wistron) laptops. It adds
185	  wireless radio and bluetooth control, and on some laptops,
186	  exposes the mail LED and LCD backlight.
187
188	  If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M
189	  here.
190
191source "drivers/platform/x86/amd/Kconfig"
192
193config ADV_SWBUTTON
194	tristate "Advantech ACPI Software Button Driver"
195	depends on ACPI && INPUT
196	help
197	  Say Y here to enable support for Advantech software defined
198	  button feature. More information can be found at
199	  <http://www.advantech.com.tw/products/>
200
201	  To compile this driver as a module, choose M here. The module will
202	  be called adv_swbutton.
203
204config APPLE_GMUX
205	tristate "Apple Gmux Driver"
206	depends on ACPI && PCI
207	depends on PNP
208	depends on BACKLIGHT_CLASS_DEVICE
209	help
210	  This driver provides support for the gmux device found on many
211	  Apple laptops, which controls the display mux for the hybrid
212	  graphics as well as the backlight. Currently only backlight
213	  control is supported by the driver.
214
215config ASUS_LAPTOP
216	tristate "Asus Laptop Extras"
217	depends on ACPI
218	select LEDS_CLASS
219	select NEW_LEDS
220	depends on BACKLIGHT_CLASS_DEVICE
221	depends on INPUT
222	depends on RFKILL || RFKILL = n
223	depends on ACPI_VIDEO || ACPI_VIDEO = n
224	select INPUT_SPARSEKMAP
225	help
226	  This is a driver for Asus laptops, Lenovo SL and the Pegatron
227	  Lucid tablet. It may also support some MEDION, JVC or VICTOR
228	  laptops. It makes all the extra buttons generate standard
229	  ACPI events and input events, and on the Lucid the built-in
230	  accelerometer appears as an input device.  It also adds
231	  support for video output switching, LCD backlight control,
232	  Bluetooth and Wlan control, and most importantly, allows you
233	  to blink those fancy LEDs.
234
235	  For more information see <http://acpi4asus.sf.net>.
236
237	  If you have an ACPI-compatible ASUS laptop, say Y or M here.
238
239config ASUS_WIRELESS
240	tristate "Asus Wireless Radio Control Driver"
241	depends on ACPI
242	depends on INPUT
243	select NEW_LEDS
244	select LEDS_CLASS
245	help
246	  The Asus Wireless Radio Control handles the airplane mode hotkey
247	  present on some Asus laptops.
248
249	  Say Y or M here if you have an ASUS notebook with an airplane mode
250	  hotkey.
251
252	  If you choose to compile this driver as a module the module will be
253	  called asus-wireless.
254
255config ASUS_WMI
256	tristate "ASUS WMI Driver"
257	depends on ACPI_WMI
258	depends on ACPI_BATTERY
259	depends on INPUT
260	depends on HWMON
261	depends on BACKLIGHT_CLASS_DEVICE
262	depends on RFKILL || RFKILL = n
263	depends on HOTPLUG_PCI
264	depends on ACPI_VIDEO || ACPI_VIDEO = n
265	select INPUT_SPARSEKMAP
266	select LEDS_CLASS
267	select NEW_LEDS
268	select LEDS_TRIGGERS
269	select LEDS_TRIGGER_AUDIO
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	depends on SERIO_I8042 || SERIO_I8042 = n
282	help
283	  This is a driver for newer Asus notebooks. It adds extra features
284	  like wireless radio and bluetooth control, leds, hotkeys, backlight...
285
286	  For more information, see
287	  <file:Documentation/ABI/testing/sysfs-platform-asus-wmi>
288
289	  If you have an ACPI-WMI compatible Asus Notebook, say Y or M
290	  here.
291
292config ASUS_TF103C_DOCK
293	tristate "Asus TF103C 2-in-1 keyboard dock"
294	depends on ACPI
295	depends on I2C
296	depends on INPUT
297	depends on HID
298	depends on GPIOLIB
299	help
300	  This is a driver for the keyboard, touchpad and USB port of the
301	  keyboard dock for the Asus TF103C 2-in-1 tablet.
302
303	  This keyboard dock has its own I2C attached embedded controller
304	  and the keyboard and touchpad are also connected over I2C,
305	  instead of using the usual USB connection. This means that the
306	  keyboard dock requires this special driver to function.
307
308	  If you have an Asus TF103C tablet say Y or M here, for a generic x86
309	  distro config say M here.
310
311config MERAKI_MX100
312	tristate "Cisco Meraki MX100 Platform Driver"
313	depends on GPIOLIB
314	depends on GPIO_ICH
315	depends on LEDS_CLASS
316	select LEDS_GPIO
317	help
318	  This driver provides support for the front button and LEDs on
319	  the Cisco Meraki MX100 (Tinkerbell) 1U appliance.
320
321	  To compile this driver as a module, choose M here: the module
322	  will be called meraki-mx100.
323
324config EEEPC_LAPTOP
325	tristate "Eee PC Hotkey Driver"
326	depends on ACPI
327	depends on INPUT
328	depends on RFKILL || RFKILL = n
329	depends on ACPI_VIDEO || ACPI_VIDEO = n
330	depends on HOTPLUG_PCI
331	depends on BACKLIGHT_CLASS_DEVICE
332	select HWMON
333	select LEDS_CLASS
334	select NEW_LEDS
335	select INPUT_SPARSEKMAP
336	help
337	  This driver supports the Fn-Fx keys on Eee PC laptops.
338
339	  It  also gives access to some extra laptop functionalities like
340	  Bluetooth, backlight and allows powering on/off some other
341	  devices.
342
343	  If you have an Eee PC laptop, say Y or M here. If this driver
344	  doesn't work on your Eee PC, try eeepc-wmi instead.
345
346config EEEPC_WMI
347	tristate "Eee PC WMI Driver"
348	depends on ASUS_WMI
349	help
350	  This is a driver for newer Eee PC laptops. It adds extra features
351	  like wireless radio and bluetooth control, leds, hotkeys, backlight...
352
353	  For more information, see
354	  <file:Documentation/ABI/testing/sysfs-platform-asus-wmi>
355
356	  If you have an ACPI-WMI compatible Eee PC laptop (>= 1000), say Y or M
357	  here.
358
359source "drivers/platform/x86/dell/Kconfig"
360
361config AMILO_RFKILL
362	tristate "Fujitsu-Siemens Amilo rfkill support"
363	depends on RFKILL
364	depends on SERIO_I8042
365	help
366	  This is a driver for enabling wifi on some Fujitsu-Siemens Amilo
367	  laptops.
368
369config FUJITSU_LAPTOP
370	tristate "Fujitsu Laptop Extras"
371	depends on ACPI
372	depends on INPUT
373	depends on BACKLIGHT_CLASS_DEVICE
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	select LEDS_TRIGGERS
508	select LEDS_TRIGGER_AUDIO
509	help
510	  This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
511	  support for Fn-Fx key combinations, Bluetooth control, video
512	  output switching, ThinkLight control, UltraBay eject and more.
513	  For more information about this driver see
514	  <file:Documentation/admin-guide/laptops/thinkpad-acpi.rst> and
515	  <http://ibm-acpi.sf.net/> .
516
517	  This driver was formerly known as ibm-acpi.
518
519	  Extra functionality will be available if the rfkill (CONFIG_RFKILL)
520	  and/or ALSA (CONFIG_SND) subsystems are available in the kernel.
521	  Note that if you want ThinkPad-ACPI to be built-in instead of
522	  modular, ALSA and rfkill will also have to be built-in.
523
524	  If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
525
526config THINKPAD_ACPI_ALSA_SUPPORT
527	bool "Console audio control ALSA interface"
528	depends on THINKPAD_ACPI
529	depends on SND
530	depends on SND = y || THINKPAD_ACPI = SND
531	default y
532	help
533	  Enables monitoring of the built-in console audio output control
534	  (headphone and speakers), which is operated by the mute and (in
535	  some ThinkPad models) volume hotkeys.
536
537	  If this option is enabled, ThinkPad-ACPI will export an ALSA card
538	  with a single read-only mixer control, which should be used for
539	  on-screen-display feedback purposes by the Desktop Environment.
540
541	  Optionally, the driver will also allow software control (the
542	  ALSA mixer will be made read-write).  Please refer to the driver
543	  documentation for details.
544
545	  All IBM models have both volume and mute control.  Newer Lenovo
546	  models only have mute control (the volume hotkeys are just normal
547	  keys and volume control is done through the main HDA mixer).
548
549config THINKPAD_ACPI_DEBUGFACILITIES
550	bool "Maintainer debug facilities"
551	depends on THINKPAD_ACPI
552	help
553	  Enables extra stuff in the thinkpad-acpi which is completely useless
554	  for normal use.  Read the driver source to find out what it does.
555
556	  Say N here, unless you were told by a kernel maintainer to do
557	  otherwise.
558
559config THINKPAD_ACPI_DEBUG
560	bool "Verbose debug mode"
561	depends on THINKPAD_ACPI
562	help
563	  Enables extra debugging information, at the expense of a slightly
564	  increase in driver size.
565
566	  If you are not sure, say N here.
567
568config THINKPAD_ACPI_UNSAFE_LEDS
569	bool "Allow control of important LEDs (unsafe)"
570	depends on THINKPAD_ACPI
571	help
572	  Overriding LED state on ThinkPads can mask important
573	  firmware alerts (like critical battery condition), or misled
574	  the user into damaging the hardware (undocking or ejecting
575	  the bay while buses are still active), etc.
576
577	  LED control on the ThinkPad is write-only (with very few
578	  exceptions on very ancient models), which makes it
579	  impossible to know beforehand if important information will
580	  be lost when one changes LED state.
581
582	  Users that know what they are doing can enable this option
583	  and the driver will allow control of every LED, including
584	  the ones on the dock stations.
585
586	  Never enable this option on a distribution kernel.
587
588	  Say N here, unless you are building a kernel for your own
589	  use, and need to control the important firmware LEDs.
590
591config THINKPAD_ACPI_VIDEO
592	bool "Video output control support"
593	depends on THINKPAD_ACPI
594	default y
595	help
596	  Allows the thinkpad_acpi driver to provide an interface to control
597	  the various video output ports.
598
599	  This feature often won't work well, depending on ThinkPad model,
600	  display state, video output devices in use, whether there is a X
601	  server running, phase of the moon, and the current mood of
602	  Schroedinger's cat.  If you can use X.org's RandR to control
603	  your ThinkPad's video output ports instead of this feature,
604	  don't think twice: do it and say N here to save memory and avoid
605	  bad interactions with X.org.
606
607	  NOTE: access to this feature is limited to processes with the
608	  CAP_SYS_ADMIN capability, to avoid local DoS issues in platforms
609	  where it interacts badly with X.org.
610
611	  If you are not sure, say Y here but do try to check if you could
612	  be using X.org RandR instead.
613
614config THINKPAD_ACPI_HOTKEY_POLL
615	bool "Support NVRAM polling for hot keys"
616	depends on THINKPAD_ACPI
617	default y
618	help
619	  Some thinkpad models benefit from NVRAM polling to detect a few of
620	  the hot key press events.  If you know your ThinkPad model does not
621	  need to do NVRAM polling to support any of the hot keys you use,
622	  unselecting this option will save about 1kB of memory.
623
624	  ThinkPads T40 and newer, R52 and newer, and X31 and newer are
625	  unlikely to need NVRAM polling in their latest BIOS versions.
626
627	  NVRAM polling can detect at most the following keys: ThinkPad/Access
628	  IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
629	  Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
630
631	  If you are not sure, say Y here.  The driver enables polling only if
632	  it is strictly necessary to do so.
633
634config THINKPAD_LMI
635	tristate "Lenovo WMI-based systems management driver"
636	depends on ACPI_WMI
637	select FW_ATTR_CLASS
638	help
639	  This driver allows changing BIOS settings on Lenovo machines whose
640	  BIOS support the WMI interface.
641
642	  To compile this driver as a module, choose M here: the module will
643	  be called think-lmi.
644
645source "drivers/platform/x86/intel/Kconfig"
646
647config MSI_EC
648	tristate "MSI EC Extras"
649	depends on ACPI
650	depends on ACPI_BATTERY
651	help
652	  This driver allows various MSI laptops' functionalities to be
653	  controlled from userspace, including battery charge threshold.
654
655config MSI_LAPTOP
656	tristate "MSI Laptop Extras"
657	depends on ACPI
658	depends on BACKLIGHT_CLASS_DEVICE
659	depends on ACPI_VIDEO || ACPI_VIDEO = n
660	depends on RFKILL
661	depends on INPUT && SERIO_I8042
662	select INPUT_SPARSEKMAP
663	help
664	  This is a driver for laptops built by MSI (MICRO-STAR
665	  INTERNATIONAL):
666
667	  MSI MegaBook S270 (MS-1013)
668	  Cytron/TCM/Medion/Tchibo MD96100/SAM2000
669
670	  It adds support for Bluetooth, WLAN and LCD brightness control.
671
672	  More information about this driver is available at
673	  <http://0pointer.de/lennart/tchibo.html>.
674
675	  If you have an MSI S270 laptop, say Y or M here.
676
677config MSI_WMI
678	tristate "MSI WMI extras"
679	depends on ACPI_WMI
680	depends on INPUT
681	depends on BACKLIGHT_CLASS_DEVICE
682	depends on ACPI_VIDEO || ACPI_VIDEO = n
683	select INPUT_SPARSEKMAP
684	help
685	 Say Y here if you want to support WMI-based hotkeys on MSI laptops.
686
687	 To compile this driver as a module, choose M here: the module will
688	 be called msi-wmi.
689
690config XO15_EBOOK
691	tristate "OLPC XO-1.5 ebook switch"
692	depends on OLPC || COMPILE_TEST
693	depends on ACPI && INPUT
694	help
695	  Support for the ebook switch on the OLPC XO-1.5 laptop.
696
697	  This switch is triggered as the screen is rotated and folded down to
698	  convert the device into ebook form.
699
700config XO1_RFKILL
701	tristate "OLPC XO-1 software RF kill switch"
702	depends on OLPC || COMPILE_TEST
703	depends on RFKILL
704	help
705	  Support for enabling/disabling the WLAN interface on the OLPC XO-1
706	  laptop.
707
708config PCENGINES_APU2
709	tristate "PC Engines APUv2/3 front button and LEDs driver"
710	depends on INPUT && INPUT_KEYBOARD && GPIOLIB
711	depends on LEDS_CLASS
712	select GPIO_AMD_FCH
713	select KEYBOARD_GPIO_POLLED
714	select LEDS_GPIO
715	help
716	  This driver provides support for the front button and LEDs on
717	  PC Engines APUv2/APUv3 board.
718
719	  To compile this driver as a module, choose M here: the module
720	  will be called pcengines-apuv2.
721
722config BARCO_P50_GPIO
723	tristate "Barco P50 GPIO driver for identify LED/button"
724	depends on GPIOLIB
725	help
726	  This driver provides access to the GPIOs for the identify button
727	  and led present on Barco P50 board.
728
729	  To compile this driver as a module, choose M here: the module
730	  will be called barco-p50-gpio.
731
732config SAMSUNG_LAPTOP
733	tristate "Samsung Laptop driver"
734	depends on RFKILL || RFKILL = n
735	depends on ACPI_VIDEO || ACPI_VIDEO = n
736	depends on BACKLIGHT_CLASS_DEVICE
737	select LEDS_CLASS
738	select NEW_LEDS
739	help
740	  This module implements a driver for a wide range of different
741	  Samsung laptops.  It offers control over the different
742	  function keys, wireless LED, LCD backlight level.
743
744	  It may also provide some sysfs files described in
745	  <file:Documentation/ABI/testing/sysfs-driver-samsung-laptop>
746
747	  To compile this driver as a module, choose M here: the module
748	  will be called samsung-laptop.
749
750config SAMSUNG_Q10
751	tristate "Samsung Q10 Extras"
752	depends on ACPI
753	select BACKLIGHT_CLASS_DEVICE
754	help
755	  This driver provides support for backlight control on Samsung Q10
756	  and related laptops, including Dell Latitude X200.
757
758config ACPI_TOSHIBA
759	tristate "Toshiba Laptop Extras"
760	depends on ACPI
761	depends on ACPI_BATTERY
762	depends on ACPI_WMI
763	select LEDS_CLASS
764	select NEW_LEDS
765	depends on BACKLIGHT_CLASS_DEVICE
766	depends on INPUT
767	depends on SERIO_I8042 || SERIO_I8042 = n
768	depends on ACPI_VIDEO || ACPI_VIDEO = n
769	depends on HWMON || HWMON = n
770	depends on RFKILL || RFKILL = n
771	depends on IIO
772	select INPUT_SPARSEKMAP
773	help
774	  This driver adds support for access to certain system settings
775	  on "legacy free" Toshiba laptops.  These laptops can be recognized by
776	  their lack of a BIOS setup menu and APM support.
777
778	  On these machines, all system configuration is handled through the
779	  ACPI.  This driver is required for access to controls not covered
780	  by the general ACPI drivers, such as LCD brightness, video output,
781	  etc.
782
783	  This driver differs from the non-ACPI Toshiba laptop driver (located
784	  under "Processor type and features") in several aspects.
785	  Configuration is accessed by reading and writing text files in the
786	  /proc tree instead of by program interface to /dev.  Furthermore, no
787	  power management functions are exposed, as those are handled by the
788	  general ACPI drivers.
789
790	  More information about this driver is available at
791	  <http://memebeam.org/toys/ToshibaAcpiDriver>.
792
793	  If you have a legacy free Toshiba laptop (such as the Libretto L1
794	  series), say Y.
795
796config TOSHIBA_BT_RFKILL
797	tristate "Toshiba Bluetooth RFKill switch support"
798	depends on ACPI
799	depends on RFKILL || RFKILL = n
800	help
801	  This driver adds support for Bluetooth events for the RFKill
802	  switch on modern Toshiba laptops with full ACPI support and
803	  an RFKill switch.
804
805	  This driver handles RFKill events for the TOS6205 Bluetooth,
806	  and re-enables it when the switch is set back to the 'on'
807	  position.
808
809	  If you have a modern Toshiba laptop with a Bluetooth and an
810	  RFKill switch (such as the Portege R500), say Y.
811
812config TOSHIBA_HAPS
813	tristate "Toshiba HDD Active Protection Sensor"
814	depends on ACPI
815	help
816	  This driver adds support for the built-in accelerometer
817	  found on recent Toshiba laptops equipped with HID TOS620A
818	  device.
819
820	  This driver receives ACPI notify events 0x80 when the sensor
821	  detects a sudden move or a harsh vibration, as well as an
822	  ACPI notify event 0x81 whenever the movement or vibration has
823	  been stabilized.
824
825	  Also provides sysfs entries to get/set the desired protection
826	  level and resetting the HDD protection interface.
827
828	  If you have a recent Toshiba laptop with a built-in accelerometer
829	  device, say Y.
830
831config TOSHIBA_WMI
832	tristate "Toshiba WMI Hotkeys Driver (EXPERIMENTAL)"
833	depends on ACPI_WMI
834	depends on INPUT
835	select INPUT_SPARSEKMAP
836	help
837	  This driver adds hotkey monitoring support to some Toshiba models
838	  that manage the hotkeys via WMI events.
839
840	  WARNING: This driver is incomplete as it lacks a proper keymap and the
841	  *notify function only prints the ACPI event type value. Be warned that
842	  you will need to provide some information if you have a Toshiba model
843	  with WMI event hotkeys and want to help with the development of this
844	  driver.
845
846	  If you have a WMI-based hotkeys Toshiba laptop, say Y or M here.
847
848config ACPI_CMPC
849	tristate "CMPC Laptop Extras"
850	depends on ACPI && INPUT
851	depends on RFKILL || RFKILL=n
852	select BACKLIGHT_CLASS_DEVICE
853	help
854	  Support for Intel Classmate PC ACPI devices, including some
855	  keys as input device, backlight device, tablet and accelerometer
856	  devices.
857
858config COMPAL_LAPTOP
859	tristate "Compal (and others) Laptop Extras"
860	depends on ACPI
861	depends on BACKLIGHT_CLASS_DEVICE
862	depends on ACPI_VIDEO || ACPI_VIDEO = n
863	depends on RFKILL
864	depends on HWMON
865	depends on POWER_SUPPLY
866	help
867	  This is a driver for laptops built by Compal, and some models by
868	  other brands (e.g. Dell, Toshiba).
869
870	  It adds support for rfkill, Bluetooth, WLAN, LCD brightness, hwmon
871	  and battery charging level control.
872
873config LG_LAPTOP
874	tristate "LG Laptop Extras"
875	depends on ACPI
876	depends on ACPI_BATTERY
877	depends on ACPI_WMI
878	depends on INPUT
879	select INPUT_SPARSEKMAP
880	select NEW_LEDS
881	select LEDS_CLASS
882	help
883	 This driver adds support for hotkeys as well as control of keyboard
884	 backlight, battery maximum charge level and various other ACPI
885	 features.
886
887	 If you have an LG Gram laptop, say Y or M here.
888
889config PANASONIC_LAPTOP
890	tristate "Panasonic Laptop Extras"
891	depends on INPUT && ACPI
892	depends on BACKLIGHT_CLASS_DEVICE
893	depends on ACPI_VIDEO=n || ACPI_VIDEO
894	depends on SERIO_I8042 || SERIO_I8042 = n
895	select INPUT_SPARSEKMAP
896	help
897	  This driver adds support for access to backlight control and hotkeys
898	  on Panasonic Let's Note laptops.
899
900	  If you have a Panasonic Let's note laptop (such as the R1(N variant),
901	  R2, R3, R5, T2, W2 and Y2 series), say Y.
902
903config SONY_LAPTOP
904	tristate "Sony Laptop Extras"
905	depends on ACPI
906	depends on ACPI_VIDEO || ACPI_VIDEO = n
907	depends on BACKLIGHT_CLASS_DEVICE
908	depends on INPUT
909	depends on RFKILL
910	help
911	  This mini-driver drives the SNC and SPIC devices present in the ACPI
912	  BIOS of the Sony Vaio laptops.
913
914	  It gives access to some extra laptop functionalities like Bluetooth,
915	  screen brightness control, Fn keys and allows powering on/off some
916	  devices.
917
918	  Read <file:Documentation/admin-guide/laptops/sony-laptop.rst> for more information.
919
920config SONYPI_COMPAT
921	bool "Sonypi compatibility"
922	depends on SONY_LAPTOP
923	help
924	  Build the sonypi driver compatibility code into the sony-laptop driver.
925
926config SYSTEM76_ACPI
927	tristate "System76 ACPI Driver"
928	depends on ACPI
929	depends on ACPI_BATTERY
930	depends on HWMON
931	depends on INPUT
932	select NEW_LEDS
933	select LEDS_CLASS
934	select LEDS_TRIGGERS
935	help
936	  This is a driver for System76 laptops running open firmware. It adds
937	  support for Fn-Fx key combinations, keyboard backlight, and airplane mode
938	  LEDs.
939
940	  If you have a System76 laptop running open firmware, say Y or M here.
941
942config TOPSTAR_LAPTOP
943	tristate "Topstar Laptop Extras"
944	depends on ACPI
945	depends on INPUT
946	select INPUT_SPARSEKMAP
947	select LEDS_CLASS
948	select NEW_LEDS
949	help
950	  This driver adds support for hotkeys found on Topstar laptops.
951
952	  If you have a Topstar laptop, say Y or M here.
953
954config SERIAL_MULTI_INSTANTIATE
955	tristate "Serial bus multi instantiate pseudo device driver"
956	depends on I2C && SPI && ACPI
957	help
958	  Some ACPI-based systems list multiple devices in a single ACPI
959	  firmware-node. This driver will instantiate separate clients
960	  for each device in the firmware-node.
961
962	  To compile this driver as a module, choose M here: the module
963	  will be called serial-multi-instantiate.
964
965config MLX_PLATFORM
966	tristate "Mellanox Technologies platform support"
967	depends on I2C
968	select REGMAP
969	help
970	  This option enables system support for the Mellanox Technologies
971	  platform. The Mellanox systems provide data center networking
972	  solutions based on Virtual Protocol Interconnect (VPI) technology
973	  enable seamless connectivity to 56/100Gb/s InfiniBand or 10/40/56GbE
974	  connection.
975
976	  If you have a Mellanox system, say Y or M here.
977
978config TOUCHSCREEN_DMI
979	bool "DMI based touchscreen configuration info"
980	depends on ACPI && DMI && I2C=y && TOUCHSCREEN_SILEAD
981	select EFI_EMBEDDED_FIRMWARE if EFI
982	help
983	  Certain ACPI based tablets with e.g. Silead or Chipone touchscreens
984	  do not have enough data in ACPI tables for the touchscreen driver to
985	  handle the touchscreen properly, as OEMs expect the data to be baked
986	  into the tablet model specific version of the driver shipped with the
987	  the OS-image for the device. This option supplies the missing info.
988	  Enable this for x86 tablets with Silead or Chipone touchscreens.
989
990source "drivers/platform/x86/x86-android-tablets/Kconfig"
991
992config FW_ATTR_CLASS
993	tristate
994
995config INTEL_IMR
996	bool "Intel Isolated Memory Region support"
997	depends on X86_INTEL_QUARK && IOSF_MBI
998	help
999	  This option provides a means to manipulate Isolated Memory Regions.
1000	  IMRs are a set of registers that define read and write access masks
1001	  to prohibit certain system agents from accessing memory with 1 KiB
1002	  granularity.
1003
1004	  IMRs make it possible to control read/write access to an address
1005	  by hardware agents inside the SoC. Read and write masks can be
1006	  defined for:
1007		- eSRAM flush
1008		- Dirty CPU snoop (write only)
1009		- RMU access
1010		- PCI Virtual Channel 0/Virtual Channel 1
1011		- SMM mode
1012		- Non SMM mode
1013
1014	  Quark contains a set of eight IMR registers and makes use of those
1015	  registers during its bootup process.
1016
1017	  If you are running on a Galileo/Quark say Y here.
1018
1019config INTEL_IPS
1020	tristate "Intel Intelligent Power Sharing"
1021	depends on ACPI && PCI
1022	help
1023	  Intel Calpella platforms support dynamic power sharing between the
1024	  CPU and GPU, maximizing performance in a given TDP.  This driver,
1025	  along with the CPU frequency and i915 drivers, provides that
1026	  functionality.  If in doubt, say Y here; it will only load on
1027	  supported platforms.
1028
1029config INTEL_SCU_IPC
1030	bool
1031
1032config INTEL_SCU
1033	bool
1034	select INTEL_SCU_IPC
1035
1036config INTEL_SCU_PCI
1037	bool "Intel SCU PCI driver"
1038	depends on PCI
1039	select INTEL_SCU
1040	help
1041	  This driver is used to bridge the communications between kernel
1042	  and SCU on some embedded Intel x86 platforms. It also creates
1043	  devices that are connected to the SoC through the SCU.
1044	  Platforms supported:
1045	    Medfield
1046	    Clovertrail
1047	    Merrifield
1048	    Broxton
1049	    Apollo Lake
1050
1051config INTEL_SCU_PLATFORM
1052	tristate "Intel SCU platform driver"
1053	depends on ACPI
1054	select INTEL_SCU
1055	help
1056	  This driver is used to bridge the communications between kernel
1057	  and SCU (sometimes called PMC as well). The driver currently
1058	  supports Intel Elkhart Lake and compatible platforms.
1059
1060config INTEL_SCU_WDT
1061	bool
1062	default INTEL_SCU_PCI
1063	depends on INTEL_MID_WATCHDOG
1064	help
1065	  This is a specific platform code to instantiate watchdog device
1066	  on ACPI-based Intel MID platforms.
1067
1068config INTEL_SCU_IPC_UTIL
1069	tristate "Intel SCU IPC utility driver"
1070	depends on INTEL_SCU
1071	help
1072	  The IPC Util driver provides an interface with the SCU enabling
1073	  low level access for debug work and updating the firmware. Say
1074	  N unless you will be doing this on an Intel MID platform.
1075
1076config SIEMENS_SIMATIC_IPC
1077	tristate "Siemens Simatic IPC Class driver"
1078	depends on PCI
1079	help
1080	  This Simatic IPC class driver is the central of several drivers. It
1081	  is mainly used for system identification, after which drivers in other
1082	  classes will take care of driving specifics of those machines.
1083	  i.e. LEDs and watchdog.
1084
1085	  To compile this driver as a module, choose M here: the module
1086	  will be called simatic-ipc.
1087
1088config WINMATE_FM07_KEYS
1089	tristate "Winmate FM07/FM07P front-panel keys driver"
1090	depends on INPUT
1091	help
1092	  Winmate FM07 and FM07P in-vehicle computers have a row of five
1093	  buttons below the display. This module adds an input device
1094	  that delivers key events when these buttons are pressed.
1095
1096endif # X86_PLATFORM_DEVICES
1097
1098config P2SB
1099	bool "Primary to Sideband (P2SB) bridge access support"
1100	depends on PCI && X86
1101	help
1102	  The Primary to Sideband (P2SB) bridge is an interface to some
1103	  PCI devices connected through it. In particular, SPI NOR controller
1104	  in Intel Apollo Lake SoC is one of such devices.
1105
1106	  The main purpose of this library is to unhide P2SB device in case
1107	  firmware kept it hidden on some platforms in order to access devices
1108	  behind it.
1109