diff options
author | J Keerthy <j-keerthy@ti.com> | 2013-04-01 12:04:45 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-01 12:27:30 -0700 |
commit | 2f440b0622085a130ff723bb037066c9cbfc8cd7 (patch) | |
tree | 6a0b049ca925f4d16cdddb51a8f30057a9645ec5 /mm/msync.c | |
parent | 54b59c922400bf1ef16dee4834a4a5722552176e (diff) |
staging: ti-soc-thermal:Introduce ti_bandgap_get_trend function for OMAP5
The patch adds ti_bandgap_get_trend function. This is specific
to OMAP5 for now it computes the trend from the temp values stored
in the hardware history buffer.
Formula: (T1 - T2) / P.
Where:
T1: Last read valid temperature.
T2: Last but one read valid temperature.
P: Update Interval.
Signed-off-by: J Keerthy <j-keerthy@ti.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/msync.c')
0 files changed, 0 insertions, 0 deletions