diff options
author | Eduardo Valentin <edubezval@gmail.com> | 2015-05-11 19:34:23 -0700 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-05-11 19:46:52 -0700 |
commit | 9d0be7f4810257a9b0fc78fff641f14409f14ab3 (patch) | |
tree | c3cab3c900e0841e9beeba9756800c175748b8be /drivers/thermal/db8500_thermal.c | |
parent | ea54cac9065112724f3432e0574ba3e346fd695d (diff) | |
download | linux-9d0be7f4810257a9b0fc78fff641f14409f14ab3.tar.gz linux-9d0be7f4810257a9b0fc78fff641f14409f14ab3.tar.bz2 linux-9d0be7f4810257a9b0fc78fff641f14409f14ab3.zip |
thermal: support slope and offset coefficients
It is common to have a linear extrapolation from
the current sensor readings and the actual temperature
value. This is specially the case when the sensor
is in use to extrapolate hotspots.
This patch adds slope and offset constants for
single sensor linear extrapolation equation. Because
the same sensor can be use in different locations,
from board to board, these constants are added
as part of thermal_zone_params.
The constants are available through sysfs.
It is up to the device driver to determine
the usage of these values.
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/db8500_thermal.c')
0 files changed, 0 insertions, 0 deletions