]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - drivers/platform/x86/Kconfig
platform/x86: Remove "WMAA" from identifier names in wmaa-backlight-wmi.c
[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
fa73c3e3
DD
94config WMAA_BACKLIGHT_WMI
95 tristate "ACPI WMAA Backlight Driver"
96 depends on ACPI_WMI
97 depends on BACKLIGHT_CLASS_DEVICE
98 help
99 This driver provides a sysfs backlight interface for notebook
100 systems which expose the WMAA ACPI method and an associated WMI
101 wrapper to drive LCD backlight levels through the Embedded Controller
102 (EC).
103
104 Say Y or M here if you want to control the backlight on a notebook
105 system with an EC-driven backlight using the ACPI WMAA method.
106
107 If you choose to compile this driver as a module the module will be
108 called wmaa-backlight-wmi.
109
45a3d578
AS
110config XIAOMI_WMI
111 tristate "Xiaomi WMI key driver"
112 depends on ACPI_WMI
113 depends on INPUT
114 help
115 Say Y here if you want to support WMI-based keys on Xiaomi notebooks.
116
117 To compile this driver as a module, choose M here: the module will
118 be called xiaomi-wmi.
75971feb 119
57293197
TW
120config GIGABYTE_WMI
121 tristate "Gigabyte WMI temperature driver"
122 depends on ACPI_WMI
123 depends on HWMON
124 help
125 Say Y here if you want to support WMI-based temperature reporting on
126 Gigabyte mainboards.
127
128 To compile this driver as a module, choose M here: the module will
129 be called gigabyte-wmi.
130
e86435eb
PF
131config ACERHDF
132 tristate "Acer Aspire One temperature and fan driver"
200db647 133 depends on ACPI && THERMAL
48c8dd64 134 select THERMAL_GOV_BANG_BANG
a7f7f624 135 help
e86435eb
PF
136 This is a driver for Acer Aspire One netbooks. It allows to access
137 the temperature sensor and to control the fan.
138
139 After loading this driver the BIOS is still in control of the fan.
140 To let the kernel handle the fan, do:
14c20688
PG
141 echo -n enabled > /sys/class/thermal/thermal_zoneN/mode
142 where N=0,1,2... depending on the number of thermal nodes and the
143 detection order of your particular system. The "type" parameter
144 in the same node directory will tell you if it is "acerhdf".
e86435eb
PF
145
146 For more information about this driver see
78d15eea 147 <https://piie.net/files/acerhdf_README.txt>
e86435eb
PF
148
149 If you have an Acer Aspire One netbook, say Y or M
150 here.
151
45a3d578
AS
152config ACER_WIRELESS
153 tristate "Acer Wireless Radio Control Driver"
154 depends on ACPI
155 depends on INPUT
a7f7f624 156 help
45a3d578
AS
157 The Acer Wireless Radio Control handles the airplane mode hotkey
158 present on new Acer laptops.
159
160 Say Y or M here if you have an Acer notebook with an airplane mode
161 hotkey.
162
163 If you choose to compile this driver as a module the module will be
164 called acer-wireless.
165
166config ACER_WMI
167 tristate "Acer WMI Laptop Extras"
a46ad0f1 168 depends on ACPI
45a3d578
AS
169 select LEDS_CLASS
170 select NEW_LEDS
171 depends on BACKLIGHT_CLASS_DEVICE
172 depends on SERIO_I8042
173 depends on INPUT
174 depends on RFKILL || RFKILL = n
a46ad0f1 175 depends on ACPI_WMI
45a3d578
AS
176 select INPUT_SPARSEKMAP
177 # Acer WMI depends on ACPI_VIDEO when ACPI is enabled
178 select ACPI_VIDEO if ACPI
a7f7f624 179 help
45a3d578
AS
180 This is a driver for newer Acer (and Wistron) laptops. It adds
181 wireless radio and bluetooth control, and on some laptops,
182 exposes the mail LED and LCD backlight.
183
184 If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M
185 here.
186
156ec473
SS
187config AMD_PMC
188 tristate "AMD SoC PMC driver"
189 depends on ACPI && PCI
190 help
191 The driver provides support for AMD Power Management Controller
192 primarily responsible for S2Idle transactions that are driven from
193 a platform firmware running on SMU. This driver also provides a debug
194 mechanism to investigate the S2Idle transactions and failures.
195
196 Say Y or M here if you have a notebook powered by AMD RYZEN CPU/APU.
197
198 If you choose to compile this driver as a module the module will be
199 called amd-pmc.
200
3d904005
AH
201config ADV_SWBUTTON
202 tristate "Advantech ACPI Software Button Driver"
203 depends on ACPI && INPUT
204 help
205 Say Y here to enable support for Advantech software defined
206 button feature. More information can be found at
207 <http://www.advantech.com.tw/products/>
208
209 To compile this driver as a module, choose M here. The module will
210 be called adv_swbutton.
211
45a3d578
AS
212config APPLE_GMUX
213 tristate "Apple Gmux Driver"
214 depends on ACPI && PCI
215 depends on PNP
216 depends on BACKLIGHT_CLASS_DEVICE
217 depends on BACKLIGHT_APPLE=n || BACKLIGHT_APPLE
218 depends on ACPI_VIDEO=n || ACPI_VIDEO
a7f7f624 219 help
45a3d578
AS
220 This driver provides support for the gmux device found on many
221 Apple laptops, which controls the display mux for the hybrid
222 graphics as well as the backlight. Currently only backlight
223 control is supported by the driver.
a46ad0f1 224
41b16dce 225config ASUS_LAPTOP
6122af37 226 tristate "Asus Laptop Extras"
41b16dce 227 depends on ACPI
e73e2c62
CC
228 select LEDS_CLASS
229 select NEW_LEDS
14ca7a47 230 depends on BACKLIGHT_CLASS_DEVICE
12d6f35b 231 depends on INPUT
18e1311e 232 depends on RFKILL || RFKILL = n
14ca7a47 233 depends on ACPI_VIDEO || ACPI_VIDEO = n
66a71dd1 234 select INPUT_SPARSEKMAP
a7f7f624 235 help
8819de7f
AR
236 This is a driver for Asus laptops, Lenovo SL and the Pegatron
237 Lucid tablet. It may also support some MEDION, JVC or VICTOR
238 laptops. It makes all the extra buttons generate standard
b23910c2
AR
239 ACPI events and input events, and on the Lucid the built-in
240 accelerometer appears as an input device. It also adds
241 support for video output switching, LCD backlight control,
242 Bluetooth and Wlan control, and most importantly, allows you
243 to blink those fancy LEDs.
41b16dce 244
8819de7f 245 For more information see <http://acpi4asus.sf.net>.
41b16dce
LB
246
247 If you have an ACPI-compatible ASUS laptop, say Y or M here.
248
45a3d578
AS
249config ASUS_WIRELESS
250 tristate "Asus Wireless Radio Control Driver"
251 depends on ACPI
252 depends on INPUT
253 select NEW_LEDS
254 select LEDS_CLASS
a7f7f624 255 help
45a3d578
AS
256 The Asus Wireless Radio Control handles the airplane mode hotkey
257 present on some Asus laptops.
258
259 Say Y or M here if you have an ASUS notebook with an airplane mode
260 hotkey.
261
262 If you choose to compile this driver as a module the module will be
263 called asus-wireless.
264
265config ASUS_WMI
266 tristate "ASUS WMI Driver"
267 depends on ACPI_WMI
268 depends on ACPI_BATTERY
269 depends on INPUT
270 depends on HWMON
271 depends on BACKLIGHT_CLASS_DEVICE
272 depends on RFKILL || RFKILL = n
273 depends on HOTPLUG_PCI
274 depends on ACPI_VIDEO || ACPI_VIDEO = n
275 select INPUT_SPARSEKMAP
276 select LEDS_CLASS
277 select NEW_LEDS
c63d44ae 278 select ACPI_PLATFORM_PROFILE
a7f7f624 279 help
45a3d578
AS
280 Say Y here if you have a WMI aware Asus laptop (like Eee PCs or new
281 Asus Notebooks).
282
283 To compile this driver as a module, choose M here: the module will
284 be called asus-wmi.
285
286config ASUS_NB_WMI
287 tristate "Asus Notebook WMI Driver"
288 depends on ASUS_WMI
289 depends on SERIO_I8042 || SERIO_I8042 = n
a7f7f624 290 help
45a3d578
AS
291 This is a driver for newer Asus notebooks. It adds extra features
292 like wireless radio and bluetooth control, leds, hotkeys, backlight...
293
294 For more information, see
295 <file:Documentation/ABI/testing/sysfs-platform-asus-wmi>
296
297 If you have an ACPI-WMI compatible Asus Notebook, say Y or M
298 here.
299
636a1e69
CB
300config MERAKI_MX100
301 tristate "Cisco Meraki MX100 Platform Driver"
302 depends on GPIOLIB
303 depends on GPIO_ICH
304 depends on LEDS_CLASS
305 select LEDS_GPIO
306 help
307 This driver provides support for the front button and LEDs on
308 the Cisco Meraki MX100 (Tinkerbell) 1U appliance.
309
310 To compile this driver as a module, choose M here: the module
311 will be called meraki-mx100.
312
45a3d578
AS
313config EEEPC_LAPTOP
314 tristate "Eee PC Hotkey Driver"
315 depends on ACPI
316 depends on INPUT
317 depends on RFKILL || RFKILL = n
318 depends on ACPI_VIDEO || ACPI_VIDEO = n
319 depends on HOTPLUG_PCI
320 depends on BACKLIGHT_CLASS_DEVICE
321 select HWMON
322 select LEDS_CLASS
323 select NEW_LEDS
324 select INPUT_SPARSEKMAP
a7f7f624 325 help
45a3d578
AS
326 This driver supports the Fn-Fx keys on Eee PC laptops.
327
328 It also gives access to some extra laptop functionalities like
329 Bluetooth, backlight and allows powering on/off some other
330 devices.
331
332 If you have an Eee PC laptop, say Y or M here. If this driver
333 doesn't work on your Eee PC, try eeepc-wmi instead.
334
335config EEEPC_WMI
336 tristate "Eee PC WMI Driver"
337 depends on ASUS_WMI
a7f7f624 338 help
45a3d578
AS
339 This is a driver for newer Eee PC laptops. It adds extra features
340 like wireless radio and bluetooth control, leds, hotkeys, backlight...
341
342 For more information, see
343 <file:Documentation/ABI/testing/sysfs-platform-asus-wmi>
344
345 If you have an ACPI-WMI compatible Eee PC laptop (>= 1000), say Y or M
346 here.
347
f1e1ea51 348source "drivers/platform/x86/dell/Kconfig"
7a3319c1 349
45a3d578
AS
350config AMILO_RFKILL
351 tristate "Fujitsu-Siemens Amilo rfkill support"
817a5cdb 352 depends on RFKILL
45a3d578 353 depends on SERIO_I8042
a7f7f624 354 help
45a3d578
AS
355 This is a driver for enabling wifi on some Fujitsu-Siemens Amilo
356 laptops.
820787fc 357
cada7cd8
AK
358config DELL_UART_BACKLIGHT
359 tristate "Dell AIO UART Backlight driver"
360 depends on SERIAL_8250
361 depends on ACPI
362 help
363 Say Y here if you want to support Dell AIO UART backlight interface.
364 The Dell AIO machines released after 2017 come with a UART interface
365 to communicate with the backlight scalar board. This driver creates
366 a standard backlight interface and talks to the scalar board through
367 UART to adjust the AIO screen brightness.
368
369 To compile this driver as a module, choose M here: the module will
370 be called dell_uart_backlight.
371
41b16dce
LB
372config FUJITSU_LAPTOP
373 tristate "Fujitsu Laptop Extras"
374 depends on ACPI
375 depends on INPUT
376 depends on BACKLIGHT_CLASS_DEVICE
14ca7a47 377 depends on ACPI_VIDEO || ACPI_VIDEO = n
f2252672 378 select INPUT_SPARSEKMAP
afdd1ebb 379 select NEW_LEDS
d89bcc83 380 select LEDS_CLASS
a7f7f624 381 help
41b16dce
LB
382 This is a driver for laptops built by Fujitsu:
383
384 * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks
385 * Possibly other Fujitsu laptop models
386 * Tested with S6410 and S7020
387
388 It adds support for LCD brightness control and some hotkeys.
389
390 If you have a Fujitsu laptop, say Y or M here.
391
2d24c490
RG
392config FUJITSU_TABLET
393 tristate "Fujitsu Tablet Extras"
394 depends on ACPI
395 depends on INPUT
a7f7f624 396 help
2d24c490
RG
397 This is a driver for tablets built by Fujitsu:
398
399 * Lifebook P1510/P1610/P1620/Txxxx
400 * Stylistic ST5xxx
401 * Possibly other Fujitsu tablet models
402
403 It adds support for the panel buttons, docking station detection,
404 tablet/notebook mode detection for convertible and
405 orientation detection for docked slates.
406
407 If you have a Fujitsu convertible or slate, say Y or M here.
408
1b46f17d
HG
409config GPD_POCKET_FAN
410 tristate "GPD Pocket Fan Controller support"
411 depends on ACPI
412 depends on THERMAL
a7f7f624 413 help
1b46f17d
HG
414 Driver for the GPD Pocket vendor specific FAN02501 ACPI device
415 which controls the fan speed on the GPD Pocket.
416
417 Without this driver the fan on the Pocket will stay off independent
418 of the CPU temperature. Say Y or M if the kernel may be used on a
419 GPD pocket.
420
efcfed9b
JD
421config HP_ACCEL
422 tristate "HP laptop accelerometer"
423 depends on INPUT && ACPI
0cdbcd6d 424 depends on SERIO_I8042
efcfed9b
JD
425 select SENSORS_LIS3LV02D
426 select NEW_LEDS
427 select LEDS_CLASS
428 help
429 This driver provides support for the "Mobile Data Protection System 3D"
430 or "3D DriveGuard" feature of HP laptops. On such systems the driver
431 should load automatically (via ACPI alias).
432
433 Support for a led indicating disk protection will be provided as
434 hp::hddprotect. For more information on the feature, refer to
9b5db89e 435 Documentation/misc-devices/lis3lv02d.rst.
efcfed9b
JD
436
437 To compile this driver as a module, choose M here: the module will
438 be called hp_accel.
439
a558ea42
ML
440config WIRELESS_HOTKEY
441 tristate "Wireless hotkey button"
54290fa6
AH
442 depends on ACPI
443 depends on INPUT
444 help
a558ea42
ML
445 This driver provides supports for the wireless buttons found on some AMD,
446 HP, & Xioami laptops.
54290fa6
AH
447 On such systems the driver should load automatically (via ACPI alias).
448
449 To compile this driver as a module, choose M here: the module will
a558ea42 450 be called wireless-hotkey.
54290fa6 451
41b16dce
LB
452config HP_WMI
453 tristate "HP WMI extras"
454 depends on ACPI_WMI
455 depends on INPUT
19d337df 456 depends on RFKILL || RFKILL = n
4d291ed7 457 select INPUT_SPARSEKMAP
4296f679 458 select ACPI_PLATFORM_PROFILE
41b16dce
LB
459 help
460 Say Y here if you want to support WMI-based hotkeys on HP laptops and
461 to read data from WMI such as docking or ambient light sensor state.
462
463 To compile this driver as a module, choose M here: the module will
464 be called hp-wmi.
465
45a3d578
AS
466config TC1100_WMI
467 tristate "HP Compaq TC1100 Tablet WMI Extras"
468 depends on !X86_64
dbf0c5a6
MZA
469 depends on ACPI
470 depends on ACPI_WMI
a7f7f624 471 help
45a3d578
AS
472 This is a driver for the WMI extensions (wireless and bluetooth power
473 control) of the HP Compaq TC1100 tablet.
41b16dce 474
45a3d578
AS
475config IBM_RTL
476 tristate "Device driver to enable PRTL support"
477 depends on PCI
a7f7f624 478 help
45a3d578
AS
479 Enable support for IBM Premium Real Time Mode (PRTM).
480 This module will allow you the enter and exit PRTM in the BIOS via
481 sysfs on platforms that support this feature. System in PRTM will
482 not receive CPU-generated SMIs for recoverable errors. Use of this
483 feature without proper support may void your hardware warranty.
41b16dce 484
45a3d578
AS
485 If the proper BIOS support is found the driver will load and create
486 /sys/devices/system/ibm_rtl/. The "state" variable will indicate
487 whether or not the BIOS is in PRTM.
488 state = 0 (BIOS SMIs on)
489 state = 1 (BIOS SMIs off)
41b16dce 490
57ac3b05
IP
491config IDEAPAD_LAPTOP
492 tristate "Lenovo IdeaPad Laptop Extras"
58ac7aa0 493 depends on ACPI
ad0f4306 494 depends on RFKILL && INPUT
07a4a4fc 495 depends on SERIO_I8042
445e8d00 496 depends on BACKLIGHT_CLASS_DEVICE
14ca7a47 497 depends on ACPI_VIDEO || ACPI_VIDEO = n
74caab99 498 depends on ACPI_WMI || ACPI_WMI = n
21f05a43 499 select ACPI_PLATFORM_PROFILE
f63409ae 500 select INPUT_SPARSEKMAP
d8f5c5ea
BP
501 select NEW_LEDS
502 select LEDS_CLASS
58ac7aa0 503 help
16fd91e0
IP
504 This is a driver for Lenovo IdeaPad netbooks contains drivers for
505 rfkill switch, hotkey, fan control and backlight control.
58ac7aa0 506
45a3d578
AS
507config SENSORS_HDAPS
508 tristate "Thinkpad Hard Drive Active Protection System (hdaps)"
3dda3b37 509 depends on INPUT
45a3d578
AS
510 help
511 This driver provides support for the IBM Hard Drive Active Protection
512 System (hdaps), which provides an accelerometer and other misc. data.
513 ThinkPads starting with the R50, T41, and X40 are supported. The
514 accelerometer data is readable via sysfs.
3dda3b37 515
45a3d578
AS
516 This driver also provides an absolute input class device, allowing
517 the laptop to act as a pinball machine-esque joystick.
518
519 If your ThinkPad is not recognized by the driver, please update to latest
520 BIOS. This is especially the case for some R52 ThinkPads.
521
522 Say Y here if you have an applicable laptop and want to experience
523 the awesome power of hdaps.
3dda3b37 524
41b16dce
LB
525config THINKPAD_ACPI
526 tristate "ThinkPad ACPI Laptop Extras"
527 depends on ACPI
2801b968 528 depends on ACPI_BATTERY
d263da31 529 depends on INPUT
19d337df 530 depends on RFKILL || RFKILL = n
14ca7a47
HG
531 depends on ACPI_VIDEO || ACPI_VIDEO = n
532 depends on BACKLIGHT_CLASS_DEVICE
153cca9c 533 depends on I2C
21f05a43 534 select ACPI_PLATFORM_PROFILE
41b16dce
LB
535 select HWMON
536 select NVRAM
41b16dce
LB
537 select NEW_LEDS
538 select LEDS_CLASS
4e1d0924
TI
539 select LEDS_TRIGGERS
540 select LEDS_TRIGGER_AUDIO
a7f7f624 541 help
41b16dce
LB
542 This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
543 support for Fn-Fx key combinations, Bluetooth control, video
544 output switching, ThinkLight control, UltraBay eject and more.
545 For more information about this driver see
9e1cbede 546 <file:Documentation/admin-guide/laptops/thinkpad-acpi.rst> and
41b16dce
LB
547 <http://ibm-acpi.sf.net/> .
548
549 This driver was formerly known as ibm-acpi.
550
6e5b08ee
HMH
551 Extra functionality will be available if the rfkill (CONFIG_RFKILL)
552 and/or ALSA (CONFIG_SND) subsystems are available in the kernel.
553 Note that if you want ThinkPad-ACPI to be built-in instead of
554 modular, ALSA and rfkill will also have to be built-in.
555
41b16dce
LB
556 If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
557
ff850c33
HMH
558config THINKPAD_ACPI_ALSA_SUPPORT
559 bool "Console audio control ALSA interface"
560 depends on THINKPAD_ACPI
561 depends on SND
562 depends on SND = y || THINKPAD_ACPI = SND
563 default y
a7f7f624 564 help
ff850c33
HMH
565 Enables monitoring of the built-in console audio output control
566 (headphone and speakers), which is operated by the mute and (in
567 some ThinkPad models) volume hotkeys.
568
569 If this option is enabled, ThinkPad-ACPI will export an ALSA card
570 with a single read-only mixer control, which should be used for
571 on-screen-display feedback purposes by the Desktop Environment.
572
573 Optionally, the driver will also allow software control (the
574 ALSA mixer will be made read-write). Please refer to the driver
575 documentation for details.
576
577 All IBM models have both volume and mute control. Newer Lenovo
578 models only have mute control (the volume hotkeys are just normal
579 keys and volume control is done through the main HDA mixer).
580
a73f3091
HMH
581config THINKPAD_ACPI_DEBUGFACILITIES
582 bool "Maintainer debug facilities"
583 depends on THINKPAD_ACPI
a7f7f624 584 help
a73f3091
HMH
585 Enables extra stuff in the thinkpad-acpi which is completely useless
586 for normal use. Read the driver source to find out what it does.
587
588 Say N here, unless you were told by a kernel maintainer to do
589 otherwise.
590
41b16dce
LB
591config THINKPAD_ACPI_DEBUG
592 bool "Verbose debug mode"
593 depends on THINKPAD_ACPI
a7f7f624 594 help
41b16dce
LB
595 Enables extra debugging information, at the expense of a slightly
596 increase in driver size.
597
598 If you are not sure, say N here.
599
a4d5effc
HMH
600config THINKPAD_ACPI_UNSAFE_LEDS
601 bool "Allow control of important LEDs (unsafe)"
602 depends on THINKPAD_ACPI
a7f7f624 603 help
a4d5effc
HMH
604 Overriding LED state on ThinkPads can mask important
605 firmware alerts (like critical battery condition), or misled
606 the user into damaging the hardware (undocking or ejecting
607 the bay while buses are still active), etc.
608
609 LED control on the ThinkPad is write-only (with very few
610 exceptions on very ancient models), which makes it
611 impossible to know beforehand if important information will
612 be lost when one changes LED state.
613
614 Users that know what they are doing can enable this option
615 and the driver will allow control of every LED, including
616 the ones on the dock stations.
617
618 Never enable this option on a distribution kernel.
619
620 Say N here, unless you are building a kernel for your own
621 use, and need to control the important firmware LEDs.
622
41b16dce
LB
623config THINKPAD_ACPI_VIDEO
624 bool "Video output control support"
625 depends on THINKPAD_ACPI
626 default y
a7f7f624 627 help
41b16dce
LB
628 Allows the thinkpad_acpi driver to provide an interface to control
629 the various video output ports.
630
631 This feature often won't work well, depending on ThinkPad model,
632 display state, video output devices in use, whether there is a X
633 server running, phase of the moon, and the current mood of
634 Schroedinger's cat. If you can use X.org's RandR to control
635 your ThinkPad's video output ports instead of this feature,
b525c06c
HMH
636 don't think twice: do it and say N here to save memory and avoid
637 bad interactions with X.org.
41b16dce 638
b525c06c
HMH
639 NOTE: access to this feature is limited to processes with the
640 CAP_SYS_ADMIN capability, to avoid local DoS issues in platforms
641 where it interacts badly with X.org.
642
643 If you are not sure, say Y here but do try to check if you could
644 be using X.org RandR instead.
41b16dce
LB
645
646config THINKPAD_ACPI_HOTKEY_POLL
647 bool "Support NVRAM polling for hot keys"
648 depends on THINKPAD_ACPI
649 default y
a7f7f624 650 help
41b16dce
LB
651 Some thinkpad models benefit from NVRAM polling to detect a few of
652 the hot key press events. If you know your ThinkPad model does not
653 need to do NVRAM polling to support any of the hot keys you use,
654 unselecting this option will save about 1kB of memory.
655
656 ThinkPads T40 and newer, R52 and newer, and X31 and newer are
657 unlikely to need NVRAM polling in their latest BIOS versions.
658
659 NVRAM polling can detect at most the following keys: ThinkPad/Access
660 IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
661 Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
662
663 If you are not sure, say Y here. The driver enables polling only if
664 it is strictly necessary to do so.
665
a40cd7ef
MP
666config THINKPAD_LMI
667 tristate "Lenovo WMI-based systems management driver"
668 depends on ACPI_WMI
669 select FW_ATTR_CLASS
670 help
671 This driver allows changing BIOS settings on Lenovo machines whose
672 BIOS support the WMI interface.
673
674 To compile this driver as a module, choose M here: the module will
675 be called think-lmi.
676
8bd836fe
AS
677source "drivers/platform/x86/intel/Kconfig"
678
45a3d578
AS
679config MSI_LAPTOP
680 tristate "MSI Laptop Extras"
681 depends on ACPI
682 depends on BACKLIGHT_CLASS_DEVICE
683 depends on ACPI_VIDEO || ACPI_VIDEO = n
684 depends on RFKILL
685 depends on INPUT && SERIO_I8042
686 select INPUT_SPARSEKMAP
a7f7f624 687 help
45a3d578
AS
688 This is a driver for laptops built by MSI (MICRO-STAR
689 INTERNATIONAL):
edb73f4f 690
45a3d578
AS
691 MSI MegaBook S270 (MS-1013)
692 Cytron/TCM/Medion/Tchibo MD96100/SAM2000
693
694 It adds support for Bluetooth, WLAN and LCD brightness control.
695
696 More information about this driver is available at
697 <http://0pointer.de/lennart/tchibo.html>.
698
699 If you have an MSI S270 laptop, say Y or M here.
edb73f4f 700
d12d8baf
TR
701config MSI_WMI
702 tristate "MSI WMI extras"
703 depends on ACPI_WMI
704 depends on INPUT
de078e57 705 depends on BACKLIGHT_CLASS_DEVICE
14ca7a47 706 depends on ACPI_VIDEO || ACPI_VIDEO = n
c30116c6 707 select INPUT_SPARSEKMAP
d12d8baf
TR
708 help
709 Say Y here if you want to support WMI-based hotkeys on MSI laptops.
710
711 To compile this driver as a module, choose M here: the module will
712 be called msi-wmi.
713
45a3d578
AS
714config XO15_EBOOK
715 tristate "OLPC XO-1.5 ebook switch"
716 depends on OLPC || COMPILE_TEST
717 depends on ACPI && INPUT
a7f7f624 718 help
45a3d578
AS
719 Support for the ebook switch on the OLPC XO-1.5 laptop.
720
721 This switch is triggered as the screen is rotated and folded down to
722 convert the device into ebook form.
723
724config XO1_RFKILL
725 tristate "OLPC XO-1 software RF kill switch"
726 depends on OLPC || COMPILE_TEST
727 depends on RFKILL
a7f7f624 728 help
45a3d578
AS
729 Support for enabling/disabling the WLAN interface on the OLPC XO-1
730 laptop.
731
732config PCENGINES_APU2
733 tristate "PC Engines APUv2/3 front button and LEDs driver"
734 depends on INPUT && INPUT_KEYBOARD && GPIOLIB
735 depends on LEDS_CLASS
736 select GPIO_AMD_FCH
737 select KEYBOARD_GPIO_POLLED
738 select LEDS_GPIO
13bb0fd5 739 help
45a3d578
AS
740 This driver provides support for the front button and LEDs on
741 PC Engines APUv2/APUv3 board.
13bb0fd5 742
45a3d578
AS
743 To compile this driver as a module, choose M here: the module
744 will be called pcengines-apuv2.
745
746config SAMSUNG_LAPTOP
747 tristate "Samsung Laptop driver"
748 depends on RFKILL || RFKILL = n
749 depends on ACPI_VIDEO || ACPI_VIDEO = n
750 depends on BACKLIGHT_CLASS_DEVICE
bf8f65da
GDG
751 select LEDS_CLASS
752 select NEW_LEDS
a7f7f624 753 help
45a3d578
AS
754 This module implements a driver for a wide range of different
755 Samsung laptops. It offers control over the different
756 function keys, wireless LED, LCD backlight level.
9caeb532 757
45a3d578
AS
758 It may also provide some sysfs files described in
759 <file:Documentation/ABI/testing/sysfs-driver-samsung-laptop>
9caeb532 760
45a3d578
AS
761 To compile this driver as a module, choose M here: the module
762 will be called samsung-laptop.
763
764config SAMSUNG_Q10
765 tristate "Samsung Q10 Extras"
b4f9fe12 766 depends on ACPI
45a3d578 767 select BACKLIGHT_CLASS_DEVICE
a7f7f624 768 help
45a3d578
AS
769 This driver provides support for backlight control on Samsung Q10
770 and related laptops, including Dell Latitude X200.
771
772config ACPI_TOSHIBA
773 tristate "Toshiba Laptop Extras"
b4f9fe12 774 depends on ACPI
f11f999e 775 depends on ACPI_WMI
0c51a4d8
MB
776 select LEDS_CLASS
777 select NEW_LEDS
c76a3e1d 778 depends on BACKLIGHT_CLASS_DEVICE
b4f9fe12 779 depends on INPUT
283672e4 780 depends on SERIO_I8042 || SERIO_I8042 = n
358d6a2c 781 depends on ACPI_VIDEO || ACPI_VIDEO = n
dc4522be 782 depends on RFKILL || RFKILL = n
98010f1e 783 depends on IIO
384a7cd9 784 select INPUT_SPARSEKMAP
a7f7f624 785 help
b4f9fe12
LB
786 This driver adds support for access to certain system settings
787 on "legacy free" Toshiba laptops. These laptops can be recognized by
788 their lack of a BIOS setup menu and APM support.
789
790 On these machines, all system configuration is handled through the
791 ACPI. This driver is required for access to controls not covered
792 by the general ACPI drivers, such as LCD brightness, video output,
793 etc.
794
795 This driver differs from the non-ACPI Toshiba laptop driver (located
796 under "Processor type and features") in several aspects.
797 Configuration is accessed by reading and writing text files in the
798 /proc tree instead of by program interface to /dev. Furthermore, no
799 power management functions are exposed, as those are handled by the
800 general ACPI drivers.
801
802 More information about this driver is available at
803 <http://memebeam.org/toys/ToshibaAcpiDriver>.
804
805 If you have a legacy free Toshiba laptop (such as the Libretto L1
806 series), say Y.
42b4e9ee
JS
807
808config TOSHIBA_BT_RFKILL
809 tristate "Toshiba Bluetooth RFKill switch support"
810 depends on ACPI
7ee8cd33 811 depends on RFKILL || RFKILL = n
a7f7f624 812 help
42b4e9ee
JS
813 This driver adds support for Bluetooth events for the RFKill
814 switch on modern Toshiba laptops with full ACPI support and
815 an RFKill switch.
816
817 This driver handles RFKill events for the TOS6205 Bluetooth,
818 and re-enables it when the switch is set back to the 'on'
819 position.
820
821 If you have a modern Toshiba laptop with a Bluetooth and an
822 RFKill switch (such as the Portege R500), say Y.
529aa8cb 823
186e4e89
AA
824config TOSHIBA_HAPS
825 tristate "Toshiba HDD Active Protection Sensor"
826 depends on ACPI
a7f7f624 827 help
186e4e89 828 This driver adds support for the built-in accelerometer
769a12a9 829 found on recent Toshiba laptops equipped with HID TOS620A
186e4e89
AA
830 device.
831
832 This driver receives ACPI notify events 0x80 when the sensor
833 detects a sudden move or a harsh vibration, as well as an
834 ACPI notify event 0x81 whenever the movement or vibration has
835 been stabilized.
836
837 Also provides sysfs entries to get/set the desired protection
769a12a9 838 level and resetting the HDD protection interface.
186e4e89
AA
839
840 If you have a recent Toshiba laptop with a built-in accelerometer
841 device, say Y.
842
14991fc7
AA
843config TOSHIBA_WMI
844 tristate "Toshiba WMI Hotkeys Driver (EXPERIMENTAL)"
14991fc7
AA
845 depends on ACPI_WMI
846 depends on INPUT
847 select INPUT_SPARSEKMAP
a7f7f624 848 help
14991fc7
AA
849 This driver adds hotkey monitoring support to some Toshiba models
850 that manage the hotkeys via WMI events.
851
852 WARNING: This driver is incomplete as it lacks a proper keymap and the
853 *notify function only prints the ACPI event type value. Be warned that
854 you will need to provide some information if you have a Toshiba model
83fc61a5 855 with WMI event hotkeys and want to help with the development of this
14991fc7
AA
856 driver.
857
858 If you have a WMI-based hotkeys Toshiba laptop, say Y or M here.
859
529aa8cb
TLSC
860config ACPI_CMPC
861 tristate "CMPC Laptop Extras"
4f258cf4 862 depends on ACPI && INPUT
f35843ed 863 depends on RFKILL || RFKILL=n
529aa8cb 864 select BACKLIGHT_CLASS_DEVICE
529aa8cb
TLSC
865 help
866 Support for Intel Classmate PC ACPI devices, including some
867 keys as input device, backlight device, tablet and accelerometer
868 devices.
869
45a3d578
AS
870config COMPAL_LAPTOP
871 tristate "Compal (and others) Laptop Extras"
872 depends on ACPI
873 depends on BACKLIGHT_CLASS_DEVICE
874 depends on ACPI_VIDEO || ACPI_VIDEO = n
875 depends on RFKILL
876 depends on HWMON
877 depends on POWER_SUPPLY
a7f7f624 878 help
45a3d578
AS
879 This is a driver for laptops built by Compal, and some models by
880 other brands (e.g. Dell, Toshiba).
1cd706df 881
45a3d578
AS
882 It adds support for rfkill, Bluetooth, WLAN, LCD brightness, hwmon
883 and battery charging level control.
d740795d 884
45a3d578
AS
885config LG_LAPTOP
886 tristate "LG Laptop Extras"
887 depends on ACPI
888 depends on ACPI_WMI
889 depends on INPUT
890 select INPUT_SPARSEKMAP
8f0c01e6 891 select NEW_LEDS
45a3d578
AS
892 select LEDS_CLASS
893 help
894 This driver adds support for hotkeys as well as control of keyboard
895 backlight, battery maximum charge level and various other ACPI
896 features.
1cd706df 897
45a3d578
AS
898 If you have an LG Gram laptop, say Y or M here.
899
900config PANASONIC_LAPTOP
901 tristate "Panasonic Laptop Extras"
902 depends on INPUT && ACPI
903 depends on BACKLIGHT_CLASS_DEVICE
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
45a3d578
AS
960config I2C_MULTI_INSTANTIATE
961 tristate "I2C multi instantiate pseudo device driver"
962 depends on I2C && ACPI
8eec8a11 963 help
45a3d578
AS
964 Some ACPI-based systems list multiple i2c-devices in a single ACPI
965 firmware-node. This driver will instantiate separate i2c-clients
966 for each device in the firmware-node.
8eec8a11 967
45a3d578
AS
968 To compile this driver as a module, choose M here: the module
969 will be called i2c-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