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