summaryrefslogtreecommitdiff
path: root/mausezahn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mausezahn/Makefile')
0 files changed, 0 insertions, 0 deletions
lspan='2' class='oid'>3e462282375f2df2e434097b43983c51fe6b5ae4 parentd3530497f5c33530c50acb435b7d54e0a82d8032 (diff)
thermal: rockchip: optimize the conversion table
In order to support the valid temperature can conver to analog value. The rockchip thermal driver has not supported the all valid temperature to convert the analog value. (e.g.: 61C, 62C, 63C....) For example: In some cases, we need adjust the trip point. $cd /sys/class/thermal/thermal_zone* $echo 68000 > trip_point_0_temp That will return the max analogic value indicates the invalid before posting this patch. So, this patch will optimize the conversion table to support the other cases. Signed-off-by: Caesar Wang <wxt@rock-chips.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat
-rw-r--r--drivers/thermal/rockchip_thermal.c25
1 files changed, 24 insertions, 1 deletions
diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c