xref: /linux/drivers/platform/x86/hp/Kconfig (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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_WMI
41	depends on INPUT
42	depends on RFKILL || RFKILL = n
43	select POWER_SUPPLY
44	select INPUT_SPARSEKMAP
45	select ACPI_PLATFORM_PROFILE
46	select HWMON
47	help
48	  Say Y here if you want to support WMI-based hotkeys on HP laptops and
49	  to read data from WMI such as docking or ambient light sensor state.
50
51	  To compile this driver as a module, choose M here: the module will
52	  be called hp-wmi.
53
54config TC1100_WMI
55	tristate "HP Compaq TC1100 Tablet WMI Extras"
56	default m
57	depends on !X86_64
58	depends on ACPI
59	depends on ACPI_WMI
60	help
61	  This is a driver for the WMI extensions (wireless and bluetooth power
62	  control) of the HP Compaq TC1100 tablet.
63
64config HP_BIOSCFG
65	tristate "HP BIOS Configuration Driver"
66	default m
67	depends on ACPI_WMI
68	select NLS
69	select FW_ATTR_CLASS
70	help
71	  This driver enables administrators to securely manage BIOS settings
72	  using digital certificates and public-key cryptography that eliminate
73	  the need for passwords for both remote and local management. It supports
74	  changing BIOS settings on many HP machines from 2018 and newer without
75	  the use of any additional software.
76
77	  To compile this driver as a module, choose M here: the module will
78	  be called hp-bioscfg.
79
80endif # X86_PLATFORM_DRIVERS_HP
81