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>
This commit is contained in:

committed by
Jonathan Cameron

parent
39a3a0138f
commit
f64a799b8a
@@ -38,6 +38,11 @@
|
||||
#define HID_USAGE_SENSOR_DATA_PRESENCE 0x2004b0
|
||||
#define HID_USAGE_SENSOR_HUMAN_PRESENCE 0x2004b1
|
||||
|
||||
/* Pressure (200031) */
|
||||
#define HID_USAGE_SENSOR_PRESSURE 0x200031
|
||||
#define HID_USAGE_SENSOR_DATA_ATMOSPHERIC_PRESSURE 0x200430
|
||||
#define HID_USAGE_SENSOR_ATMOSPHERIC_PRESSURE 0x200431
|
||||
|
||||
/* Gyro 3D: (200076) */
|
||||
#define HID_USAGE_SENSOR_GYRO_3D 0x200076
|
||||
#define HID_USAGE_SENSOR_DATA_ANGL_VELOCITY 0x200456
|
||||
|
Reference in New Issue
Block a user