OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a18e83e
)
thermal/drivers/hisi: Add more sensors channel
author
Daniel Lezcano
<daniel.lezcano@linaro.org>
Tue, 25 Sep 2018 09:03:10 +0000
(11:03 +0200)
committer
Eduardo 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
patch
|
blob
|
history
diff --git
a/drivers/thermal/hisi_thermal.c
b/drivers/thermal/hisi_thermal.c
index
87d8a13
..
ba89cb9
100644
(file)
--- 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;