summaryrefslogtreecommitdiffstats
path: root/lib/kstrtox.h
diff options
context:
space:
mode:
authorCaesar Wang2015-01-25 03:11:11 +0100
committerEduardo Valentin2015-01-25 04:38:36 +0100
commit1e9a1aea7a05a1c8a7ece72b02d8077089f9e4d5 (patch)
tree719fd65616eefd8a963e5e3b5bce888b1506f773 /lib/kstrtox.h
parentthermal: exynos: Remove exynos_thermal_common.[c|h] files (diff)
downloadkernel-qcow2-linux-1e9a1aea7a05a1c8a7ece72b02d8077089f9e4d5.tar.gz
kernel-qcow2-linux-1e9a1aea7a05a1c8a7ece72b02d8077089f9e4d5.tar.xz
kernel-qcow2-linux-1e9a1aea7a05a1c8a7ece72b02d8077089f9e4d5.zip
thermal: rockchip: make temperature reporting much more accurate
In general, the kernel should report temperature readings exactly as reported by the hardware. The cpu / gpu thermal driver works in 5 degree increments,but we ought to do more accurate. The temperature will do linear interpolation between the entries in the table. Test= $md5sum /dev/zero & $while true; do grep "" /sys/class/thermal/thermal_zone[1-2]/temp; sleep .5; done e.g. We can get the result as follows: /sys/class/thermal/thermal_zone1/temp:39994 /sys/class/thermal/thermal_zone2/temp:39086 /sys/class/thermal/thermal_zone1/temp:39994 /sys/class/thermal/thermal_zone2/temp:39540 /sys/class/thermal/thermal_zone1/temp:39540 /sys/class/thermal/thermal_zone2/temp:39540 /sys/class/thermal/thermal_zone1/temp:39540 /sys/class/thermal/thermal_zone2/temp:39994 Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Caesar Wang <wxt@rock-chips.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'lib/kstrtox.h')
0 files changed, 0 insertions, 0 deletions