]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
thermal: armada: Update Armada 380 thermal sensor coefficients
authorNadav Haklai <nadavh@marvell.com>
Wed, 15 Apr 2015 17:08:08 +0000 (19:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Jun 2015 15:21:06 +0000 (08:21 -0700)
commita80e880dc4cb44350bfdd27d5dc3b4bce9d8e784
treec3187a583bbac3d3e9a2649d858e76e9e951762f
parent5368f933ea6ea8ba4edca8a557f67ca6deb0d67c
thermal: armada: Update Armada 380 thermal sensor coefficients

commit efa86858e1d8970411a140fa1e0c4dd18a8f2a89 upstream.

Improve the Armada 380 thermal sensor accuracy by using updated formula.
The updated formula is:
Temperature[C degrees] = 0.4761 * tsen_vsen_out - 279.1

Signed-off-by: Nadav Haklai <nadavh@marvell.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thermal/armada_thermal.c