Skip to content

Commit ce8c070

Browse files
dlezcanoEduardo Valentin
authored andcommitted
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>
1 parent a18e83e commit ce8c070

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/thermal/hisi_thermal.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@
5656
#define HI3660_TEMP_LAG (4000)
5757

5858
#define HI6220_CLUSTER0_SENSOR 2
59+
#define HI6220_CLUSTER1_SENSOR 1
60+
61+
#define HI3660_LITTLE_SENSOR 0
5962
#define HI3660_BIG_SENSOR 1
63+
#define HI3660_G3D_SENSOR 2
64+
#define HI3660_MODEM_SENSOR 3
6065

6166
struct hisi_thermal_data;
6267

0 commit comments

Comments
 (0)