diff options
author | Song Hongyan <hongyan.song@intel.com> | 2017-05-07 13:24:24 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-05-07 14:22:27 +0300 |
commit | 9ff88edc5e7bad08bdd79a20f14533a5cf44b865 (patch) | |
tree | ee0ed45bbfea629c601713e99c0c7e207db11687 /virt | |
parent | b46c39a09838bb87d412a6ad7427ea58bf99ae02 (diff) | |
download | linux-9ff88edc5e7bad08bdd79a20f14533a5cf44b865.tar.xz |
iio: hid-sensor-rotation: Add relative orientation sensor hid support
Relative orientation(AG) sensor is a 6dof orientation sensor,
it depends on acceleration and gyroscope sensor data. It gives
a quaternion describing the orientation of the device relative
to an initial orientation. It is a standard HID sensor.
More information can be found in:
http://www.usb.org/developers/hidpage/HUTRR59_-_Usages_for_Wearables.pdf
Relative orientation(AG) sensor and dev rotation sensor have same
channels and share channel usage id. So the most of the code for
relative orientation sensor can be reused.
Signed-off-by: Song Hongyan <hongyan.song@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Reviewed-by: Xu Even <even.xu@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions