forked from Minki/linux
660987e125
The Hinge sensor is a common custom sensor on laptops. It calculates the angle between the lid (screen) and the base (keyboard). In addition, it also exposes screen and the keyboard angles with respect to the ground. Applications can easily get laptop's status in space through this sensor, in order to display appropriate user interface. Signed-off-by: Ye Xiang <xiang.ye@intel.com> Link: https://lore.kernel.org/r/20201215054444.9324-3-xiang.ye@intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
36 lines
1018 B
Plaintext
36 lines
1018 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Linear and angular position sensors
|
|
#
|
|
# When adding new entries keep the list in alphabetical order
|
|
|
|
menu "Linear and angular position sensors"
|
|
|
|
config IQS624_POS
|
|
tristate "Azoteq IQS624/625 angular position sensors"
|
|
depends on MFD_IQS62X || COMPILE_TEST
|
|
help
|
|
Say Y here if you want to build support for the Azoteq IQS624
|
|
and IQS625 angular position sensors.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called iqs624-pos.
|
|
|
|
config HID_SENSOR_CUSTOM_INTEL_HINGE
|
|
depends on HID_SENSOR_HUB
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
select HID_SENSOR_IIO_COMMON
|
|
select HID_SENSOR_IIO_TRIGGER
|
|
tristate "HID Hinge"
|
|
help
|
|
This sensor present three angles, hinge angel, screen angles
|
|
and keyboard angle respect to horizon (ground).
|
|
Say yes here to build support for the HID custom
|
|
intel hinge sensor.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called hid-sensor-custom-hinge.
|
|
|
|
endmenu
|