Calibrate IR temperature sensors for Link DVT

The TMP006 IR sensors are calibrated against the temperature measured on
the *external* side on the casing using a thermocouple stick at the
vertical of the sensor.

The hinge sensor is sending back strange values, and the Tobject from
there should not be trusted.

The DC-Jack C-case sensor is not calibrated (and will be removed soon).

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>

BUG=None
TEST=on Link DVT, compare EC temperature values against thermocouple
readings.
BRANCH=link

Change-Id: I03375dd1c2f3a0aa56b0d2f343dad3b8f7581bc2
Reviewed-on: https://gerrit.chromium.org/gerrit/32156
Reviewed-by: Sameer Nanda <snanda@chromium.org>
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
Vincent Palatin
2012-09-04 11:40:11 -07:00
committed by Gerrit
parent e2de50ee76
commit 141e16c2fa

View File

@@ -84,11 +84,11 @@ const struct temp_sensor_t temp_sensors[TEMP_SENSOR_COUNT] = {
const struct tmp006_t tmp006_sensors[TMP006_COUNT] = {
/* TODO: Calibrate sensitivity factors. See crosbug.com/p/9599 */
{"Heat pipe D", TEMP_HEATPIPE_ADDR, 2771},
{"PCH D", TEMP_PCH_ADDR, 14169},
{"Memory D", TEMP_MEMORY_ADDR, 6400},
{"Charger D", TEMP_CHARGER_ADDR, 10521},
{"PCH D", TEMP_PCH_ADDR, 9301},
{"Memory D", TEMP_MEMORY_ADDR, 3790},
{"Charger D", TEMP_CHARGER_ADDR, 10426},
{"DCJack C", TEMP_DCJACK_ADDR, 6400},
{"USB C", TEMP_USB_ADDR, 6400},
{"Hinge C", TEMP_HINGE_ADDR, 6400},
{"SD Card D", TEMP_SDCARD_ADDR, 6400},
{"USB C", TEMP_USB_ADDR, 3648},
{"Hinge C", TEMP_HINGE_ADDR, -2713},
{"SD Card D", TEMP_SDCARD_ADDR, 4577},
};