lkml.org 
[lkml]   [2018]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 12/14] thermal/drivers/hisi: Add more sensors channel
    Date
    Add the sensor channels id for the little, g3d and modem.

    Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
    ---
    drivers/thermal/hisi_thermal.c | 5 +++++
    1 file changed, 5 insertions(+)

    diff --git a/drivers/thermal/hisi_thermal.c b/drivers/thermal/hisi_thermal.c
    index 87d8a13..ba89cb9 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;

    --
    2.7.4
    \
     
     \ /
      Last update: 2018-09-25 11:05    [W:4.678 / U:0.424 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site