aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hid-sensor-ids.h
diff options
context:
space:
mode:
authorArchana Patni <archana.patni@linux.intel.com>2014-02-20 01:30:00 -0500
committerJonathan Cameron <jic23@kernel.org>2014-02-22 08:07:06 -0500
commitf64a799b8a49e3e26497b26ea78af01fc6302874 (patch)
tree2d16c045f55baa802a1e3a6e3e351a341eb45e15 /include/linux/hid-sensor-ids.h
parent39a3a0138f6113805dc9e0813214cd4b03bd8ac0 (diff)
iio: hid-sensors: Added Pressure Sensor driver
Added usage id processing for Pressure Sensor. 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. Signed-off-by: Archana Patni <archana.patni@intel.com> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/hid-sensor-ids.h')
-rw-r--r--include/linux/hid-sensor-ids.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/hid-sensor-ids.h b/include/linux/hid-sensor-ids.h
index 9bc9e35f1b3f..537161a997ab 100644
--- a/include/linux/hid-sensor-ids.h
+++ b/include/linux/hid-sensor-ids.h
@@ -38,6 +38,11 @@
38#define HID_USAGE_SENSOR_DATA_PRESENCE 0x2004b0 38#define HID_USAGE_SENSOR_DATA_PRESENCE 0x2004b0
39#define HID_USAGE_SENSOR_HUMAN_PRESENCE 0x2004b1 39#define HID_USAGE_SENSOR_HUMAN_PRESENCE 0x2004b1
40 40
41/* Pressure (200031) */
42#define HID_USAGE_SENSOR_PRESSURE 0x200031
43#define HID_USAGE_SENSOR_DATA_ATMOSPHERIC_PRESSURE 0x200430
44#define HID_USAGE_SENSOR_ATMOSPHERIC_PRESSURE 0x200431
45
41/* Gyro 3D: (200076) */ 46/* Gyro 3D: (200076) */
42#define HID_USAGE_SENSOR_GYRO_3D 0x200076 47#define HID_USAGE_SENSOR_GYRO_3D 0x200076
43#define HID_USAGE_SENSOR_DATA_ANGL_VELOCITY 0x200456 48#define HID_USAGE_SENSOR_DATA_ANGL_VELOCITY 0x200456