162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# X86 Platform Specific Drivers
462306a36Sopenharmony_ci#
562306a36Sopenharmony_cimenuconfig X86_PLATFORM_DRIVERS_HP
662306a36Sopenharmony_ci	bool "HP X86 Platform Specific Device Drivers"
762306a36Sopenharmony_ci	depends on X86_PLATFORM_DEVICES
862306a36Sopenharmony_ci	help
962306a36Sopenharmony_ci	  Say Y here to get to see options for device drivers for various
1062306a36Sopenharmony_ci	  HP x86 platforms, including vendor-specific laptop extension drivers.
1162306a36Sopenharmony_ci	  This option alone does not add any kernel code.
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci	  If you say N, all options in this submenu will be skipped and disabled.
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciif X86_PLATFORM_DRIVERS_HP
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciconfig HP_ACCEL
1862306a36Sopenharmony_ci	tristate "HP laptop accelerometer"
1962306a36Sopenharmony_ci	default m
2062306a36Sopenharmony_ci	depends on INPUT && ACPI
2162306a36Sopenharmony_ci	depends on SERIO_I8042
2262306a36Sopenharmony_ci	select SENSORS_LIS3LV02D
2362306a36Sopenharmony_ci	select NEW_LEDS
2462306a36Sopenharmony_ci	select LEDS_CLASS
2562306a36Sopenharmony_ci	help
2662306a36Sopenharmony_ci	  This driver provides support for the "Mobile Data Protection System 3D"
2762306a36Sopenharmony_ci	  or "3D DriveGuard" feature of HP laptops. On such systems the driver
2862306a36Sopenharmony_ci	  should load automatically (via ACPI alias).
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci	  Support for a led indicating disk protection will be provided as
3162306a36Sopenharmony_ci	  hp::hddprotect. For more information on the feature, refer to
3262306a36Sopenharmony_ci	  Documentation/misc-devices/lis3lv02d.rst.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the module will
3562306a36Sopenharmony_ci	  be called hp_accel.
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ciconfig HP_WMI
3862306a36Sopenharmony_ci	tristate "HP WMI extras"
3962306a36Sopenharmony_ci	default m
4062306a36Sopenharmony_ci	depends on ACPI_WMI
4162306a36Sopenharmony_ci	depends on INPUT
4262306a36Sopenharmony_ci	depends on RFKILL || RFKILL = n
4362306a36Sopenharmony_ci	select INPUT_SPARSEKMAP
4462306a36Sopenharmony_ci	select ACPI_PLATFORM_PROFILE
4562306a36Sopenharmony_ci	select HWMON
4662306a36Sopenharmony_ci	help
4762306a36Sopenharmony_ci	  Say Y here if you want to support WMI-based hotkeys on HP laptops and
4862306a36Sopenharmony_ci	  to read data from WMI such as docking or ambient light sensor state.
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the module will
5162306a36Sopenharmony_ci	  be called hp-wmi.
5262306a36Sopenharmony_ci
5362306a36Sopenharmony_ciconfig TC1100_WMI
5462306a36Sopenharmony_ci	tristate "HP Compaq TC1100 Tablet WMI Extras"
5562306a36Sopenharmony_ci	default m
5662306a36Sopenharmony_ci	depends on !X86_64
5762306a36Sopenharmony_ci	depends on ACPI
5862306a36Sopenharmony_ci	depends on ACPI_WMI
5962306a36Sopenharmony_ci	help
6062306a36Sopenharmony_ci	  This is a driver for the WMI extensions (wireless and bluetooth power
6162306a36Sopenharmony_ci	  control) of the HP Compaq TC1100 tablet.
6262306a36Sopenharmony_ci
6362306a36Sopenharmony_ciconfig HP_BIOSCFG
6462306a36Sopenharmony_ci	tristate "HP BIOS Configuration Driver"
6562306a36Sopenharmony_ci	default m
6662306a36Sopenharmony_ci	depends on ACPI_WMI
6762306a36Sopenharmony_ci	select NLS
6862306a36Sopenharmony_ci	select FW_ATTR_CLASS
6962306a36Sopenharmony_ci	help
7062306a36Sopenharmony_ci	  This driver enables administrators to securely manage BIOS settings
7162306a36Sopenharmony_ci	  using digital certificates and public-key cryptography that eliminate
7262306a36Sopenharmony_ci	  the need for passwords for both remote and local management. It supports
7362306a36Sopenharmony_ci	  changing BIOS settings on many HP machines from 2018 and newer without
7462306a36Sopenharmony_ci	  the use of any additional software.
7562306a36Sopenharmony_ci
7662306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the module will
7762306a36Sopenharmony_ci	  be called hp-bioscfg.
7862306a36Sopenharmony_ci
7962306a36Sopenharmony_ciendif # X86_PLATFORM_DRIVERS_HP
80