summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/dove_thermal.c
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2013-03-22 09:23:02 -0300
committerZhang Rui <rui.zhang@intel.com>2013-03-26 22:12:20 +0800
commit696b6075afa97b42b3f59f96809ed586eb691c96 (patch)
tree0106c28ed0a284e4d42ba548b1fe9a15b4186ee1 /drivers/thermal/dove_thermal.c
parent02519d3397b57bf723f6df69c92b0b66ecafb11a (diff)
downloadblackbird-op-linux-696b6075afa97b42b3f59f96809ed586eb691c96.tar.gz
blackbird-op-linux-696b6075afa97b42b3f59f96809ed586eb691c96.zip
thermal: kirkwood: Fix thermal sensor formula
The currently formula has been taken from the 88AP510 SoC datasheet, which is not exactly correct. The correct value for the temperature in Celcius of the sensor present in this SoC is: Celsius = (322-reg)/1.3625 Signed-off-by: Lior Amsalem <alior@marvell.com> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/dove_thermal.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud