OpenCloudOS-Kernel/drivers/iio/orientation
Song Hongyan 00907c7a32 iio: hid-sensor-rotation: Add geomagnetic orientation sensor hid support.
Geomagnetic orientation(AM) sensor is one kind of orientation 6dof sensor.
It gives the device rotation in respect to the earth center and the
magnetic north. The sensor is implemented through use of an accelerometer
and magnetometer do not use gyroscope. It is a standard HID sensor.

More information can be found in:
http://www.usb.org/developers/hidpage/HUTRR59_-_Usages_for_Wearables.pdf

Geomagnetic orientation(AM) sensor and dev rotation sensor have same
channel 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>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2017-05-07 12:22:33 +01:00
..
Kconfig iio: hid-sensors: Added device rotation support 2014-04-29 22:11:53 +01:00
Makefile iio: hid-sensors: Added device rotation support 2014-04-29 22:11:53 +01:00
hid-sensor-incl-3d.c iio: orientation: hid-sensor-incl-3d: Fix memory leak in probe() 2015-05-17 09:10:14 +01:00
hid-sensor-rotation.c iio: hid-sensor-rotation: Add geomagnetic orientation sensor hid support. 2017-05-07 12:22:33 +01:00