summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wang <chriswang@ami.com.tw>2016-11-15 14:10:07 +0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2016-11-16 00:18:56 +0000
commit77d2c71b54c0786e76fd51f2da90e2a29fa3af55 (patch)
tree167c9ea397a4b44cf669d33786443ba2dbbb35b2
parentb02086c9f9bceb2376ef571c836bf1547c2fe186 (diff)
downloadchrome-ec-77d2c71b54c0786e76fd51f2da90e2a29fa3af55.tar.gz
Kefka: update thermal table
Update thermal table by referring to Thermal control table of BSW for Keyston and Corinth -V07 BUG=chrome-os-partner:59470 BRANCH=firmware-strago-7287.B TEST=`make buildall -j` and enter "thermalget" to get thermal information. Signed-off-by: Chris Wang <chriswang@ami.com.tw> Change-Id: Id942d4851a084754f9593254ec35e58ce10d366e Reviewed-on: https://chromium-review.googlesource.com/411680 Tested-by: JackJX Lin <jackjx_lin@compal.com> Reviewed-by: Shawn N <shawnn@chromium.org> Commit-Queue: Steven Houtchens <stevenh@google.com>
-rw-r--r--board/kefka/board.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/board/kefka/board.c b/board/kefka/board.c
index 6b28c6a460..59196adc17 100644
--- a/board/kefka/board.c
+++ b/board/kefka/board.c
@@ -81,9 +81,9 @@ const int hibernate_wake_pins_used = ARRAY_SIZE(hibernate_wake_pins);
const struct temp_sensor_t temp_sensors[] = {
{"TMP432_Internal", TEMP_SENSOR_TYPE_BOARD, tmp432_get_val,
TMP432_IDX_LOCAL, 4},
- {"TMP432_Sensor_1", TEMP_SENSOR_TYPE_BOARD, tmp432_get_val,
+ {"TMP432_Power_top", TEMP_SENSOR_TYPE_BOARD, tmp432_get_val,
TMP432_IDX_REMOTE1, 4},
- {"TMP432_Sensor_2", TEMP_SENSOR_TYPE_BOARD, tmp432_get_val,
+ {"TMP432_CPU_bottom", TEMP_SENSOR_TYPE_BOARD, tmp432_get_val,
TMP432_IDX_REMOTE2, 4},
{"Battery", TEMP_SENSOR_TYPE_BATTERY, charge_temp_sensor_get_val,
0, 4},
@@ -94,9 +94,9 @@ BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT);
* same order as enum temp_sensor_id. To always ignore any temp, use 0.
*/
struct ec_thermal_config thermal_params[] = {
- {{0, 0, 0}, 0, 0}, /* TMP432_Internal */
- {{0, 0, 0}, 0, 0}, /* TMP432_Sensor_1 */
- {{0, 0, 0}, 0, 0}, /* TMP432_Sensor_2 */
+ {{0, C_TO_K(60), C_TO_K(127)}, 0, 0}, /* TMP432_Internal */
+ {{0, C_TO_K(60), C_TO_K(127)}, 0, 0}, /* TMP432_Power_top */
+ {{0, C_TO_K(58), C_TO_K(127)}, 0, 0}, /* TMP432_CPU_bottom */
{{0, 0, 0}, 0, 0}, /* Battery Sensor */
};
BUILD_ASSERT(ARRAY_SIZE(thermal_params) == TEMP_SENSOR_COUNT);