diff options
author | Alexander Holler <holler@ahsoftware.de> | 2012-12-15 07:45:00 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-01-06 06:41:12 -0500 |
commit | 8e3cdca26c9d9f0936c555bc67e2a5d71e61bb0d (patch) | |
tree | 37807b6726eabddf9c2a0b5b65d273f4a468b0ea | |
parent | 5306f416ad9e7d6134fc1e357e895e69823975d8 (diff) |
iio: Add Usage IDs for HID time sensors.
These are Usage IDs for the attributes year, month, day,
hour, minute and second, needed to read HID time sensors.
Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r-- | include/linux/hid-sensor-ids.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/hid-sensor-ids.h b/include/linux/hid-sensor-ids.h index 55f277372fed..6f24446e7669 100644 --- a/include/linux/hid-sensor-ids.h +++ b/include/linux/hid-sensor-ids.h | |||
@@ -66,6 +66,15 @@ | |||
66 | #define HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_Y_AXIS 0x200486 | 66 | #define HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_Y_AXIS 0x200486 |
67 | #define HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_Z_AXIS 0x200487 | 67 | #define HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_Z_AXIS 0x200487 |
68 | 68 | ||
69 | /* Time (2000a0) */ | ||
70 | #define HID_USAGE_SENSOR_TIME 0x2000a0 | ||
71 | #define HID_USAGE_SENSOR_TIME_YEAR 0x200521 | ||
72 | #define HID_USAGE_SENSOR_TIME_MONTH 0x200522 | ||
73 | #define HID_USAGE_SENSOR_TIME_DAY 0x200523 | ||
74 | #define HID_USAGE_SENSOR_TIME_HOUR 0x200525 | ||
75 | #define HID_USAGE_SENSOR_TIME_MINUTE 0x200526 | ||
76 | #define HID_USAGE_SENSOR_TIME_SECOND 0x200527 | ||
77 | |||
69 | /* Units */ | 78 | /* Units */ |
70 | #define HID_USAGE_SENSOR_UNITS_NOT_SPECIFIED 0x00 | 79 | #define HID_USAGE_SENSOR_UNITS_NOT_SPECIFIED 0x00 |
71 | #define HID_USAGE_SENSOR_UNITS_LUX 0x01 | 80 | #define HID_USAGE_SENSOR_UNITS_LUX 0x01 |