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)
commitfc18dddc0625cd1fdf6a823e85138ff05848a85f
treeebc67d8d86ed874316c8bb856b6ad77aa3f52450
parent5082f405b74ad1b69aa9595555ce55b75b59b2ec
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