]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - drivers/platform/x86/Kconfig
platform/x86: panasonic-laptop: don't report duplicate brightness key-presses
[mirror_ubuntu-jammy-kernel.git] / drivers / platform / x86 / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
41b16dce
LB
2#
3# X86 Platform Specific Drivers
4#
5
6menuconfig X86_PLATFORM_DEVICES
7 bool "X86 Platform Specific Device Drivers"
8 default y
a00cd11b 9 depends on X86
a7f7f624 10 help
41b16dce
LB
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
45a3d578
AS
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
a7f7f624 44 help
45a3d578
AS
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
45a3d578
AS
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
0c51a4d8 58 select LEDS_CLASS
45a3d578
AS
59 select LEDS_TRIGGERS
60 select LEDS_TRIGGER_AUDIO
0c51a4d8 61 select NEW_LEDS
45a3d578
AS
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
4fc2cf1f
JE
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
45a3d578
AS
80config MXM_WMI
81 tristate "WMI support for MXM Laptop Graphics"
82 depends on ACPI_WMI
a7f7f624 83 help
45a3d578
AS
84 MXM is a standard for laptop graphics cards, the WMI interface
85 is required for switchable nvidia graphics machines
75971feb 86
45a3d578
AS
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.
75971feb 93
49d88ec6
DD
94config NVIDIA_WMI_EC_BACKLIGHT
95 tristate "EC Backlight Driver for Hybrid Graphics Notebook Systems"
fa73c3e3
DD
96 depends on ACPI_WMI
97 depends on BACKLIGHT_CLASS_DEVICE
98 help
49d88ec6
DD
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).
fa73c3e3
DD
102
103 Say Y or M here if you want to control the backlight on a notebook
49d88ec6 104 system with an EC-driven backlight.
fa73c3e3
DD
105
106 If you choose to compile this driver as a module the module will be
49d88ec6 107 called nvidia-wmi-ec-backlight.
fa73c3e3 108
45a3d578
AS
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.
75971feb 118
57293197
TW
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
e86435eb
PF
130config ACERHDF
131 tristate "Acer Aspire One temperature and fan driver"
200db647 132 depends on ACPI && THERMAL
48c8dd64 133 select THERMAL_GOV_BANG_BANG
a7f7f624 134 help
e86435eb
PF
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:
14c20688
PG
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".
e86435eb
PF
144
145 For more information about this driver see
78d15eea 146 <https://piie.net/files/acerhdf_README.txt>
e86435eb
PF
147
148 If you have an Acer Aspire One netbook, say Y or M
149 here.
150
45a3d578
AS
151config ACER_WIRELESS
152 tristate "Acer Wireless Radio Control Driver"
153 depends on ACPI
154 depends on INPUT
a7f7f624 155 help
45a3d578
AS
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"
a46ad0f1 167 depends on ACPI
45a3d578
AS
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
a46ad0f1 174 depends on ACPI_WMI
45a3d578
AS
175 select INPUT_SPARSEKMAP
176 # Acer WMI depends on ACPI_VIDEO when ACPI is enabled
177 select ACPI_VIDEO if ACPI
a7f7f624 178 help
45a3d578
AS
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
156ec473
SS
186config AMD_PMC
187 tristate "AMD SoC PMC driver"
188 depends on ACPI && PCI
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
3d904005
AH
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
45a3d578
AS
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
a7f7f624 218 help
45a3d578
AS
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.
a46ad0f1 223
41b16dce 224config ASUS_LAPTOP
6122af37 225 tristate "Asus Laptop Extras"
41b16dce 226 depends on ACPI
e73e2c62
CC
227 select LEDS_CLASS
228 select NEW_LEDS
14ca7a47 229 depends on BACKLIGHT_CLASS_DEVICE
12d6f35b 230 depends on INPUT
18e1311e 231 depends on RFKILL || RFKILL = n
14ca7a47 232 depends on ACPI_VIDEO || ACPI_VIDEO = n
66a71dd1 233 select INPUT_SPARSEKMAP
a7f7f624 234 help
8819de7f
AR
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
b23910c2
AR
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.
41b16dce 243
8819de7f 244 For more information see <http://acpi4asus.sf.net>.
41b16dce
LB
245
246 If you have an ACPI-compatible ASUS laptop, say Y or M here.
247
45a3d578
AS
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
a7f7f624 254 help
45a3d578
AS
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
c63d44ae 277 select ACPI_PLATFORM_PROFILE
a7f7f624 278 help
45a3d578
AS
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
a7f7f624 289 help
45a3d578
AS
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
636a1e69
CB
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
45a3d578
AS
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
a7f7f624 324 help
45a3d578
AS
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
a7f7f624 337 help
45a3d578
AS
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
f1e1ea51 347source "drivers/platform/x86/dell/Kconfig"
7a3319c1 348
45a3d578
AS
349config AMILO_RFKILL
350 tristate "Fujitsu-Siemens Amilo rfkill support"
817a5cdb 351 depends on RFKILL
45a3d578 352 depends on SERIO_I8042
a7f7f624 353 help
45a3d578
AS
354 This is a driver for enabling wifi on some Fujitsu-Siemens Amilo
355 laptops.
820787fc 356
cada7cd8
AK
357config DELL_UART_BACKLIGHT
358 tristate "Dell AIO UART Backlight driver"
359 depends on SERIAL_8250
360 depends on ACPI
361 help
362 Say Y here if you want to support Dell AIO UART backlight interface.
363 The Dell AIO machines released after 2017 come with a UART interface
364 to communicate with the backlight scalar board. This driver creates
365 a standard backlight interface and talks to the scalar board through
366 UART to adjust the AIO screen brightness.
367
368 To compile this driver as a module, choose M here: the module will
369 be called dell_uart_backlight.
370
41b16dce
LB
371config FUJITSU_LAPTOP
372 tristate "Fujitsu Laptop Extras"
373 depends on ACPI
374 depends on INPUT
375 depends on BACKLIGHT_CLASS_DEVICE
14ca7a47 376 depends on ACPI_VIDEO || ACPI_VIDEO = n
f2252672 377 select INPUT_SPARSEKMAP
afdd1ebb 378 select NEW_LEDS
d89bcc83 379 select LEDS_CLASS
a7f7f624 380 help
41b16dce
LB
381 This is a driver for laptops built by Fujitsu:
382
383 * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks
384 * Possibly other Fujitsu laptop models
385 * Tested with S6410 and S7020
386
387 It adds support for LCD brightness control and some hotkeys.
388
389 If you have a Fujitsu laptop, say Y or M here.
390
2d24c490
RG
391config FUJITSU_TABLET
392 tristate "Fujitsu Tablet Extras"
393 depends on ACPI
394 depends on INPUT
a7f7f624 395 help
2d24c490
RG
396 This is a driver for tablets built by Fujitsu:
397
398 * Lifebook P1510/P1610/P1620/Txxxx
399 * Stylistic ST5xxx
400 * Possibly other Fujitsu tablet models
401
402 It adds support for the panel buttons, docking station detection,
403 tablet/notebook mode detection for convertible and
404 orientation detection for docked slates.
405
406 If you have a Fujitsu convertible or slate, say Y or M here.
407
1b46f17d
HG
408config GPD_POCKET_FAN
409 tristate "GPD Pocket Fan Controller support"
410 depends on ACPI
411 depends on THERMAL
a7f7f624 412 help
1b46f17d
HG
413 Driver for the GPD Pocket vendor specific FAN02501 ACPI device
414 which controls the fan speed on the GPD Pocket.
415
416 Without this driver the fan on the Pocket will stay off independent
417 of the CPU temperature. Say Y or M if the kernel may be used on a
418 GPD pocket.
419
efcfed9b
JD
420config HP_ACCEL
421 tristate "HP laptop accelerometer"
422 depends on INPUT && ACPI
0cdbcd6d 423 depends on SERIO_I8042
efcfed9b
JD
424 select SENSORS_LIS3LV02D
425 select NEW_LEDS
426 select LEDS_CLASS
427 help
428 This driver provides support for the "Mobile Data Protection System 3D"
429 or "3D DriveGuard" feature of HP laptops. On such systems the driver
430 should load automatically (via ACPI alias).
431
432 Support for a led indicating disk protection will be provided as
433 hp::hddprotect. For more information on the feature, refer to
9b5db89e 434 Documentation/misc-devices/lis3lv02d.rst.
efcfed9b
JD
435
436 To compile this driver as a module, choose M here: the module will
437 be called hp_accel.
438
a558ea42
ML
439config WIRELESS_HOTKEY
440 tristate "Wireless hotkey button"
54290fa6
AH
441 depends on ACPI
442 depends on INPUT
443 help
a558ea42
ML
444 This driver provides supports for the wireless buttons found on some AMD,
445 HP, & Xioami laptops.
54290fa6
AH
446 On such systems the driver should load automatically (via ACPI alias).
447
448 To compile this driver as a module, choose M here: the module will
a558ea42 449 be called wireless-hotkey.
54290fa6 450
41b16dce
LB
451config HP_WMI
452 tristate "HP WMI extras"
453 depends on ACPI_WMI
454 depends on INPUT
19d337df 455 depends on RFKILL || RFKILL = n
4d291ed7 456 select INPUT_SPARSEKMAP
4296f679 457 select ACPI_PLATFORM_PROFILE
41b16dce
LB
458 help
459 Say Y here if you want to support WMI-based hotkeys on HP laptops and
460 to read data from WMI such as docking or ambient light sensor state.
461
462 To compile this driver as a module, choose M here: the module will
463 be called hp-wmi.
464
45a3d578
AS
465config TC1100_WMI
466 tristate "HP Compaq TC1100 Tablet WMI Extras"
467 depends on !X86_64
dbf0c5a6
MZA
468 depends on ACPI
469 depends on ACPI_WMI
a7f7f624 470 help
45a3d578
AS
471 This is a driver for the WMI extensions (wireless and bluetooth power
472 control) of the HP Compaq TC1100 tablet.
41b16dce 473
45a3d578
AS
474config IBM_RTL
475 tristate "Device driver to enable PRTL support"
476 depends on PCI
a7f7f624 477 help
45a3d578
AS
478 Enable support for IBM Premium Real Time Mode (PRTM).
479 This module will allow you the enter and exit PRTM in the BIOS via
480 sysfs on platforms that support this feature. System in PRTM will
481 not receive CPU-generated SMIs for recoverable errors. Use of this
482 feature without proper support may void your hardware warranty.
41b16dce 483
45a3d578
AS
484 If the proper BIOS support is found the driver will load and create
485 /sys/devices/system/ibm_rtl/. The "state" variable will indicate
486 whether or not the BIOS is in PRTM.
487 state = 0 (BIOS SMIs on)
488 state = 1 (BIOS SMIs off)
41b16dce 489
57ac3b05
IP
490config IDEAPAD_LAPTOP
491 tristate "Lenovo IdeaPad Laptop Extras"
58ac7aa0 492 depends on ACPI
ad0f4306 493 depends on RFKILL && INPUT
07a4a4fc 494 depends on SERIO_I8042
445e8d00 495 depends on BACKLIGHT_CLASS_DEVICE
14ca7a47 496 depends on ACPI_VIDEO || ACPI_VIDEO = n
74caab99 497 depends on ACPI_WMI || ACPI_WMI = n
21f05a43 498 select ACPI_PLATFORM_PROFILE
f63409ae 499 select INPUT_SPARSEKMAP
d8f5c5ea
BP
500 select NEW_LEDS
501 select LEDS_CLASS
58ac7aa0 502 help
16fd91e0
IP
503 This is a driver for Lenovo IdeaPad netbooks contains drivers for
504 rfkill switch, hotkey, fan control and backlight control.
58ac7aa0 505
45a3d578
AS
506config SENSORS_HDAPS
507 tristate "Thinkpad Hard Drive Active Protection System (hdaps)"
3dda3b37 508 depends on INPUT
45a3d578
AS
509 help
510 This driver provides support for the IBM Hard Drive Active Protection
511 System (hdaps), which provides an accelerometer and other misc. data.
512 ThinkPads starting with the R50, T41, and X40 are supported. The
513 accelerometer data is readable via sysfs.
3dda3b37 514
45a3d578
AS
515 This driver also provides an absolute input class device, allowing
516 the laptop to act as a pinball machine-esque joystick.
517
518 If your ThinkPad is not recognized by the driver, please update to latest
519 BIOS. This is especially the case for some R52 ThinkPads.
520
521 Say Y here if you have an applicable laptop and want to experience
522 the awesome power of hdaps.
3dda3b37 523
41b16dce
LB
524config THINKPAD_ACPI
525 tristate "ThinkPad ACPI Laptop Extras"
526 depends on ACPI
2801b968 527 depends on ACPI_BATTERY
d263da31 528 depends on INPUT
19d337df 529 depends on RFKILL || RFKILL = n
14ca7a47
HG
530 depends on ACPI_VIDEO || ACPI_VIDEO = n
531 depends on BACKLIGHT_CLASS_DEVICE
153cca9c 532 depends on I2C
21f05a43 533 select ACPI_PLATFORM_PROFILE
41b16dce
LB
534 select HWMON
535 select NVRAM
41b16dce
LB
536 select NEW_LEDS
537 select LEDS_CLASS
4e1d0924
TI
538 select LEDS_TRIGGERS
539 select LEDS_TRIGGER_AUDIO
a7f7f624 540 help
41b16dce
LB
541 This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
542 support for Fn-Fx key combinations, Bluetooth control, video
543 output switching, ThinkLight control, UltraBay eject and more.
544 For more information about this driver see
9e1cbede 545 <file:Documentation/admin-guide/laptops/thinkpad-acpi.rst> and
41b16dce
LB
546 <http://ibm-acpi.sf.net/> .
547
548 This driver was formerly known as ibm-acpi.
549
6e5b08ee
HMH
550 Extra functionality will be available if the rfkill (CONFIG_RFKILL)
551 and/or ALSA (CONFIG_SND) subsystems are available in the kernel.
552 Note that if you want ThinkPad-ACPI to be built-in instead of
553 modular, ALSA and rfkill will also have to be built-in.
554
41b16dce
LB
555 If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
556
ff850c33
HMH
557config THINKPAD_ACPI_ALSA_SUPPORT
558 bool "Console audio control ALSA interface"
559 depends on THINKPAD_ACPI
560 depends on SND
561 depends on SND = y || THINKPAD_ACPI = SND
562 default y
a7f7f624 563 help
ff850c33
HMH
564 Enables monitoring of the built-in console audio output control
565 (headphone and speakers), which is operated by the mute and (in
566 some ThinkPad models) volume hotkeys.
567
568 If this option is enabled, ThinkPad-ACPI will export an ALSA card
569 with a single read-only mixer control, which should be used for
570 on-screen-display feedback purposes by the Desktop Environment.
571
572 Optionally, the driver will also allow software control (the
573 ALSA mixer will be made read-write). Please refer to the driver
574 documentation for details.
575
576 All IBM models have both volume and mute control. Newer Lenovo
577 models only have mute control (the volume hotkeys are just normal
578 keys and volume control is done through the main HDA mixer).
579
a73f3091
HMH
580config THINKPAD_ACPI_DEBUGFACILITIES
581 bool "Maintainer debug facilities"
582 depends on THINKPAD_ACPI
a7f7f624 583 help
a73f3091
HMH
584 Enables extra stuff in the thinkpad-acpi which is completely useless
585 for normal use. Read the driver source to find out what it does.
586
587 Say N here, unless you were told by a kernel maintainer to do
588 otherwise.
589
41b16dce
LB
590config THINKPAD_ACPI_DEBUG
591 bool "Verbose debug mode"
592 depends on THINKPAD_ACPI
a7f7f624 593 help
41b16dce
LB
594 Enables extra debugging information, at the expense of a slightly
595 increase in driver size.
596
597 If you are not sure, say N here.
598
a4d5effc
HMH
599config THINKPAD_ACPI_UNSAFE_LEDS
600 bool "Allow control of important LEDs (unsafe)"
601 depends on THINKPAD_ACPI
a7f7f624 602 help
a4d5effc
HMH
603 Overriding LED state on ThinkPads can mask important
604 firmware alerts (like critical battery condition), or misled
605 the user into damaging the hardware (undocking or ejecting
606 the bay while buses are still active), etc.
607
608 LED control on the ThinkPad is write-only (with very few
609 exceptions on very ancient models), which makes it
610 impossible to know beforehand if important information will
611 be lost when one changes LED state.
612
613 Users that know what they are doing can enable this option
614 and the driver will allow control of every LED, including
615 the ones on the dock stations.
616
617 Never enable this option on a distribution kernel.
618
619 Say N here, unless you are building a kernel for your own
620 use, and need to control the important firmware LEDs.
621
41b16dce
LB
622config THINKPAD_ACPI_VIDEO
623 bool "Video output control support"
624 depends on THINKPAD_ACPI
625 default y
a7f7f624 626 help
41b16dce
LB
627 Allows the thinkpad_acpi driver to provide an interface to control
628 the various video output ports.
629
630 This feature often won't work well, depending on ThinkPad model,
631 display state, video output devices in use, whether there is a X
632 server running, phase of the moon, and the current mood of
633 Schroedinger's cat. If you can use X.org's RandR to control
634 your ThinkPad's video output ports instead of this feature,
b525c06c
HMH
635 don't think twice: do it and say N here to save memory and avoid
636 bad interactions with X.org.
41b16dce 637
b525c06c
HMH
638 NOTE: access to this feature is limited to processes with the
639 CAP_SYS_ADMIN capability, to avoid local DoS issues in platforms
640 where it interacts badly with X.org.
641
642 If you are not sure, say Y here but do try to check if you could
643 be using X.org RandR instead.
41b16dce
LB
644
645config THINKPAD_ACPI_HOTKEY_POLL
646 bool "Support NVRAM polling for hot keys"
647 depends on THINKPAD_ACPI
648 default y
a7f7f624 649 help
41b16dce
LB
650 Some thinkpad models benefit from NVRAM polling to detect a few of
651 the hot key press events. If you know your ThinkPad model does not
652 need to do NVRAM polling to support any of the hot keys you use,
653 unselecting this option will save about 1kB of memory.
654
655 ThinkPads T40 and newer, R52 and newer, and X31 and newer are
656 unlikely to need NVRAM polling in their latest BIOS versions.
657
658 NVRAM polling can detect at most the following keys: ThinkPad/Access
659 IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
660 Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
661
662 If you are not sure, say Y here. The driver enables polling only if
663 it is strictly necessary to do so.
664
a40cd7ef
MP
665config THINKPAD_LMI
666 tristate "Lenovo WMI-based systems management driver"
667 depends on ACPI_WMI
668 select FW_ATTR_CLASS
669 help
670 This driver allows changing BIOS settings on Lenovo machines whose
671 BIOS support the WMI interface.
672
673 To compile this driver as a module, choose M here: the module will
674 be called think-lmi.
675
8bd836fe
AS
676source "drivers/platform/x86/intel/Kconfig"
677
45a3d578
AS
678config MSI_LAPTOP
679 tristate "MSI Laptop Extras"
680 depends on ACPI
681 depends on BACKLIGHT_CLASS_DEVICE
682 depends on ACPI_VIDEO || ACPI_VIDEO = n
683 depends on RFKILL
684 depends on INPUT && SERIO_I8042
685 select INPUT_SPARSEKMAP
a7f7f624 686 help
45a3d578
AS
687 This is a driver for laptops built by MSI (MICRO-STAR
688 INTERNATIONAL):
edb73f4f 689
45a3d578
AS
690 MSI MegaBook S270 (MS-1013)
691 Cytron/TCM/Medion/Tchibo MD96100/SAM2000
692
693 It adds support for Bluetooth, WLAN and LCD brightness control.
694
695 More information about this driver is available at
696 <http://0pointer.de/lennart/tchibo.html>.
697
698 If you have an MSI S270 laptop, say Y or M here.
edb73f4f 699
d12d8baf
TR
700config MSI_WMI
701 tristate "MSI WMI extras"
702 depends on ACPI_WMI
703 depends on INPUT
de078e57 704 depends on BACKLIGHT_CLASS_DEVICE
14ca7a47 705 depends on ACPI_VIDEO || ACPI_VIDEO = n
c30116c6 706 select INPUT_SPARSEKMAP
d12d8baf
TR
707 help
708 Say Y here if you want to support WMI-based hotkeys on MSI laptops.
709
710 To compile this driver as a module, choose M here: the module will
711 be called msi-wmi.
712
45a3d578
AS
713config XO15_EBOOK
714 tristate "OLPC XO-1.5 ebook switch"
715 depends on OLPC || COMPILE_TEST
716 depends on ACPI && INPUT
a7f7f624 717 help
45a3d578
AS
718 Support for the ebook switch on the OLPC XO-1.5 laptop.
719
720 This switch is triggered as the screen is rotated and folded down to
721 convert the device into ebook form.
722
723config XO1_RFKILL
724 tristate "OLPC XO-1 software RF kill switch"
725 depends on OLPC || COMPILE_TEST
726 depends on RFKILL
a7f7f624 727 help
45a3d578
AS
728 Support for enabling/disabling the WLAN interface on the OLPC XO-1
729 laptop.
730
731config PCENGINES_APU2
732 tristate "PC Engines APUv2/3 front button and LEDs driver"
733 depends on INPUT && INPUT_KEYBOARD && GPIOLIB
734 depends on LEDS_CLASS
735 select GPIO_AMD_FCH
736 select KEYBOARD_GPIO_POLLED
737 select LEDS_GPIO
13bb0fd5 738 help
45a3d578
AS
739 This driver provides support for the front button and LEDs on
740 PC Engines APUv2/APUv3 board.
13bb0fd5 741
45a3d578
AS
742 To compile this driver as a module, choose M here: the module
743 will be called pcengines-apuv2.
744
745config SAMSUNG_LAPTOP
746 tristate "Samsung Laptop driver"
747 depends on RFKILL || RFKILL = n
748 depends on ACPI_VIDEO || ACPI_VIDEO = n
749 depends on BACKLIGHT_CLASS_DEVICE
bf8f65da
GDG
750 select LEDS_CLASS
751 select NEW_LEDS
a7f7f624 752 help
45a3d578
AS
753 This module implements a driver for a wide range of different
754 Samsung laptops. It offers control over the different
755 function keys, wireless LED, LCD backlight level.
9caeb532 756
45a3d578
AS
757 It may also provide some sysfs files described in
758 <file:Documentation/ABI/testing/sysfs-driver-samsung-laptop>
9caeb532 759
45a3d578
AS
760 To compile this driver as a module, choose M here: the module
761 will be called samsung-laptop.
762
763config SAMSUNG_Q10
764 tristate "Samsung Q10 Extras"
b4f9fe12 765 depends on ACPI
45a3d578 766 select BACKLIGHT_CLASS_DEVICE
a7f7f624 767 help
45a3d578
AS
768 This driver provides support for backlight control on Samsung Q10
769 and related laptops, including Dell Latitude X200.
770
771config ACPI_TOSHIBA
772 tristate "Toshiba Laptop Extras"
b4f9fe12 773 depends on ACPI
f11f999e 774 depends on ACPI_WMI
0c51a4d8
MB
775 select LEDS_CLASS
776 select NEW_LEDS
c76a3e1d 777 depends on BACKLIGHT_CLASS_DEVICE
b4f9fe12 778 depends on INPUT
283672e4 779 depends on SERIO_I8042 || SERIO_I8042 = n
358d6a2c 780 depends on ACPI_VIDEO || ACPI_VIDEO = n
dc4522be 781 depends on RFKILL || RFKILL = n
98010f1e 782 depends on IIO
384a7cd9 783 select INPUT_SPARSEKMAP
a7f7f624 784 help
b4f9fe12
LB
785 This driver adds support for access to certain system settings
786 on "legacy free" Toshiba laptops. These laptops can be recognized by
787 their lack of a BIOS setup menu and APM support.
788
789 On these machines, all system configuration is handled through the
790 ACPI. This driver is required for access to controls not covered
791 by the general ACPI drivers, such as LCD brightness, video output,
792 etc.
793
794 This driver differs from the non-ACPI Toshiba laptop driver (located
795 under "Processor type and features") in several aspects.
796 Configuration is accessed by reading and writing text files in the
797 /proc tree instead of by program interface to /dev. Furthermore, no
798 power management functions are exposed, as those are handled by the
799 general ACPI drivers.
800
801 More information about this driver is available at
802 <http://memebeam.org/toys/ToshibaAcpiDriver>.
803
804 If you have a legacy free Toshiba laptop (such as the Libretto L1
805 series), say Y.
42b4e9ee
JS
806
807config TOSHIBA_BT_RFKILL
808 tristate "Toshiba Bluetooth RFKill switch support"
809 depends on ACPI
7ee8cd33 810 depends on RFKILL || RFKILL = n
a7f7f624 811 help
42b4e9ee
JS
812 This driver adds support for Bluetooth events for the RFKill
813 switch on modern Toshiba laptops with full ACPI support and
814 an RFKill switch.
815
816 This driver handles RFKill events for the TOS6205 Bluetooth,
817 and re-enables it when the switch is set back to the 'on'
818 position.
819
820 If you have a modern Toshiba laptop with a Bluetooth and an
821 RFKill switch (such as the Portege R500), say Y.
529aa8cb 822
186e4e89
AA
823config TOSHIBA_HAPS
824 tristate "Toshiba HDD Active Protection Sensor"
825 depends on ACPI
a7f7f624 826 help
186e4e89 827 This driver adds support for the built-in accelerometer
769a12a9 828 found on recent Toshiba laptops equipped with HID TOS620A
186e4e89
AA
829 device.
830
831 This driver receives ACPI notify events 0x80 when the sensor
832 detects a sudden move or a harsh vibration, as well as an
833 ACPI notify event 0x81 whenever the movement or vibration has
834 been stabilized.
835
836 Also provides sysfs entries to get/set the desired protection
769a12a9 837 level and resetting the HDD protection interface.
186e4e89
AA
838
839 If you have a recent Toshiba laptop with a built-in accelerometer
840 device, say Y.
841
14991fc7
AA
842config TOSHIBA_WMI
843 tristate "Toshiba WMI Hotkeys Driver (EXPERIMENTAL)"
14991fc7
AA
844 depends on ACPI_WMI
845 depends on INPUT
846 select INPUT_SPARSEKMAP
a7f7f624 847 help
14991fc7
AA
848 This driver adds hotkey monitoring support to some Toshiba models
849 that manage the hotkeys via WMI events.
850
851 WARNING: This driver is incomplete as it lacks a proper keymap and the
852 *notify function only prints the ACPI event type value. Be warned that
853 you will need to provide some information if you have a Toshiba model
83fc61a5 854 with WMI event hotkeys and want to help with the development of this
14991fc7
AA
855 driver.
856
857 If you have a WMI-based hotkeys Toshiba laptop, say Y or M here.
858
529aa8cb
TLSC
859config ACPI_CMPC
860 tristate "CMPC Laptop Extras"
4f258cf4 861 depends on ACPI && INPUT
f35843ed 862 depends on RFKILL || RFKILL=n
529aa8cb 863 select BACKLIGHT_CLASS_DEVICE
529aa8cb
TLSC
864 help
865 Support for Intel Classmate PC ACPI devices, including some
866 keys as input device, backlight device, tablet and accelerometer
867 devices.
868
45a3d578
AS
869config COMPAL_LAPTOP
870 tristate "Compal (and others) Laptop Extras"
871 depends on ACPI
872 depends on BACKLIGHT_CLASS_DEVICE
873 depends on ACPI_VIDEO || ACPI_VIDEO = n
874 depends on RFKILL
875 depends on HWMON
876 depends on POWER_SUPPLY
a7f7f624 877 help
45a3d578
AS
878 This is a driver for laptops built by Compal, and some models by
879 other brands (e.g. Dell, Toshiba).
1cd706df 880
45a3d578
AS
881 It adds support for rfkill, Bluetooth, WLAN, LCD brightness, hwmon
882 and battery charging level control.
d740795d 883
45a3d578
AS
884config LG_LAPTOP
885 tristate "LG Laptop Extras"
886 depends on ACPI
887 depends on ACPI_WMI
888 depends on INPUT
889 select INPUT_SPARSEKMAP
8f0c01e6 890 select NEW_LEDS
45a3d578
AS
891 select LEDS_CLASS
892 help
893 This driver adds support for hotkeys as well as control of keyboard
894 backlight, battery maximum charge level and various other ACPI
895 features.
1cd706df 896
45a3d578
AS
897 If you have an LG Gram laptop, say Y or M here.
898
899config PANASONIC_LAPTOP
900 tristate "Panasonic Laptop Extras"
901 depends on INPUT && ACPI
902 depends on BACKLIGHT_CLASS_DEVICE
e516ce9b 903 depends on ACPI_VIDEO=n || ACPI_VIDEO
45a3d578 904 select INPUT_SPARSEKMAP
a7f7f624 905 help
45a3d578
AS
906 This driver adds support for access to backlight control and hotkeys
907 on Panasonic Let's Note laptops.
d740795d 908
45a3d578
AS
909 If you have a Panasonic Let's note laptop (such as the R1(N variant),
910 R2, R3, R5, T2, W2 and Y2 series), say Y.
455e027f 911
45a3d578
AS
912config SONY_LAPTOP
913 tristate "Sony Laptop Extras"
914 depends on ACPI
915 depends on ACPI_VIDEO || ACPI_VIDEO = n
916 depends on BACKLIGHT_CLASS_DEVICE
917 depends on INPUT
918 depends on RFKILL
a7f7f624 919 help
45a3d578
AS
920 This mini-driver drives the SNC and SPIC devices present in the ACPI
921 BIOS of the Sony Vaio laptops.
63dada87 922
45a3d578
AS
923 It gives access to some extra laptop functionalities like Bluetooth,
924 screen brightness control, Fn keys and allows powering on/off some
925 devices.
63dada87 926
45a3d578 927 Read <file:Documentation/admin-guide/laptops/sony-laptop.rst> for more information.
63dada87 928
45a3d578
AS
929config SONYPI_COMPAT
930 bool "Sonypi compatibility"
931 depends on SONY_LAPTOP
a7f7f624 932 help
45a3d578
AS
933 Build the sonypi driver compatibility code into the sony-laptop driver.
934
935config SYSTEM76_ACPI
936 tristate "System76 ACPI Driver"
ecc83e52 937 depends on ACPI
45a3d578
AS
938 select NEW_LEDS
939 select LEDS_CLASS
940 select LEDS_TRIGGERS
ecc83e52 941 help
45a3d578
AS
942 This is a driver for System76 laptops running open firmware. It adds
943 support for Fn-Fx key combinations, keyboard backlight, and airplane mode
944 LEDs.
ecc83e52 945
45a3d578 946 If you have a System76 laptop running open firmware, say Y or M here.
ecc83e52 947
45a3d578
AS
948config TOPSTAR_LAPTOP
949 tristate "Topstar Laptop Extras"
332e0812
AK
950 depends on ACPI
951 depends on INPUT
952 select INPUT_SPARSEKMAP
45a3d578
AS
953 select LEDS_CLASS
954 select NEW_LEDS
a7f7f624 955 help
45a3d578 956 This driver adds support for hotkeys found on Topstar laptops.
9a58a333 957
45a3d578 958 If you have a Topstar laptop, say Y or M here.
5369c02d 959
2db36535
LT
960config SERIAL_MULTI_INSTANTIATE
961 tristate "Serial bus multi instantiate pseudo device driver"
38477d2f 962 depends on I2C && SPI && ACPI
8eec8a11 963 help
2db36535
LT
964 Some ACPI-based systems list multiple devices in a single ACPI
965 firmware-node. This driver will instantiate separate clients
45a3d578 966 for each device in the firmware-node.
8eec8a11 967
45a3d578 968 To compile this driver as a module, choose M here: the module
2db36535 969 will be called serial-multi-instantiate.
8eec8a11 970
45a3d578
AS
971config MLX_PLATFORM
972 tristate "Mellanox Technologies platform support"
973 depends on I2C && REGMAP
a7f7f624 974 help
45a3d578
AS
975 This option enables system support for the Mellanox Technologies
976 platform. The Mellanox systems provide data center networking
977 solutions based on Virtual Protocol Interconnect (VPI) technology
978 enable seamless connectivity to 56/100Gb/s InfiniBand or 10/40/56GbE
979 connection.
f017fbe7 980
45a3d578
AS
981 If you have a Mellanox system, say Y or M here.
982
983config TOUCHSCREEN_DMI
984 bool "DMI based touchscreen configuration info"
985 depends on ACPI && DMI && I2C=y && TOUCHSCREEN_SILEAD
dba43fc4 986 select EFI_EMBEDDED_FIRMWARE if EFI
a7f7f624 987 help
45a3d578
AS
988 Certain ACPI based tablets with e.g. Silead or Chipone touchscreens
989 do not have enough data in ACPI tables for the touchscreen driver to
990 handle the touchscreen properly, as OEMs expect the data to be baked
991 into the tablet model specific version of the driver shipped with the
992 the OS-image for the device. This option supplies the missing info.
993 Enable this for x86 tablets with Silead or Chipone touchscreens.
aa7ffc01 994
17b707fe
MP
995config FW_ATTR_CLASS
996 tristate
17b707fe 997
28a375df
BD
998config INTEL_IMR
999 bool "Intel Isolated Memory Region support"
28a375df 1000 depends on X86_INTEL_QUARK && IOSF_MBI
a7f7f624 1001 help
28a375df
BD
1002 This option provides a means to manipulate Isolated Memory Regions.
1003 IMRs are a set of registers that define read and write access masks
1004 to prohibit certain system agents from accessing memory with 1 KiB
1005 granularity.
1006
1007 IMRs make it possible to control read/write access to an address
1008 by hardware agents inside the SoC. Read and write masks can be
1009 defined for:
45a3d578
AS
1010 - eSRAM flush
1011 - Dirty CPU snoop (write only)
1012 - RMU access
1013 - PCI Virtual Channel 0/Virtual Channel 1
1014 - SMM mode
1015 - Non SMM mode
bb3ce202 1016
45a3d578
AS
1017 Quark contains a set of eight IMR registers and makes use of those
1018 registers during its bootup process.
78542e18 1019
45a3d578
AS
1020 If you are running on a Galileo/Quark say Y here.
1021
1022config INTEL_IPS
1023 tristate "Intel Intelligent Power Sharing"
7934d76c 1024 depends on ACPI && PCI
a7f7f624 1025 help
45a3d578
AS
1026 Intel Calpella platforms support dynamic power sharing between the
1027 CPU and GPU, maximizing performance in a given TDP. This driver,
1028 along with the CPU frequency and i915 drivers, provides that
1029 functionality. If in doubt, say Y here; it will only load on
1030 supported platforms.
917ee75a 1031
45a3d578 1032config INTEL_SCU_IPC
54b34aa0
MW
1033 bool
1034
1035config INTEL_SCU
1036 bool
1037 select INTEL_SCU_IPC
1038
1039config INTEL_SCU_PCI
1040 bool "Intel SCU PCI driver"
b8da68f4 1041 depends on PCI
54b34aa0
MW
1042 select INTEL_SCU
1043 help
1044 This driver is used to bridge the communications between kernel
1045 and SCU on some embedded Intel x86 platforms. It also creates
b8da68f4
MW
1046 devices that are connected to the SoC through the SCU.
1047 Platforms supported:
1048 Medfield
1049 Clovertrail
1050 Merrifield
1051 Broxton
1052 Apollo Lake
35f2c14d 1053
7a61f05e
MW
1054config INTEL_SCU_PLATFORM
1055 tristate "Intel SCU platform driver"
1056 depends on ACPI
1057 select INTEL_SCU
1058 help
1059 This driver is used to bridge the communications between kernel
1060 and SCU (sometimes called PMC as well). The driver currently
1061 supports Intel Elkhart Lake and compatible platforms.
1062
18365d68
AS
1063config INTEL_SCU_WDT
1064 bool
1065 default INTEL_SCU_PCI
1066 depends on INTEL_MID_WATCHDOG
1067 help
1068 This is a specific platform code to instantiate watchdog device
1069 on ACPI-based Intel MID platforms.
1070
45a3d578
AS
1071config INTEL_SCU_IPC_UTIL
1072 tristate "Intel SCU IPC utility driver"
54b34aa0 1073 depends on INTEL_SCU
a7f7f624 1074 help
45a3d578
AS
1075 The IPC Util driver provides an interface with the SCU enabling
1076 low level access for debug work and updating the firmware. Say
1077 N unless you will be doing this on an Intel MID platform.
fd13c862 1078
41b16dce 1079endif # X86_PLATFORM_DEVICES
80a7581f
IT
1080
1081config PMC_ATOM
1082 def_bool y
1083 depends on PCI
282a4e4c 1084 select COMMON_CLK