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