diff options
author | Ye Xiang <xiang.ye@intel.com> | 2020-12-15 13:44:43 +0800 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-01-22 08:52:02 +0000 |
commit | 660987e1250334dd944aab0421144b541675d5d1 (patch) | |
tree | 49808f78e56f3830233e037b4a4f151bee7abfc4 /drivers/iio/position/Makefile | |
parent | 239319670e2a7c405eeb4b3e7721cf8bf8eef840 (diff) | |
download | linux-stable-660987e1250334dd944aab0421144b541675d5d1.tar.gz linux-stable-660987e1250334dd944aab0421144b541675d5d1.tar.bz2 linux-stable-660987e1250334dd944aab0421144b541675d5d1.zip |
iio: hid-sensors: Add hinge sensor driver
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>
Diffstat (limited to 'drivers/iio/position/Makefile')
-rw-r--r-- | drivers/iio/position/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/position/Makefile b/drivers/iio/position/Makefile index 3cbe7a734352..d70902f2979d 100644 --- a/drivers/iio/position/Makefile +++ b/drivers/iio/position/Makefile @@ -4,4 +4,5 @@ # When adding new entries keep the list in alphabetical order +obj-$(CONFIG_HID_SENSOR_CUSTOM_INTEL_HINGE) += hid-sensor-custom-intel-hinge.o obj-$(CONFIG_IQS624_POS) += iqs624-pos.o |