OSDN Git Service

thermal/drivers/hisi: Add more sensors channel
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 25 Sep 2018 09:03:10 +0000 (11:03 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 23 Oct 2018 00:50:41 +0000 (17:50 -0700)
Add the sensor channels id for the little, g3d and modem.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/hisi_thermal.c

index 87d8a13..ba89cb9 100644 (file)
 #define HI3660_TEMP_LAG                        (4000)
 
 #define HI6220_CLUSTER0_SENSOR         2
+#define HI6220_CLUSTER1_SENSOR         1
+
+#define HI3660_LITTLE_SENSOR           0
 #define HI3660_BIG_SENSOR              1
+#define HI3660_G3D_SENSOR              2
+#define HI3660_MODEM_SENSOR            3
 
 struct hisi_thermal_data;