summaryrefslogtreecommitdiff
path: root/include/dt-bindings/sensor-dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dt-bindings/sensor-dev.h')
-rw-r--r--include/dt-bindings/sensor-dev.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/dt-bindings/sensor-dev.h b/include/dt-bindings/sensor-dev.h
new file mode 100644
index 000000000000..e03f0027d325
--- /dev/null
+++ b/include/dt-bindings/sensor-dev.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifndef __DT_BINDINGS_ROCKCHIP_SENSORDEV_H__
+#define __DT_BINDINGS_ROCKCHIP_SENSORDEV_H__
+
+#define SENSOR_TYPE_NULL 0
+#define SENSOR_TYPE_ANGLE 1
+#define SENSOR_TYPE_ACCEL 2
+#define SENSOR_TYPE_COMPASS 3
+#define SENSOR_TYPE_GYROSCOPE 4
+#define SENSOR_TYPE_LIGHT 5
+#define SENSOR_TYPE_PROXIMITY 6
+#define SENSOR_TYPE_TEMPERATURE 7
+#define SENSOR_TYPE_PRESSURE 8
+#define SENSOR_TYPE_HALL 9
+#define SENSOR_NUM_TYPES 10
+
+#endif