]> git.baikalelectronics.ru Git - kernel.git/commit
iio: hid-sensors: Added device rotation support
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Mon, 28 Apr 2014 23:51:00 +0000 (00:51 +0100)
committerJonathan Cameron <jic23@kernel.org>
Tue, 29 Apr 2014 21:11:53 +0000 (22:11 +0100)
commit315be5170833ddc4291122d3816b76ddef436287
treeebc67d8d86ed874316c8bb856b6ad77aa3f52450
parent1db05b71d26a15d4a090f97ad31ac011fee3946b
iio: hid-sensors: Added device rotation support

Added usage id processing for device rotation. This uses IIO
interfaces for triggered buffer to present data to user
mode.This uses HID sensor framework for registering callback
events from the sensor hub.
Data is exported to user space in the form of quaternion rotation
format.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/orientation/Kconfig
drivers/iio/orientation/Makefile
drivers/iio/orientation/hid-sensor-rotation.c [new file with mode: 0644]
include/linux/hid-sensor-ids.h