diff options
author | Paul Fagerburg <pfagerburg@chromium.org> | 2019-08-09 09:08:23 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-12 19:13:54 +0000 |
commit | bdffc31c6a3dbb692229df7a5d3a58c163fe74c4 (patch) | |
tree | eed34ece1fdffd07c332cf98e1ace9b9e6d718a9 | |
parent | c5943df788164d0d2c8e984f72af594542244403 (diff) | |
download | chrome-ec-bdffc31c6a3dbb692229df7a5d3a58c163fe74c4.tar.gz |
kohaku: update for 30.9K resistor in thermistor divider
The resistor divider on Kohaku for the temperature sensors has
been changed to a 30.9K pull-up with the same 47K thermistor.
BRANCH=none
BUG=b:124316213
TEST=Rebuild EC and flash
Change-Id: Ida61cc448ece42dbd026846b27fd861054e66189
Signed-off-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1745357
Reviewed-by: Scott Collyer <scollyer@chromium.org>
-rw-r--r-- | board/kohaku/board.c | 4 | ||||
-rw-r--r-- | board/kohaku/board.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/board/kohaku/board.c b/board/kohaku/board.c index 07292012bf..9bc7609022 100644 --- a/board/kohaku/board.c +++ b/board/kohaku/board.c @@ -378,12 +378,12 @@ BUILD_ASSERT(ARRAY_SIZE(adc_channels) == ADC_CH_COUNT); const struct temp_sensor_t temp_sensors[] = { [TEMP_SENSOR_1] = {.name = "Temp1", .type = TEMP_SENSOR_TYPE_BOARD, - .read = get_temp_3v3_51k1_47k_4050b, + .read = get_temp_3v3_30k9_47k_4050b, .idx = ADC_TEMP_SENSOR_1, .action_delay_sec = 1}, [TEMP_SENSOR_2] = {.name = "Temp2", .type = TEMP_SENSOR_TYPE_BOARD, - .read = get_temp_3v3_51k1_47k_4050b, + .read = get_temp_3v3_30k9_47k_4050b, .idx = ADC_TEMP_SENSOR_2, .action_delay_sec = 1}, }; diff --git a/board/kohaku/board.h b/board/kohaku/board.h index 77c06266f1..eb2a205465 100644 --- a/board/kohaku/board.h +++ b/board/kohaku/board.h @@ -108,7 +108,7 @@ #define CONFIG_TEMP_SENSOR_POWER_GPIO GPIO_EN_A_RAILS #define CONFIG_THERMISTOR #define CONFIG_THROTTLE_AP -#define CONFIG_STEINHART_HART_3V3_51K1_47K_4050B +#define CONFIG_STEINHART_HART_3V3_30K9_47K_4050B /* * Macros for GPIO signals used in common code that don't match the |