guoyi | af2d9a0 | 2014-03-05 15:32:13 +0800 | [diff] [blame^] | 1 | |
2 | #ifndef __DT_BINDINGS_ROCKCHIP_SENSORDEV_H__ | ||||
3 | #define __DT_BINDINGS_ROCKCHIP_SENSORDEV_H__ | ||||
4 | |||||
5 | #define SENSOR_TYPE_NULL 0 | ||||
6 | #define SENSOR_TYPE_ANGLE 1 | ||||
7 | #define SENSOR_TYPE_ACCEL 2 | ||||
8 | #define SENSOR_TYPE_COMPASS 3 | ||||
9 | #define SENSOR_TYPE_GYROSCOPE 4 | ||||
10 | #define SENSOR_TYPE_LIGHT 5 | ||||
11 | #define SENSOR_TYPE_PROXIMITY 6 | ||||
12 | #define SENSOR_TYPE_TEMPERATURE 7 | ||||
13 | #define SENSOR_TYPE_PRESSURE 8 | ||||
14 | #define SENSOR_TYPE_HALL 9 | ||||
15 | #define SENSOR_NUM_TYPES 10 | ||||
16 | |||||
17 | #endif |