summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSong Hongyan <hongyan.song@intel.com>2017-01-05 18:24:03 +0800
committerJonathan Cameron <jic23@kernel.org>2017-01-05 13:02:25 +0000
commit571299d099dcce0ff32c76e70e32e0ba01e55adc (patch)
treed87c5dd7ec05883775286ca288757701359b563d /include
parentb257c1a45e9967ad84f9c5d40e657074d979ce70 (diff)
downloadop-kernel-dev-571299d099dcce0ff32c76e70e32e0ba01e55adc.zip
op-kernel-dev-571299d099dcce0ff32c76e70e32e0ba01e55adc.tar.gz
iio: Add channel for Gravity
Add new channel types support for gravity sensor. Gravity sensor provides an application-level or physical collection that identifies a device that measures exclusively the force of Earth's gravity along any number of axes. More information can be found in: http://www.usb.org/developers/hidpage/HUTRR59_-_Usages_for_Wearables.pdf Signed-off-by: Song Hongyan <hongyan.song@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/iio/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/iio/types.h b/include/uapi/linux/iio/types.h
index e54d14a..ffafd6c 100644
--- a/include/uapi/linux/iio/types.h
+++ b/include/uapi/linux/iio/types.h
@@ -42,6 +42,7 @@ enum iio_chan_type {
IIO_ELECTRICALCONDUCTIVITY,
IIO_COUNT,
IIO_INDEX,
+ IIO_GRAVITY,
};
enum iio_modifier {
OpenPOWER on IntegriCloud