From 141e16c2fa89ff978008873bc11f2d82c4b5d354 Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Tue, 4 Sep 2012 11:40:11 -0700 Subject: 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 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 Commit-Ready: Vincent Palatin Tested-by: Vincent Palatin --- board/link/board_temp_sensor.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/board/link/board_temp_sensor.c b/board/link/board_temp_sensor.c index 90b96c4ae3..f9c99d8ef9 100644 --- a/board/link/board_temp_sensor.c +++ b/board/link/board_temp_sensor.c @@ -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}, }; -- cgit v1.2.1