xref: /linux/drivers/platform/x86/hp/Kconfig (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# X86 Platform Specific Drivers
4#
5menuconfig X86_PLATFORM_DRIVERS_HP
6	bool "HP X86 Platform Specific Device Drivers"
7	depends on X86_PLATFORM_DEVICES
8	help
9	  Say Y here to get to see options for device drivers for various
10	  HP x86 platforms, including vendor-specific laptop extension drivers.
11	  This option alone does not add any kernel code.
12
13	  If you say N, all options in this submenu will be skipped and disabled.
14
15if X86_PLATFORM_DRIVERS_HP
16
17config HP_ACCEL
18	tristate "HP laptop accelerometer"
19	default m
20	depends on INPUT && ACPI
21	depends on SERIO_I8042
22	select SENSORS_LIS3LV02D
23	select NEW_LEDS
24	select LEDS_CLASS
25	help
26	  This driver provides support for the "Mobile Data Protection System 3D"
27	  or "3D DriveGuard" feature of HP laptops. On such systems the driver
28	  should load automatically (via ACPI alias).
29
30	  Support for a led indicating disk protection will be provided as
31	  hp::hddprotect. For more information on the feature, refer to
32	  Documentation/misc-devices/lis3lv02d.rst.
33
34	  To compile this driver as a module, choose M here: the module will
35	  be called hp_accel.
36
37config HP_WMI
38	tristate "HP WMI extras"
39	default m
40	depends on ACPI_EC
41	depends on ACPI_WMI
42	depends on INPUT
43	depends on RFKILL || RFKILL = n
44	select POWER_SUPPLY
45	select INPUT_SPARSEKMAP
46	select ACPI_PLATFORM_PROFILE
47	select HWMON
48	help
49	  Say Y here if you want to support WMI-based hotkeys on HP laptops and
50	  to read data from WMI such as docking or ambient light sensor state.
51
52	  To compile this driver as a module, choose M here: the module will
53	  be called hp-wmi.
54
55config TC1100_WMI
56	tristate "HP Compaq TC1100 Tablet WMI Extras"
57	default m
58	depends on !X86_64
59	depends on ACPI
60	depends on ACPI_WMI
61	help
62	  This is a driver for the WMI extensions (wireless and bluetooth power
63	  control) of the HP Compaq TC1100 tablet.
64
65config HP_BIOSCFG
66	tristate "HP BIOS Configuration Driver"
67	default m
68	depends on ACPI_WMI
69	select NLS
70	select FW_ATTR_CLASS
71	help
72	  This driver enables administrators to securely manage BIOS settings
73	  using digital certificates and public-key cryptography that eliminate
74	  the need for passwords for both remote and local management. It supports
75	  changing BIOS settings on many HP machines from 2018 and newer without
76	  the use of any additional software.
77
78	  To compile this driver as a module, choose M here: the module will
79	  be called hp-bioscfg.
80
81endif # X86_PLATFORM_DRIVERS_HP
82