]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - drivers/platform/x86/Kconfig
platform/x86: thinkpad_acpi: Add BAT1 is primary battery quirk for Thinkpad Yoga...
[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
52config ALIENWARE_WMI
53 tristate "Alienware Special feature control"
41b16dce 54 depends on ACPI
45a3d578
AS
55 depends on LEDS_CLASS
56 depends on NEW_LEDS
57 depends on ACPI_WMI
a7f7f624 58 help
45a3d578
AS
59 This is a driver for controlling Alienware BIOS driven
60 features. It exposes an interface for controlling the AlienFX
61 zones on Alienware machines that don't contain a dedicated AlienFX
62 USB MCU such as the X51 and X51-R2.
63
64config HUAWEI_WMI
65 tristate "Huawei WMI laptop extras driver"
66 depends on ACPI_BATTERY
67 depends on ACPI_WMI
68 depends on INPUT
69 select INPUT_SPARSEKMAP
0c51a4d8 70 select LEDS_CLASS
45a3d578
AS
71 select LEDS_TRIGGERS
72 select LEDS_TRIGGER_AUDIO
0c51a4d8 73 select NEW_LEDS
45a3d578
AS
74 help
75 This driver provides support for Huawei WMI hotkeys, battery charge
76 control, fn-lock, mic-mute LED, and other extra features.
77
78 To compile this driver as a module, choose M here: the module
79 will be called huawei-wmi.
80
2d30fcdd
JJ
81config INTEL_WMI_SBL_FW_UPDATE
82 tristate "Intel WMI Slim Bootloader firmware update signaling driver"
83 depends on ACPI_WMI
84 help
85 Say Y here if you want to be able to use the WMI interface to signal
86 Slim Bootloader to trigger update on next reboot.
87
88 To compile this driver as a module, choose M here: the module will
89 be called intel-wmi-sbl-fw-update.
90
45a3d578
AS
91config INTEL_WMI_THUNDERBOLT
92 tristate "Intel WMI thunderbolt force power driver"
e98062ed 93 depends on ACPI_WMI
a7f7f624 94 help
45a3d578
AS
95 Say Y here if you want to be able to use the WMI interface on select
96 systems to force the power control of Intel Thunderbolt controllers.
97 This is useful for updating the firmware when devices are not plugged
98 into the controller.
41b16dce 99
45a3d578
AS
100 To compile this driver as a module, choose M here: the module will
101 be called intel-wmi-thunderbolt.
41b16dce 102
45a3d578
AS
103config MXM_WMI
104 tristate "WMI support for MXM Laptop Graphics"
105 depends on ACPI_WMI
a7f7f624 106 help
45a3d578
AS
107 MXM is a standard for laptop graphics cards, the WMI interface
108 is required for switchable nvidia graphics machines
75971feb 109
45a3d578
AS
110config PEAQ_WMI
111 tristate "PEAQ 2-in-1 WMI hotkey driver"
112 depends on ACPI_WMI
113 depends on INPUT
114 help
115 Say Y here if you want to support WMI-based hotkeys on PEAQ 2-in-1s.
75971feb 116
45a3d578
AS
117config XIAOMI_WMI
118 tristate "Xiaomi WMI key driver"
119 depends on ACPI_WMI
120 depends on INPUT
121 help
122 Say Y here if you want to support WMI-based keys on Xiaomi notebooks.
123
124 To compile this driver as a module, choose M here: the module will
125 be called xiaomi-wmi.
75971feb 126
e86435eb
PF
127config ACERHDF
128 tristate "Acer Aspire One temperature and fan driver"
200db647 129 depends on ACPI && THERMAL
48c8dd64 130 select THERMAL_GOV_BANG_BANG
a7f7f624 131 help
e86435eb
PF
132 This is a driver for Acer Aspire One netbooks. It allows to access
133 the temperature sensor and to control the fan.
134
135 After loading this driver the BIOS is still in control of the fan.
136 To let the kernel handle the fan, do:
14c20688
PG
137 echo -n enabled > /sys/class/thermal/thermal_zoneN/mode
138 where N=0,1,2... depending on the number of thermal nodes and the
139 detection order of your particular system. The "type" parameter
140 in the same node directory will tell you if it is "acerhdf".
e86435eb
PF
141
142 For more information about this driver see
78d15eea 143 <https://piie.net/files/acerhdf_README.txt>
e86435eb
PF
144
145 If you have an Acer Aspire One netbook, say Y or M
146 here.
147
45a3d578
AS
148config ACER_WIRELESS
149 tristate "Acer Wireless Radio Control Driver"
150 depends on ACPI
151 depends on INPUT
a7f7f624 152 help
45a3d578
AS
153 The Acer Wireless Radio Control handles the airplane mode hotkey
154 present on new Acer laptops.
155
156 Say Y or M here if you have an Acer notebook with an airplane mode
157 hotkey.
158
159 If you choose to compile this driver as a module the module will be
160 called acer-wireless.
161
162config ACER_WMI
163 tristate "Acer WMI Laptop Extras"
a46ad0f1 164 depends on ACPI
45a3d578
AS
165 select LEDS_CLASS
166 select NEW_LEDS
167 depends on BACKLIGHT_CLASS_DEVICE
168 depends on SERIO_I8042
169 depends on INPUT
170 depends on RFKILL || RFKILL = n
a46ad0f1 171 depends on ACPI_WMI
45a3d578
AS
172 select INPUT_SPARSEKMAP
173 # Acer WMI depends on ACPI_VIDEO when ACPI is enabled
174 select ACPI_VIDEO if ACPI
a7f7f624 175 help
45a3d578
AS
176 This is a driver for newer Acer (and Wistron) laptops. It adds
177 wireless radio and bluetooth control, and on some laptops,
178 exposes the mail LED and LCD backlight.
179
180 If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M
181 here.
182
183config APPLE_GMUX
184 tristate "Apple Gmux Driver"
185 depends on ACPI && PCI
186 depends on PNP
187 depends on BACKLIGHT_CLASS_DEVICE
188 depends on BACKLIGHT_APPLE=n || BACKLIGHT_APPLE
189 depends on ACPI_VIDEO=n || ACPI_VIDEO
a7f7f624 190 help
45a3d578
AS
191 This driver provides support for the gmux device found on many
192 Apple laptops, which controls the display mux for the hybrid
193 graphics as well as the backlight. Currently only backlight
194 control is supported by the driver.
a46ad0f1 195
41b16dce 196config ASUS_LAPTOP
6122af37 197 tristate "Asus Laptop Extras"
41b16dce 198 depends on ACPI
e73e2c62
CC
199 select LEDS_CLASS
200 select NEW_LEDS
14ca7a47 201 depends on BACKLIGHT_CLASS_DEVICE
12d6f35b 202 depends on INPUT
18e1311e 203 depends on RFKILL || RFKILL = n
14ca7a47 204 depends on ACPI_VIDEO || ACPI_VIDEO = n
66a71dd1 205 select INPUT_SPARSEKMAP
a7f7f624 206 help
8819de7f
AR
207 This is a driver for Asus laptops, Lenovo SL and the Pegatron
208 Lucid tablet. It may also support some MEDION, JVC or VICTOR
209 laptops. It makes all the extra buttons generate standard
b23910c2
AR
210 ACPI events and input events, and on the Lucid the built-in
211 accelerometer appears as an input device. It also adds
212 support for video output switching, LCD backlight control,
213 Bluetooth and Wlan control, and most importantly, allows you
214 to blink those fancy LEDs.
41b16dce 215
8819de7f 216 For more information see <http://acpi4asus.sf.net>.
41b16dce
LB
217
218 If you have an ACPI-compatible ASUS laptop, say Y or M here.
219
45a3d578
AS
220config ASUS_WIRELESS
221 tristate "Asus Wireless Radio Control Driver"
222 depends on ACPI
223 depends on INPUT
224 select NEW_LEDS
225 select LEDS_CLASS
a7f7f624 226 help
45a3d578
AS
227 The Asus Wireless Radio Control handles the airplane mode hotkey
228 present on some Asus laptops.
229
230 Say Y or M here if you have an ASUS notebook with an airplane mode
231 hotkey.
232
233 If you choose to compile this driver as a module the module will be
234 called asus-wireless.
235
236config ASUS_WMI
237 tristate "ASUS WMI Driver"
238 depends on ACPI_WMI
239 depends on ACPI_BATTERY
240 depends on INPUT
241 depends on HWMON
242 depends on BACKLIGHT_CLASS_DEVICE
243 depends on RFKILL || RFKILL = n
244 depends on HOTPLUG_PCI
245 depends on ACPI_VIDEO || ACPI_VIDEO = n
246 select INPUT_SPARSEKMAP
247 select LEDS_CLASS
248 select NEW_LEDS
a7f7f624 249 help
45a3d578
AS
250 Say Y here if you have a WMI aware Asus laptop (like Eee PCs or new
251 Asus Notebooks).
252
253 To compile this driver as a module, choose M here: the module will
254 be called asus-wmi.
255
256config ASUS_NB_WMI
257 tristate "Asus Notebook WMI Driver"
258 depends on ASUS_WMI
259 depends on SERIO_I8042 || SERIO_I8042 = n
a7f7f624 260 help
45a3d578
AS
261 This is a driver for newer Asus notebooks. It adds extra features
262 like wireless radio and bluetooth control, leds, hotkeys, backlight...
263
264 For more information, see
265 <file:Documentation/ABI/testing/sysfs-platform-asus-wmi>
266
267 If you have an ACPI-WMI compatible Asus Notebook, say Y or M
268 here.
269
270config EEEPC_LAPTOP
271 tristate "Eee PC Hotkey Driver"
272 depends on ACPI
273 depends on INPUT
274 depends on RFKILL || RFKILL = n
275 depends on ACPI_VIDEO || ACPI_VIDEO = n
276 depends on HOTPLUG_PCI
277 depends on BACKLIGHT_CLASS_DEVICE
278 select HWMON
279 select LEDS_CLASS
280 select NEW_LEDS
281 select INPUT_SPARSEKMAP
a7f7f624 282 help
45a3d578
AS
283 This driver supports the Fn-Fx keys on Eee PC laptops.
284
285 It also gives access to some extra laptop functionalities like
286 Bluetooth, backlight and allows powering on/off some other
287 devices.
288
289 If you have an Eee PC laptop, say Y or M here. If this driver
290 doesn't work on your Eee PC, try eeepc-wmi instead.
291
292config EEEPC_WMI
293 tristate "Eee PC WMI Driver"
294 depends on ASUS_WMI
a7f7f624 295 help
45a3d578
AS
296 This is a driver for newer Eee PC laptops. It adds extra features
297 like wireless radio and bluetooth control, leds, hotkeys, backlight...
298
299 For more information, see
300 <file:Documentation/ABI/testing/sysfs-platform-asus-wmi>
301
302 If you have an ACPI-WMI compatible Eee PC laptop (>= 1000), say Y or M
303 here.
304
8e5cddd1
SH
305config DCDBAS
306 tristate "Dell Systems Management Base Driver"
307 depends on X86
308 help
309 The Dell Systems Management Base Driver provides a sysfs interface
310 for systems management software to perform System Management
311 Interrupts (SMIs) and Host Control Actions (system power cycle or
312 power off after OS shutdown) on certain Dell systems.
313
baa293e9 314 See <file:Documentation/driver-api/dcdbas.rst> for more details on the driver
8e5cddd1
SH
315 and the Dell systems on which Dell systems management software makes
316 use of this driver.
317
318 Say Y or M here to enable the driver for use by Dell systems
319 management software such as Dell OpenManage.
320
32d7b19b 321#
75073a64
DH
322# The DELL_SMBIOS driver depends on ACPI_WMI and/or DCDBAS if those
323# backends are selected. The "depends" line prevents a configuration
324# where DELL_SMBIOS=y while either of those dependencies =m.
32d7b19b 325#
2f9f26bd 326config DELL_SMBIOS
25d47027 327 tristate "Dell SMBIOS driver"
32d7b19b 328 depends on DCDBAS || DCDBAS=n
75073a64 329 depends on ACPI_WMI || ACPI_WMI=n
a7f7f624 330 help
25d47027
ML
331 This provides support for the Dell SMBIOS calling interface.
332 If you have a Dell computer you should enable this option.
333
334 Be sure to select at least one backend for it to work properly.
549b4930 335
1a258e67 336config DELL_SMBIOS_WMI
25d47027 337 bool "Dell SMBIOS driver WMI backend"
329d58b8 338 default y
1a258e67
ML
339 depends on ACPI_WMI
340 select DELL_WMI_DESCRIPTOR
329d58b8 341 depends on DELL_SMBIOS
a7f7f624 342 help
1a258e67
ML
343 This provides an implementation for the Dell SMBIOS calling interface
344 communicated over ACPI-WMI.
345
25d47027 346 If you have a Dell computer from >2007 you should say Y here.
1a258e67
ML
347 If you aren't sure and this module doesn't work for your computer
348 it just won't load.
349
549b4930 350config DELL_SMBIOS_SMM
25d47027 351 bool "Dell SMBIOS driver SMM backend"
329d58b8 352 default y
549b4930 353 depends on DCDBAS
329d58b8 354 depends on DELL_SMBIOS
a7f7f624 355 help
549b4930
ML
356 This provides an implementation for the Dell SMBIOS calling interface
357 communicated over SMI/SMM.
2f9f26bd 358
25d47027 359 If you have a Dell computer from <=2017 you should say Y here.
549b4930
ML
360 If you aren't sure and this module doesn't work for your computer
361 it just won't load.
2f9f26bd 362
cad73120 363config DELL_LAPTOP
fe7e913c 364 tristate "Dell Laptop Extras"
a570af48 365 depends on DMI
cad73120 366 depends on BACKLIGHT_CLASS_DEVICE
14ca7a47 367 depends on ACPI_VIDEO || ACPI_VIDEO = n
19d337df 368 depends on RFKILL || RFKILL = n
814cb8ad 369 depends on SERIO_I8042
7fe3fa3b 370 depends on DELL_SMBIOS
dccefb37 371 select POWER_SUPPLY
b9c913f3
LT
372 select LEDS_CLASS
373 select NEW_LEDS
d00fa46e
TI
374 select LEDS_TRIGGERS
375 select LEDS_TRIGGER_AUDIO
a7f7f624 376 help
cad73120 377 This driver adds support for rfkill and backlight control to Dell
eec3b959 378 laptops (except for some models covered by the Compal driver).
cad73120 379
45a3d578
AS
380config DELL_RBTN
381 tristate "Dell Airplane Mode Switch driver"
382 depends on ACPI
383 depends on INPUT
384 depends on RFKILL
a7f7f624 385 help
45a3d578
AS
386 Say Y here if you want to support Dell Airplane Mode Switch ACPI
387 device on Dell laptops. Sometimes it has names: DELLABCE or DELRBTN.
388 This driver register rfkill device or input hotkey device depending
389 on hardware type (hw switch slider or keyboard toggle button). For
390 rfkill devices it receive HW switch events and set correct hard
391 rfkill state.
392
393 To compile this driver as a module, choose M here: the module will
394 be called dell-rbtn.
395
396config DELL_RBU
397 tristate "BIOS update support for DELL systems via sysfs"
398 depends on X86
399 select FW_LOADER
400 select FW_LOADER_USER_HELPER
401 help
402 Say m if you want to have the option of updating the BIOS for your
403 DELL system. Note you need a Dell OpenManage or Dell Update package (DUP)
404 supporting application to communicate with the BIOS regarding the new
405 image for the image update to take effect.
406 See <file:Documentation/admin-guide/dell_rbu.rst> for more details on the driver.
407
408config DELL_SMO8800
409 tristate "Dell Latitude freefall driver (ACPI SMO88XX)"
410 depends on ACPI
a7f7f624 411 help
45a3d578
AS
412 Say Y here if you want to support SMO88XX freefall devices
413 on Dell Latitude laptops.
414
415 To compile this driver as a module, choose M here: the module will
416 be called dell-smo8800.
417
418config DELL_WMI
419 tristate "Dell WMI notifications"
420 depends on ACPI_WMI
421 depends on DMI
0b3f6109 422 depends on INPUT
14ca7a47 423 depends on ACPI_VIDEO || ACPI_VIDEO = n
54940fa6 424 depends on DELL_SMBIOS
92b8c540 425 select DELL_WMI_DESCRIPTOR
890a7c8e 426 select INPUT_SPARSEKMAP
a7f7f624 427 help
0b3f6109
MG
428 Say Y here if you want to support WMI-based hotkeys on Dell laptops.
429
430 To compile this driver as a module, choose M here: the module will
431 be called dell-wmi.
432
e8a60aa7
DB
433config DELL_WMI_SYSMAN
434 tristate "Dell WMI-based Systems management driver"
435 depends on ACPI_WMI
436 depends on DMI
437 select NLS
438 help
439 This driver allows changing BIOS settings on many Dell machines from
440 2018 and newer without the use of any additional software.
441
442 To compile this driver as a module, choose M here: the module will
443 be called dell-wmi-sysman.
444
92b8c540
ML
445config DELL_WMI_DESCRIPTOR
446 tristate
447 depends on ACPI_WMI
448
820787fc
CIK
449config DELL_WMI_AIO
450 tristate "WMI Hotkeys for Dell All-In-One series"
451 depends on ACPI_WMI
452 depends on INPUT
453 select INPUT_SPARSEKMAP
a7f7f624 454 help
820787fc
CIK
455 Say Y here if you want to support WMI-based hotkeys on Dell
456 All-In-One machines.
457
458 To compile this driver as a module, choose M here: the module will
cffbcd0c 459 be called dell-wmi-aio.
820787fc 460
7a3319c1
MK
461config DELL_WMI_LED
462 tristate "External LED on Dell Business Netbooks"
463 depends on LEDS_CLASS
464 depends on ACPI_WMI
465 help
466 This adds support for the Latitude 2100 and similar
467 notebooks that have an external LED.
468
45a3d578
AS
469config AMILO_RFKILL
470 tristate "Fujitsu-Siemens Amilo rfkill support"
817a5cdb 471 depends on RFKILL
45a3d578 472 depends on SERIO_I8042
a7f7f624 473 help
45a3d578
AS
474 This is a driver for enabling wifi on some Fujitsu-Siemens Amilo
475 laptops.
820787fc 476
41b16dce
LB
477config FUJITSU_LAPTOP
478 tristate "Fujitsu Laptop Extras"
479 depends on ACPI
480 depends on INPUT
481 depends on BACKLIGHT_CLASS_DEVICE
14ca7a47 482 depends on ACPI_VIDEO || ACPI_VIDEO = n
f2252672 483 select INPUT_SPARSEKMAP
afdd1ebb 484 select NEW_LEDS
d89bcc83 485 select LEDS_CLASS
a7f7f624 486 help
41b16dce
LB
487 This is a driver for laptops built by Fujitsu:
488
489 * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks
490 * Possibly other Fujitsu laptop models
491 * Tested with S6410 and S7020
492
493 It adds support for LCD brightness control and some hotkeys.
494
495 If you have a Fujitsu laptop, say Y or M here.
496
2d24c490
RG
497config FUJITSU_TABLET
498 tristate "Fujitsu Tablet Extras"
499 depends on ACPI
500 depends on INPUT
a7f7f624 501 help
2d24c490
RG
502 This is a driver for tablets built by Fujitsu:
503
504 * Lifebook P1510/P1610/P1620/Txxxx
505 * Stylistic ST5xxx
506 * Possibly other Fujitsu tablet models
507
508 It adds support for the panel buttons, docking station detection,
509 tablet/notebook mode detection for convertible and
510 orientation detection for docked slates.
511
512 If you have a Fujitsu convertible or slate, say Y or M here.
513
1b46f17d
HG
514config GPD_POCKET_FAN
515 tristate "GPD Pocket Fan Controller support"
516 depends on ACPI
517 depends on THERMAL
a7f7f624 518 help
1b46f17d
HG
519 Driver for the GPD Pocket vendor specific FAN02501 ACPI device
520 which controls the fan speed on the GPD Pocket.
521
522 Without this driver the fan on the Pocket will stay off independent
523 of the CPU temperature. Say Y or M if the kernel may be used on a
524 GPD pocket.
525
efcfed9b
JD
526config HP_ACCEL
527 tristate "HP laptop accelerometer"
528 depends on INPUT && ACPI
0cdbcd6d 529 depends on SERIO_I8042
efcfed9b
JD
530 select SENSORS_LIS3LV02D
531 select NEW_LEDS
532 select LEDS_CLASS
533 help
534 This driver provides support for the "Mobile Data Protection System 3D"
535 or "3D DriveGuard" feature of HP laptops. On such systems the driver
536 should load automatically (via ACPI alias).
537
538 Support for a led indicating disk protection will be provided as
539 hp::hddprotect. For more information on the feature, refer to
9b5db89e 540 Documentation/misc-devices/lis3lv02d.rst.
efcfed9b
JD
541
542 To compile this driver as a module, choose M here: the module will
543 be called hp_accel.
544
54290fa6 545config HP_WIRELESS
48d8b96c 546 tristate "HP wireless button"
54290fa6
AH
547 depends on ACPI
548 depends on INPUT
549 help
550 This driver provides supports for new HP wireless button for Windows 8.
551 On such systems the driver should load automatically (via ACPI alias).
552
553 To compile this driver as a module, choose M here: the module will
554 be called hp-wireless.
555
41b16dce
LB
556config HP_WMI
557 tristate "HP WMI extras"
558 depends on ACPI_WMI
559 depends on INPUT
19d337df 560 depends on RFKILL || RFKILL = n
4d291ed7 561 select INPUT_SPARSEKMAP
41b16dce
LB
562 help
563 Say Y here if you want to support WMI-based hotkeys on HP laptops and
564 to read data from WMI such as docking or ambient light sensor state.
565
566 To compile this driver as a module, choose M here: the module will
567 be called hp-wmi.
568
45a3d578
AS
569config TC1100_WMI
570 tristate "HP Compaq TC1100 Tablet WMI Extras"
571 depends on !X86_64
dbf0c5a6
MZA
572 depends on ACPI
573 depends on ACPI_WMI
a7f7f624 574 help
45a3d578
AS
575 This is a driver for the WMI extensions (wireless and bluetooth power
576 control) of the HP Compaq TC1100 tablet.
41b16dce 577
45a3d578
AS
578config IBM_RTL
579 tristate "Device driver to enable PRTL support"
580 depends on PCI
a7f7f624 581 help
45a3d578
AS
582 Enable support for IBM Premium Real Time Mode (PRTM).
583 This module will allow you the enter and exit PRTM in the BIOS via
584 sysfs on platforms that support this feature. System in PRTM will
585 not receive CPU-generated SMIs for recoverable errors. Use of this
586 feature without proper support may void your hardware warranty.
41b16dce 587
45a3d578
AS
588 If the proper BIOS support is found the driver will load and create
589 /sys/devices/system/ibm_rtl/. The "state" variable will indicate
590 whether or not the BIOS is in PRTM.
591 state = 0 (BIOS SMIs on)
592 state = 1 (BIOS SMIs off)
41b16dce 593
57ac3b05
IP
594config IDEAPAD_LAPTOP
595 tristate "Lenovo IdeaPad Laptop Extras"
58ac7aa0 596 depends on ACPI
ad0f4306 597 depends on RFKILL && INPUT
07a4a4fc 598 depends on SERIO_I8042
445e8d00 599 depends on BACKLIGHT_CLASS_DEVICE
14ca7a47 600 depends on ACPI_VIDEO || ACPI_VIDEO = n
74caab99 601 depends on ACPI_WMI || ACPI_WMI = n
f63409ae 602 select INPUT_SPARSEKMAP
58ac7aa0 603 help
16fd91e0
IP
604 This is a driver for Lenovo IdeaPad netbooks contains drivers for
605 rfkill switch, hotkey, fan control and backlight control.
58ac7aa0 606
45a3d578
AS
607config SENSORS_HDAPS
608 tristate "Thinkpad Hard Drive Active Protection System (hdaps)"
3dda3b37 609 depends on INPUT
45a3d578
AS
610 help
611 This driver provides support for the IBM Hard Drive Active Protection
612 System (hdaps), which provides an accelerometer and other misc. data.
613 ThinkPads starting with the R50, T41, and X40 are supported. The
614 accelerometer data is readable via sysfs.
3dda3b37 615
45a3d578
AS
616 This driver also provides an absolute input class device, allowing
617 the laptop to act as a pinball machine-esque joystick.
618
619 If your ThinkPad is not recognized by the driver, please update to latest
620 BIOS. This is especially the case for some R52 ThinkPads.
621
622 Say Y here if you have an applicable laptop and want to experience
623 the awesome power of hdaps.
3dda3b37 624
41b16dce
LB
625config THINKPAD_ACPI
626 tristate "ThinkPad ACPI Laptop Extras"
627 depends on ACPI
2801b968 628 depends on ACPI_BATTERY
d263da31 629 depends on INPUT
19d337df 630 depends on RFKILL || RFKILL = n
14ca7a47
HG
631 depends on ACPI_VIDEO || ACPI_VIDEO = n
632 depends on BACKLIGHT_CLASS_DEVICE
41b16dce
LB
633 select HWMON
634 select NVRAM
41b16dce
LB
635 select NEW_LEDS
636 select LEDS_CLASS
4e1d0924
TI
637 select LEDS_TRIGGERS
638 select LEDS_TRIGGER_AUDIO
a7f7f624 639 help
41b16dce
LB
640 This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
641 support for Fn-Fx key combinations, Bluetooth control, video
642 output switching, ThinkLight control, UltraBay eject and more.
643 For more information about this driver see
9e1cbede 644 <file:Documentation/admin-guide/laptops/thinkpad-acpi.rst> and
41b16dce
LB
645 <http://ibm-acpi.sf.net/> .
646
647 This driver was formerly known as ibm-acpi.
648
6e5b08ee
HMH
649 Extra functionality will be available if the rfkill (CONFIG_RFKILL)
650 and/or ALSA (CONFIG_SND) subsystems are available in the kernel.
651 Note that if you want ThinkPad-ACPI to be built-in instead of
652 modular, ALSA and rfkill will also have to be built-in.
653
41b16dce
LB
654 If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
655
ff850c33
HMH
656config THINKPAD_ACPI_ALSA_SUPPORT
657 bool "Console audio control ALSA interface"
658 depends on THINKPAD_ACPI
659 depends on SND
660 depends on SND = y || THINKPAD_ACPI = SND
661 default y
a7f7f624 662 help
ff850c33
HMH
663 Enables monitoring of the built-in console audio output control
664 (headphone and speakers), which is operated by the mute and (in
665 some ThinkPad models) volume hotkeys.
666
667 If this option is enabled, ThinkPad-ACPI will export an ALSA card
668 with a single read-only mixer control, which should be used for
669 on-screen-display feedback purposes by the Desktop Environment.
670
671 Optionally, the driver will also allow software control (the
672 ALSA mixer will be made read-write). Please refer to the driver
673 documentation for details.
674
675 All IBM models have both volume and mute control. Newer Lenovo
676 models only have mute control (the volume hotkeys are just normal
677 keys and volume control is done through the main HDA mixer).
678
a73f3091
HMH
679config THINKPAD_ACPI_DEBUGFACILITIES
680 bool "Maintainer debug facilities"
681 depends on THINKPAD_ACPI
a7f7f624 682 help
a73f3091
HMH
683 Enables extra stuff in the thinkpad-acpi which is completely useless
684 for normal use. Read the driver source to find out what it does.
685
686 Say N here, unless you were told by a kernel maintainer to do
687 otherwise.
688
41b16dce
LB
689config THINKPAD_ACPI_DEBUG
690 bool "Verbose debug mode"
691 depends on THINKPAD_ACPI
a7f7f624 692 help
41b16dce
LB
693 Enables extra debugging information, at the expense of a slightly
694 increase in driver size.
695
696 If you are not sure, say N here.
697
a4d5effc
HMH
698config THINKPAD_ACPI_UNSAFE_LEDS
699 bool "Allow control of important LEDs (unsafe)"
700 depends on THINKPAD_ACPI
a7f7f624 701 help
a4d5effc
HMH
702 Overriding LED state on ThinkPads can mask important
703 firmware alerts (like critical battery condition), or misled
704 the user into damaging the hardware (undocking or ejecting
705 the bay while buses are still active), etc.
706
707 LED control on the ThinkPad is write-only (with very few
708 exceptions on very ancient models), which makes it
709 impossible to know beforehand if important information will
710 be lost when one changes LED state.
711
712 Users that know what they are doing can enable this option
713 and the driver will allow control of every LED, including
714 the ones on the dock stations.
715
716 Never enable this option on a distribution kernel.
717
718 Say N here, unless you are building a kernel for your own
719 use, and need to control the important firmware LEDs.
720
41b16dce
LB
721config THINKPAD_ACPI_VIDEO
722 bool "Video output control support"
723 depends on THINKPAD_ACPI
724 default y
a7f7f624 725 help
41b16dce
LB
726 Allows the thinkpad_acpi driver to provide an interface to control
727 the various video output ports.
728
729 This feature often won't work well, depending on ThinkPad model,
730 display state, video output devices in use, whether there is a X
731 server running, phase of the moon, and the current mood of
732 Schroedinger's cat. If you can use X.org's RandR to control
733 your ThinkPad's video output ports instead of this feature,
b525c06c
HMH
734 don't think twice: do it and say N here to save memory and avoid
735 bad interactions with X.org.
41b16dce 736
b525c06c
HMH
737 NOTE: access to this feature is limited to processes with the
738 CAP_SYS_ADMIN capability, to avoid local DoS issues in platforms
739 where it interacts badly with X.org.
740
741 If you are not sure, say Y here but do try to check if you could
742 be using X.org RandR instead.
41b16dce
LB
743
744config THINKPAD_ACPI_HOTKEY_POLL
745 bool "Support NVRAM polling for hot keys"
746 depends on THINKPAD_ACPI
747 default y
a7f7f624 748 help
41b16dce
LB
749 Some thinkpad models benefit from NVRAM polling to detect a few of
750 the hot key press events. If you know your ThinkPad model does not
751 need to do NVRAM polling to support any of the hot keys you use,
752 unselecting this option will save about 1kB of memory.
753
754 ThinkPads T40 and newer, R52 and newer, and X31 and newer are
755 unlikely to need NVRAM polling in their latest BIOS versions.
756
757 NVRAM polling can detect at most the following keys: ThinkPad/Access
758 IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
759 Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
760
761 If you are not sure, say Y here. The driver enables polling only if
762 it is strictly necessary to do so.
763
4b2d688f
HG
764config INTEL_ATOMISP2_LED
765 tristate "Intel AtomISP2 camera LED driver"
766 depends on GPIOLIB && LEDS_GPIO
767 help
768 Many Bay Trail and Cherry Trail devices come with a camera attached
769 to Intel's Image Signal Processor. Linux currently does not have a
770 driver for these, so they do not work as a camera. Some of these
771 camera's have a LED which is controlled through a GPIO.
772
773 Some of these devices have a firmware issue where the LED gets turned
774 on at boot. This driver will turn the LED off at boot and also allows
775 controlling the LED (repurposing it) through the sysfs LED interface.
776
777 Which GPIO is attached to the LED is usually not described in the
778 ACPI tables, so this driver contains per-system info about the GPIO
779 inside the driver, this means that this driver only works on systems
780 the driver knows about.
781
782 To compile this driver as a module, choose M here: the module
783 will be called intel_atomisp2_led.
784
45a3d578
AS
785config INTEL_ATOMISP2_PM
786 tristate "Intel AtomISP2 dummy / power-management driver"
787 depends on PCI && IOSF_MBI && PM
1ab70982 788 depends on !INTEL_ATOMISP
bd9fc3a7 789 help
45a3d578
AS
790 Power-management driver for Intel's Image Signal Processor found on
791 Bay Trail and Cherry Trail devices. This dummy driver's sole purpose
792 is to turn the ISP off (put it in D3) to save power and to allow
793 entering of S0ix modes.
bd9fc3a7 794
45a3d578
AS
795 To compile this driver as a module, choose M here: the module
796 will be called intel_atomisp2_pm.
bd9fc3a7 797
45a3d578
AS
798config INTEL_CHT_INT33FE
799 tristate "Intel Cherry Trail ACPI INT33FE Driver"
800 depends on X86 && ACPI && I2C && REGULATOR
801 depends on CHARGER_BQ24190=y || (CHARGER_BQ24190=m && m)
802 depends on USB_ROLES_INTEL_XHCI=y || (USB_ROLES_INTEL_XHCI=m && m)
803 depends on TYPEC_MUX_PI3USB30532=y || (TYPEC_MUX_PI3USB30532=m && m)
a7f7f624 804 help
45a3d578
AS
805 This driver add support for the INT33FE ACPI device found on
806 some Intel Cherry Trail devices.
41b16dce 807
45a3d578
AS
808 There are two kinds of INT33FE ACPI device possible: for hardware
809 with USB Type-C and Micro-B connectors. This driver supports both.
76593d6f 810
45a3d578
AS
811 The INT33FE ACPI device has a CRS table with I2cSerialBusV2
812 resources for Fuel Gauge Controller and (in the Type-C variant)
813 FUSB302 USB Type-C Controller and PI3USB30532 USB switch.
814 This driver instantiates i2c-clients for these, so that standard
815 i2c drivers for these chips can bind to the them.
41b16dce 816
45a3d578
AS
817 If you enable this driver it is advised to also select
818 CONFIG_BATTERY_BQ27XXX=m or CONFIG_BATTERY_BQ27XXX_I2C=m for Micro-B
819 device and CONFIG_TYPEC_FUSB302=m and CONFIG_BATTERY_MAX17042=m
820 for Type-C device.
41b16dce 821
45a3d578
AS
822config INTEL_HID_EVENT
823 tristate "INTEL HID Event"
824 depends on ACPI
ee027e4a 825 depends on INPUT
fb48aef7 826 select INPUT_SPARSEKMAP
45a3d578
AS
827 help
828 This driver provides support for the Intel HID Event hotkey interface.
829 Some laptops require this driver for hotkey support.
ee027e4a
YW
830
831 To compile this driver as a module, choose M here: the module will
45a3d578 832 be called intel_hid.
e12e6d94 833
45a3d578
AS
834config INTEL_INT0002_VGPIO
835 tristate "Intel ACPI INT0002 Virtual GPIO driver"
836 depends on GPIOLIB && ACPI
837 select GPIOLIB_IRQCHIP
a7f7f624 838 help
45a3d578
AS
839 Some peripherals on Bay Trail and Cherry Trail platforms signal a
840 Power Management Event (PME) to the Power Management Controller (PMC)
841 to wakeup the system. When this happens software needs to explicitly
842 clear the PME bus 0 status bit in the GPE0a_STS register to avoid an
843 IRQ storm on IRQ 9.
b229ece9 844
45a3d578
AS
845 This is modelled in ACPI through the INT0002 ACPI device, which is
846 called a "Virtual GPIO controller" in ACPI because it defines the
847 event handler to call when the PME triggers through _AEI and _L02
848 methods as would be done for a real GPIO interrupt in ACPI.
b229ece9 849
45a3d578
AS
850 To compile this driver as a module, choose M here: the module will
851 be called intel_int0002_vgpio.
b229ece9 852
45a3d578
AS
853config INTEL_MENLOW
854 tristate "Thermal Management driver for Intel menlow platform"
855 depends on ACPI_THERMAL
856 select THERMAL
a7f7f624 857 help
45a3d578
AS
858 ACPI thermal management enhancement driver on
859 Intel Menlow platform.
e12e6d94 860
45a3d578 861 If unsure, say N.
b4f9fe12 862
45a3d578
AS
863config INTEL_OAKTRAIL
864 tristate "Intel Oaktrail Platform Extras"
f6a6bbae 865 depends on ACPI
45a3d578
AS
866 depends on ACPI_VIDEO || ACPI_VIDEO = n
867 depends on RFKILL && BACKLIGHT_CLASS_DEVICE && ACPI
a7f7f624 868 help
45a3d578
AS
869 Intel Oaktrail platform need this driver to provide interfaces to
870 enable/disable the Camera, WiFi, BT etc. devices. If in doubt, say Y
871 here; it will only load on supported platforms.
f6a6bbae 872
45a3d578
AS
873config INTEL_VBTN
874 tristate "INTEL VIRTUAL BUTTON"
b4f9fe12 875 depends on ACPI
45a3d578
AS
876 depends on INPUT
877 select INPUT_SPARSEKMAP
b4f9fe12 878 help
45a3d578
AS
879 This driver provides support for the Intel Virtual Button interface.
880 Some laptops require this driver for power button support.
b4f9fe12 881
45a3d578
AS
882 To compile this driver as a module, choose M here: the module will
883 be called intel_vbtn.
b4f9fe12 884
45a3d578
AS
885config MSI_LAPTOP
886 tristate "MSI Laptop Extras"
887 depends on ACPI
888 depends on BACKLIGHT_CLASS_DEVICE
889 depends on ACPI_VIDEO || ACPI_VIDEO = n
890 depends on RFKILL
891 depends on INPUT && SERIO_I8042
892 select INPUT_SPARSEKMAP
a7f7f624 893 help
45a3d578
AS
894 This is a driver for laptops built by MSI (MICRO-STAR
895 INTERNATIONAL):
edb73f4f 896
45a3d578
AS
897 MSI MegaBook S270 (MS-1013)
898 Cytron/TCM/Medion/Tchibo MD96100/SAM2000
899
900 It adds support for Bluetooth, WLAN and LCD brightness control.
901
902 More information about this driver is available at
903 <http://0pointer.de/lennart/tchibo.html>.
904
905 If you have an MSI S270 laptop, say Y or M here.
edb73f4f 906
d12d8baf
TR
907config MSI_WMI
908 tristate "MSI WMI extras"
909 depends on ACPI_WMI
910 depends on INPUT
de078e57 911 depends on BACKLIGHT_CLASS_DEVICE
14ca7a47 912 depends on ACPI_VIDEO || ACPI_VIDEO = n
c30116c6 913 select INPUT_SPARSEKMAP
d12d8baf
TR
914 help
915 Say Y here if you want to support WMI-based hotkeys on MSI laptops.
916
917 To compile this driver as a module, choose M here: the module will
918 be called msi-wmi.
919
45a3d578
AS
920config XO15_EBOOK
921 tristate "OLPC XO-1.5 ebook switch"
922 depends on OLPC || COMPILE_TEST
923 depends on ACPI && INPUT
a7f7f624 924 help
45a3d578
AS
925 Support for the ebook switch on the OLPC XO-1.5 laptop.
926
927 This switch is triggered as the screen is rotated and folded down to
928 convert the device into ebook form.
929
930config XO1_RFKILL
931 tristate "OLPC XO-1 software RF kill switch"
932 depends on OLPC || COMPILE_TEST
933 depends on RFKILL
a7f7f624 934 help
45a3d578
AS
935 Support for enabling/disabling the WLAN interface on the OLPC XO-1
936 laptop.
937
938config PCENGINES_APU2
939 tristate "PC Engines APUv2/3 front button and LEDs driver"
940 depends on INPUT && INPUT_KEYBOARD && GPIOLIB
941 depends on LEDS_CLASS
942 select GPIO_AMD_FCH
943 select KEYBOARD_GPIO_POLLED
944 select LEDS_GPIO
13bb0fd5 945 help
45a3d578
AS
946 This driver provides support for the front button and LEDs on
947 PC Engines APUv2/APUv3 board.
13bb0fd5 948
45a3d578
AS
949 To compile this driver as a module, choose M here: the module
950 will be called pcengines-apuv2.
951
952config SAMSUNG_LAPTOP
953 tristate "Samsung Laptop driver"
954 depends on RFKILL || RFKILL = n
955 depends on ACPI_VIDEO || ACPI_VIDEO = n
956 depends on BACKLIGHT_CLASS_DEVICE
bf8f65da
GDG
957 select LEDS_CLASS
958 select NEW_LEDS
a7f7f624 959 help
45a3d578
AS
960 This module implements a driver for a wide range of different
961 Samsung laptops. It offers control over the different
962 function keys, wireless LED, LCD backlight level.
9caeb532 963
45a3d578
AS
964 It may also provide some sysfs files described in
965 <file:Documentation/ABI/testing/sysfs-driver-samsung-laptop>
9caeb532 966
45a3d578
AS
967 To compile this driver as a module, choose M here: the module
968 will be called samsung-laptop.
969
970config SAMSUNG_Q10
971 tristate "Samsung Q10 Extras"
b4f9fe12 972 depends on ACPI
45a3d578 973 select BACKLIGHT_CLASS_DEVICE
a7f7f624 974 help
45a3d578
AS
975 This driver provides support for backlight control on Samsung Q10
976 and related laptops, including Dell Latitude X200.
977
978config ACPI_TOSHIBA
979 tristate "Toshiba Laptop Extras"
b4f9fe12 980 depends on ACPI
f11f999e 981 depends on ACPI_WMI
0c51a4d8
MB
982 select LEDS_CLASS
983 select NEW_LEDS
c76a3e1d 984 depends on BACKLIGHT_CLASS_DEVICE
b4f9fe12 985 depends on INPUT
283672e4 986 depends on SERIO_I8042 || SERIO_I8042 = n
358d6a2c 987 depends on ACPI_VIDEO || ACPI_VIDEO = n
dc4522be 988 depends on RFKILL || RFKILL = n
98010f1e 989 depends on IIO
384a7cd9 990 select INPUT_SPARSEKMAP
a7f7f624 991 help
b4f9fe12
LB
992 This driver adds support for access to certain system settings
993 on "legacy free" Toshiba laptops. These laptops can be recognized by
994 their lack of a BIOS setup menu and APM support.
995
996 On these machines, all system configuration is handled through the
997 ACPI. This driver is required for access to controls not covered
998 by the general ACPI drivers, such as LCD brightness, video output,
999 etc.
1000
1001 This driver differs from the non-ACPI Toshiba laptop driver (located
1002 under "Processor type and features") in several aspects.
1003 Configuration is accessed by reading and writing text files in the
1004 /proc tree instead of by program interface to /dev. Furthermore, no
1005 power management functions are exposed, as those are handled by the
1006 general ACPI drivers.
1007
1008 More information about this driver is available at
1009 <http://memebeam.org/toys/ToshibaAcpiDriver>.
1010
1011 If you have a legacy free Toshiba laptop (such as the Libretto L1
1012 series), say Y.
42b4e9ee
JS
1013
1014config TOSHIBA_BT_RFKILL
1015 tristate "Toshiba Bluetooth RFKill switch support"
1016 depends on ACPI
7ee8cd33 1017 depends on RFKILL || RFKILL = n
a7f7f624 1018 help
42b4e9ee
JS
1019 This driver adds support for Bluetooth events for the RFKill
1020 switch on modern Toshiba laptops with full ACPI support and
1021 an RFKill switch.
1022
1023 This driver handles RFKill events for the TOS6205 Bluetooth,
1024 and re-enables it when the switch is set back to the 'on'
1025 position.
1026
1027 If you have a modern Toshiba laptop with a Bluetooth and an
1028 RFKill switch (such as the Portege R500), say Y.
529aa8cb 1029
186e4e89
AA
1030config TOSHIBA_HAPS
1031 tristate "Toshiba HDD Active Protection Sensor"
1032 depends on ACPI
a7f7f624 1033 help
186e4e89 1034 This driver adds support for the built-in accelerometer
769a12a9 1035 found on recent Toshiba laptops equipped with HID TOS620A
186e4e89
AA
1036 device.
1037
1038 This driver receives ACPI notify events 0x80 when the sensor
1039 detects a sudden move or a harsh vibration, as well as an
1040 ACPI notify event 0x81 whenever the movement or vibration has
1041 been stabilized.
1042
1043 Also provides sysfs entries to get/set the desired protection
769a12a9 1044 level and resetting the HDD protection interface.
186e4e89
AA
1045
1046 If you have a recent Toshiba laptop with a built-in accelerometer
1047 device, say Y.
1048
14991fc7
AA
1049config TOSHIBA_WMI
1050 tristate "Toshiba WMI Hotkeys Driver (EXPERIMENTAL)"
14991fc7
AA
1051 depends on ACPI_WMI
1052 depends on INPUT
1053 select INPUT_SPARSEKMAP
a7f7f624 1054 help
14991fc7
AA
1055 This driver adds hotkey monitoring support to some Toshiba models
1056 that manage the hotkeys via WMI events.
1057
1058 WARNING: This driver is incomplete as it lacks a proper keymap and the
1059 *notify function only prints the ACPI event type value. Be warned that
1060 you will need to provide some information if you have a Toshiba model
83fc61a5 1061 with WMI event hotkeys and want to help with the development of this
14991fc7
AA
1062 driver.
1063
1064 If you have a WMI-based hotkeys Toshiba laptop, say Y or M here.
1065
529aa8cb
TLSC
1066config ACPI_CMPC
1067 tristate "CMPC Laptop Extras"
4f258cf4 1068 depends on ACPI && INPUT
f35843ed 1069 depends on RFKILL || RFKILL=n
529aa8cb 1070 select BACKLIGHT_CLASS_DEVICE
529aa8cb
TLSC
1071 help
1072 Support for Intel Classmate PC ACPI devices, including some
1073 keys as input device, backlight device, tablet and accelerometer
1074 devices.
1075
45a3d578
AS
1076config COMPAL_LAPTOP
1077 tristate "Compal (and others) Laptop Extras"
1078 depends on ACPI
1079 depends on BACKLIGHT_CLASS_DEVICE
1080 depends on ACPI_VIDEO || ACPI_VIDEO = n
1081 depends on RFKILL
1082 depends on HWMON
1083 depends on POWER_SUPPLY
a7f7f624 1084 help
45a3d578
AS
1085 This is a driver for laptops built by Compal, and some models by
1086 other brands (e.g. Dell, Toshiba).
1cd706df 1087
45a3d578
AS
1088 It adds support for rfkill, Bluetooth, WLAN, LCD brightness, hwmon
1089 and battery charging level control.
d740795d 1090
45a3d578
AS
1091config LG_LAPTOP
1092 tristate "LG Laptop Extras"
1093 depends on ACPI
1094 depends on ACPI_WMI
1095 depends on INPUT
1096 select INPUT_SPARSEKMAP
8f0c01e6 1097 select NEW_LEDS
45a3d578
AS
1098 select LEDS_CLASS
1099 help
1100 This driver adds support for hotkeys as well as control of keyboard
1101 backlight, battery maximum charge level and various other ACPI
1102 features.
1cd706df 1103
45a3d578
AS
1104 If you have an LG Gram laptop, say Y or M here.
1105
1106config PANASONIC_LAPTOP
1107 tristate "Panasonic Laptop Extras"
1108 depends on INPUT && ACPI
1109 depends on BACKLIGHT_CLASS_DEVICE
1110 select INPUT_SPARSEKMAP
a7f7f624 1111 help
45a3d578
AS
1112 This driver adds support for access to backlight control and hotkeys
1113 on Panasonic Let's Note laptops.
d740795d 1114
45a3d578
AS
1115 If you have a Panasonic Let's note laptop (such as the R1(N variant),
1116 R2, R3, R5, T2, W2 and Y2 series), say Y.
455e027f 1117
45a3d578
AS
1118config SONY_LAPTOP
1119 tristate "Sony Laptop Extras"
1120 depends on ACPI
1121 depends on ACPI_VIDEO || ACPI_VIDEO = n
1122 depends on BACKLIGHT_CLASS_DEVICE
1123 depends on INPUT
1124 depends on RFKILL
a7f7f624 1125 help
45a3d578
AS
1126 This mini-driver drives the SNC and SPIC devices present in the ACPI
1127 BIOS of the Sony Vaio laptops.
63dada87 1128
45a3d578
AS
1129 It gives access to some extra laptop functionalities like Bluetooth,
1130 screen brightness control, Fn keys and allows powering on/off some
1131 devices.
63dada87 1132
45a3d578 1133 Read <file:Documentation/admin-guide/laptops/sony-laptop.rst> for more information.
63dada87 1134
45a3d578
AS
1135config SONYPI_COMPAT
1136 bool "Sonypi compatibility"
1137 depends on SONY_LAPTOP
a7f7f624 1138 help
45a3d578
AS
1139 Build the sonypi driver compatibility code into the sony-laptop driver.
1140
1141config SYSTEM76_ACPI
1142 tristate "System76 ACPI Driver"
ecc83e52 1143 depends on ACPI
45a3d578
AS
1144 select NEW_LEDS
1145 select LEDS_CLASS
1146 select LEDS_TRIGGERS
ecc83e52 1147 help
45a3d578
AS
1148 This is a driver for System76 laptops running open firmware. It adds
1149 support for Fn-Fx key combinations, keyboard backlight, and airplane mode
1150 LEDs.
ecc83e52 1151
45a3d578 1152 If you have a System76 laptop running open firmware, say Y or M here.
ecc83e52 1153
45a3d578
AS
1154config TOPSTAR_LAPTOP
1155 tristate "Topstar Laptop Extras"
332e0812
AK
1156 depends on ACPI
1157 depends on INPUT
1158 select INPUT_SPARSEKMAP
45a3d578
AS
1159 select LEDS_CLASS
1160 select NEW_LEDS
a7f7f624 1161 help
45a3d578 1162 This driver adds support for hotkeys found on Topstar laptops.
9a58a333 1163
45a3d578 1164 If you have a Topstar laptop, say Y or M here.
5369c02d 1165
45a3d578
AS
1166config I2C_MULTI_INSTANTIATE
1167 tristate "I2C multi instantiate pseudo device driver"
1168 depends on I2C && ACPI
8eec8a11 1169 help
45a3d578
AS
1170 Some ACPI-based systems list multiple i2c-devices in a single ACPI
1171 firmware-node. This driver will instantiate separate i2c-clients
1172 for each device in the firmware-node.
8eec8a11 1173
45a3d578
AS
1174 To compile this driver as a module, choose M here: the module
1175 will be called i2c-multi-instantiate.
8eec8a11 1176
45a3d578
AS
1177config MLX_PLATFORM
1178 tristate "Mellanox Technologies platform support"
1179 depends on I2C && REGMAP
a7f7f624 1180 help
45a3d578
AS
1181 This option enables system support for the Mellanox Technologies
1182 platform. The Mellanox systems provide data center networking
1183 solutions based on Virtual Protocol Interconnect (VPI) technology
1184 enable seamless connectivity to 56/100Gb/s InfiniBand or 10/40/56GbE
1185 connection.
f017fbe7 1186
45a3d578
AS
1187 If you have a Mellanox system, say Y or M here.
1188
1189config TOUCHSCREEN_DMI
1190 bool "DMI based touchscreen configuration info"
1191 depends on ACPI && DMI && I2C=y && TOUCHSCREEN_SILEAD
dba43fc4 1192 select EFI_EMBEDDED_FIRMWARE if EFI
a7f7f624 1193 help
45a3d578
AS
1194 Certain ACPI based tablets with e.g. Silead or Chipone touchscreens
1195 do not have enough data in ACPI tables for the touchscreen driver to
1196 handle the touchscreen properly, as OEMs expect the data to be baked
1197 into the tablet model specific version of the driver shipped with the
1198 the OS-image for the device. This option supplies the missing info.
1199 Enable this for x86 tablets with Silead or Chipone touchscreens.
aa7ffc01 1200
28a375df
BD
1201config INTEL_IMR
1202 bool "Intel Isolated Memory Region support"
28a375df 1203 depends on X86_INTEL_QUARK && IOSF_MBI
a7f7f624 1204 help
28a375df
BD
1205 This option provides a means to manipulate Isolated Memory Regions.
1206 IMRs are a set of registers that define read and write access masks
1207 to prohibit certain system agents from accessing memory with 1 KiB
1208 granularity.
1209
1210 IMRs make it possible to control read/write access to an address
1211 by hardware agents inside the SoC. Read and write masks can be
1212 defined for:
45a3d578
AS
1213 - eSRAM flush
1214 - Dirty CPU snoop (write only)
1215 - RMU access
1216 - PCI Virtual Channel 0/Virtual Channel 1
1217 - SMM mode
1218 - Non SMM mode
bb3ce202 1219
45a3d578
AS
1220 Quark contains a set of eight IMR registers and makes use of those
1221 registers during its bootup process.
78542e18 1222
45a3d578
AS
1223 If you are running on a Galileo/Quark say Y here.
1224
1225config INTEL_IPS
1226 tristate "Intel Intelligent Power Sharing"
7934d76c 1227 depends on ACPI && PCI
a7f7f624 1228 help
45a3d578
AS
1229 Intel Calpella platforms support dynamic power sharing between the
1230 CPU and GPU, maximizing performance in a given TDP. This driver,
1231 along with the CPU frequency and i915 drivers, provides that
1232 functionality. If in doubt, say Y here; it will only load on
1233 supported platforms.
917ee75a 1234
34a956db
MG
1235config INTEL_RST
1236 tristate "Intel Rapid Start Technology Driver"
1237 depends on ACPI
a7f7f624 1238 help
8d92e160 1239 This driver provides support for modifying parameters on systems
34a956db
MG
1240 equipped with Intel's Rapid Start Technology. When put in an ACPI
1241 sleep state, these devices will wake after either a configured
1242 timeout or when the system battery reaches a critical state,
1243 automatically copying memory contents to disk. On resume, the
1244 firmware will copy the memory contents back to RAM and resume the OS
1245 as usual.
1246
5c7f80f7
MG
1247config INTEL_SMARTCONNECT
1248 tristate "Intel Smart Connect disabling driver"
1249 depends on ACPI
a7f7f624 1250 help
5c7f80f7
MG
1251 Intel Smart Connect is a technology intended to permit devices to
1252 update state by resuming for a short period of time at regular
1253 intervals. If a user enables this functionality under Windows and
1254 then reboots into Linux, the system may remain configured to resume
1255 on suspend. In the absence of any userspace to support it, the system
1256 will then remain awake until something triggers another suspend.
1257
1258 This driver checks to determine whether the device has Intel Smart
1259 Connect enabled, and if so disables it.
1260
45a3d578 1261source "drivers/platform/x86/intel_speed_select_if/Kconfig"
6613d18e 1262
4ec567b8
SP
1263config INTEL_TURBO_MAX_3
1264 bool "Intel Turbo Boost Max Technology 3.0 enumeration driver"
1265 depends on X86_64 && SCHED_MC_PRIO
a7f7f624 1266 help
4ec567b8
SP
1267 This driver reads maximum performance ratio of each CPU and set up
1268 the scheduler priority metrics. In this way scheduler can prefer
1269 CPU with higher performance to schedule tasks.
1270 This driver is only required when the system is not using Hardware
1271 P-States (HWP). In HWP mode, priority can be read from ACPI tables.
1272
45a3d578
AS
1273config INTEL_UNCORE_FREQ_CONTROL
1274 tristate "Intel Uncore frequency control driver"
1275 depends on X86_64
1276 help
1277 This driver allows control of uncore frequency limits on
1278 supported server platforms.
1279 Uncore frequency controls RING/LLC (last-level cache) clocks.
1280
1281 To compile this driver as a module, choose M here: the module
1282 will be called intel-uncore-frequency.
1283
1284config INTEL_BXTWC_PMIC_TMU
1285 tristate "Intel BXT Whiskey Cove TMU Driver"
1286 depends on REGMAP
25f1ca31
MW
1287 depends on MFD_INTEL_PMC_BXT
1288 depends on INTEL_SOC_PMIC_BXTWC
a7f7f624 1289 help
45a3d578
AS
1290 Select this driver to use Intel BXT Whiskey Cove PMIC TMU feature.
1291 This driver enables the alarm wakeup functionality in the TMU unit
1292 of Whiskey Cove PMIC.
cef9dd85 1293
19a525d8
TI
1294config INTEL_CHTDC_TI_PWRBTN
1295 tristate "Intel Cherry Trail Dollar Cove TI power button driver"
1296 depends on INTEL_SOC_PMIC_CHTDC_TI
1297 depends on INPUT
a7f7f624 1298 help
19a525d8
TI
1299 This option adds a power button driver driver for Dollar Cove TI
1300 PMIC on Intel Cherry Trail devices.
1301
1302 To compile this driver as a module, choose M here: the module
1303 will be called intel_chtdc_ti_pwrbtn.
1304
45a3d578
AS
1305config INTEL_MFLD_THERMAL
1306 tristate "Thermal driver for Intel Medfield platform"
1307 depends on MFD_INTEL_MSIC && THERMAL
1308 help
1309 Say Y here to enable thermal driver support for the Intel Medfield
1310 platform.
1311
1312config INTEL_MID_POWER_BUTTON
1313 tristate "power button driver for Intel MID platforms"
54b34aa0 1314 depends on INTEL_SCU && INPUT
45a3d578
AS
1315 help
1316 This driver handles the power button on the Intel MID platforms.
1317
1318 If unsure, say N.
1319
6456fd73
AS
1320config INTEL_MRFLD_PWRBTN
1321 tristate "Intel Merrifield Basin Cove power button driver"
1322 depends on INTEL_SOC_PMIC_MRFLD
1323 depends on INPUT
a7f7f624 1324 help
6456fd73
AS
1325 This option adds a power button driver for Basin Cove PMIC
1326 on Intel Merrifield devices.
1327
1328 To compile this driver as a module, choose M here: the module
1329 will be called intel_mrfld_pwrbtn.
1330
45a3d578
AS
1331config INTEL_PMC_CORE
1332 tristate "Intel PMC Core driver"
1333 depends on PCI
a7f7f624 1334 help
45a3d578
AS
1335 The Intel Platform Controller Hub for Intel Core SoCs provides access
1336 to Power Management Controller registers via a PCI interface. This
1337 driver can utilize debugging capabilities and supported features as
1338 exposed by the Power Management Controller.
f8eb0235 1339
45a3d578
AS
1340 Supported features:
1341 - SLP_S0_RESIDENCY counter
1342 - PCH IP Power Gating status
1343 - LTR Ignore
1344 - MPHY/PLL gating status (Sunrisepoint PCH only)
f8eb0235 1345
e2729113
AD
1346config INTEL_PMT_CLASS
1347 tristate "Intel Platform Monitoring Technology (PMT) Class driver"
1348 help
1349 The Intel Platform Monitoring Technology (PMT) class driver provides
1350 the basic sysfs interface and file hierarchy uses by PMT devices.
1351
1352 For more information, see:
1353 <file:Documentation/ABI/testing/sysfs-class-intel_pmt>
1354
1355 To compile this driver as a module, choose M here: the module
1356 will be called intel_pmt_class.
1357
68fe8e6e
AD
1358config INTEL_PMT_TELEMETRY
1359 tristate "Intel Platform Monitoring Technology (PMT) Telemetry driver"
1360 select INTEL_PMT_CLASS
1361 help
1362 The Intel Platform Monitory Technology (PMT) Telemetry driver provides
1363 access to hardware telemetry metrics on devices that support the
1364 feature.
1365
1366 To compile this driver as a module, choose M here: the module
1367 will be called intel_pmt_telemetry.
1368
5ef9998c
AD
1369config INTEL_PMT_CRASHLOG
1370 tristate "Intel Platform Monitoring Technology (PMT) Crashlog driver"
1371 select INTEL_PMT_CLASS
1372 help
1373 The Intel Platform Monitoring Technology (PMT) crashlog driver provides
1374 access to hardware crashlog capabilities on devices that support the
1375 feature.
1376
1377 To compile this driver as a module, choose M here: the module
1378 will be called intel_pmt_crashlog.
1379
45a3d578
AS
1380config INTEL_PUNIT_IPC
1381 tristate "Intel P-Unit IPC Driver"
a7f7f624 1382 help
45a3d578
AS
1383 This driver provides support for Intel P-Unit Mailbox IPC mechanism,
1384 which is used to bridge the communications between kernel and P-Unit.
49a474c7 1385
45a3d578 1386config INTEL_SCU_IPC
54b34aa0
MW
1387 bool
1388
1389config INTEL_SCU
1390 bool
1391 select INTEL_SCU_IPC
1392
1393config INTEL_SCU_PCI
1394 bool "Intel SCU PCI driver"
b8da68f4 1395 depends on PCI
54b34aa0
MW
1396 select INTEL_SCU
1397 help
1398 This driver is used to bridge the communications between kernel
1399 and SCU on some embedded Intel x86 platforms. It also creates
b8da68f4
MW
1400 devices that are connected to the SoC through the SCU.
1401 Platforms supported:
1402 Medfield
1403 Clovertrail
1404 Merrifield
1405 Broxton
1406 Apollo Lake
35f2c14d 1407
7a61f05e
MW
1408config INTEL_SCU_PLATFORM
1409 tristate "Intel SCU platform driver"
1410 depends on ACPI
1411 select INTEL_SCU
1412 help
1413 This driver is used to bridge the communications between kernel
1414 and SCU (sometimes called PMC as well). The driver currently
1415 supports Intel Elkhart Lake and compatible platforms.
1416
45a3d578
AS
1417config INTEL_SCU_IPC_UTIL
1418 tristate "Intel SCU IPC utility driver"
54b34aa0 1419 depends on INTEL_SCU
a7f7f624 1420 help
45a3d578
AS
1421 The IPC Util driver provides an interface with the SCU enabling
1422 low level access for debug work and updating the firmware. Say
1423 N unless you will be doing this on an Intel MID platform.
fd13c862 1424
45a3d578
AS
1425config INTEL_TELEMETRY
1426 tristate "Intel SoC Telemetry Driver"
25f1ca31
MW
1427 depends on X86_64
1428 depends on MFD_INTEL_PMC_BXT
1429 depends on INTEL_PUNIT_IPC
a7f7f624 1430 help
45a3d578
AS
1431 This driver provides interfaces to configure and use
1432 telemetry for INTEL SoC from APL onwards. It is also
1433 used to get various SoC events and parameters
1434 directly via debugfs files. Various tools may use
1435 this interface for SoC state monitoring.
fd13c862 1436
41b16dce 1437endif # X86_PLATFORM_DEVICES
80a7581f
IT
1438
1439config PMC_ATOM
1440 def_bool y
1441 depends on PCI
282a4e4c 1442 select COMMON_CLK