diff options
author | Song Hongyan <hongyan.song@intel.com> | 2017-01-05 13:24:03 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-01-05 16:02:25 +0300 |
commit | 571299d099dcce0ff32c76e70e32e0ba01e55adc (patch) | |
tree | d87c5dd7ec05883775286ca288757701359b563d /include/uapi/linux/iio | |
parent | b257c1a45e9967ad84f9c5d40e657074d979ce70 (diff) | |
download | linux-571299d099dcce0ff32c76e70e32e0ba01e55adc.tar.xz |
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/uapi/linux/iio')
-rw-r--r-- | include/uapi/linux/iio/types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/iio/types.h b/include/uapi/linux/iio/types.h index e54d14a7f876..ffafd6c25a48 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 { |