summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2018-09-25 11:03:10 +0200
committerEduardo Valentin <edubezval@gmail.com>2018-10-22 17:50:41 -0700
commitce8c0700dcf905333733f83a06cd956496e0a661 (patch)
treeb09b74cf9ccc10ca2cce749ca229eeadf73066ee
parenta18e83e77217b63e4138470aa49d8269a201f76d (diff)
thermal/drivers/hisi: Add more sensors channel
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>
-rw-r--r--drivers/thermal/hisi_thermal.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/thermal/hisi_thermal.c b/drivers/thermal/hisi_thermal.c
index 87d8a135ad38..ba89cb9a6248 100644
--- a/drivers/thermal/hisi_thermal.c
+++ b/drivers/thermal/hisi_thermal.c
@@ -56,7 +56,12 @@
#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;