Tao Huang | f9eefee | 2018-01-31 20:51:17 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
guoyi | af2d9a0 | 2014-03-05 15:32:13 +0800 | [diff] [blame] | 2 | |
| 3 | #ifndef __DT_BINDINGS_ROCKCHIP_SENSORDEV_H__ |
| 4 | #define __DT_BINDINGS_ROCKCHIP_SENSORDEV_H__ |
| 5 | |
| 6 | #define SENSOR_TYPE_NULL 0 |
| 7 | #define SENSOR_TYPE_ANGLE 1 |
| 8 | #define SENSOR_TYPE_ACCEL 2 |
| 9 | #define SENSOR_TYPE_COMPASS 3 |
| 10 | #define SENSOR_TYPE_GYROSCOPE 4 |
| 11 | #define SENSOR_TYPE_LIGHT 5 |
| 12 | #define SENSOR_TYPE_PROXIMITY 6 |
| 13 | #define SENSOR_TYPE_TEMPERATURE 7 |
| 14 | #define SENSOR_TYPE_PRESSURE 8 |
| 15 | #define SENSOR_TYPE_HALL 9 |
| 16 | #define SENSOR_NUM_TYPES 10 |
| 17 | |
| 18 | #endif |