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