summaryrefslogtreecommitdiffstats
path: root/include/linux/hid-sensor-ids.h
diff options
context:
space:
mode:
authorArchana Patni <archana.patni@linux.intel.com>2014-02-20 06:29:00 +0000
committerJonathan Cameron <jic23@kernel.org>2014-02-22 13:07:01 +0000
commit39a3a0138f6113805dc9e0813214cd4b03bd8ac0 (patch)
tree22d4649c5340abe1e868bc32bfef6d6f4751270f /include/linux/hid-sensor-ids.h
parent7bbcf7e13695c70f13b2cae59392016c0fa2e7a6 (diff)
downloadlinux-39a3a0138f6113805dc9e0813214cd4b03bd8ac0.tar.gz
linux-39a3a0138f6113805dc9e0813214cd4b03bd8ac0.tar.bz2
linux-39a3a0138f6113805dc9e0813214cd4b03bd8ac0.zip
iio: hid-sensors: Added Proximity Sensor Driver
Added usage id processing for Proximity (Human Presence). 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 beaf965621c1..9bc9e35f1b3f 100644
--- a/include/linux/hid-sensor-ids.h
+++ b/include/linux/hid-sensor-ids.h
@@ -33,6 +33,11 @@
#define HID_USAGE_SENSOR_DATA_LIGHT 0x2004d0
#define HID_USAGE_SENSOR_LIGHT_ILLUM 0x2004d1
+/* PROX (200011) */
+#define HID_USAGE_SENSOR_PROX 0x200011
+#define HID_USAGE_SENSOR_DATA_PRESENCE 0x2004b0
+#define HID_USAGE_SENSOR_HUMAN_PRESENCE 0x2004b1
+
/* Gyro 3D: (200076) */
#define HID_USAGE_SENSOR_GYRO_3D 0x200076
#define HID_USAGE_SENSOR_DATA_ANGL_VELOCITY 0x200456