diff options
author | Paul Fagerburg <pfagerburg@chromium.org> | 2019-08-12 14:38:13 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-13 16:13:45 +0000 |
commit | 88d6812b514e21f6e7cba647ceafcbfc606d4b56 (patch) | |
tree | b55f59e57b1b030da2c9d49358f850157c0673ea /board/helios | |
parent | 4c560396337ee1f56bea419218a18df5af9e3e88 (diff) | |
download | chrome-ec-88d6812b514e21f6e7cba647ceafcbfc606d4b56.tar.gz |
hatch: update for 30.9K resistor in thermistor divider
All hatch-family hardware uses a 30.9K resistor in the temperature
sensor with the 47K thermistor. Update Hatch reference, Helios, and
Kindred.
BRANCH=none
BUG=b:124316213
TEST=Rebuild EC for each board:
``cd ~/trunk/src/platform/ec``
``make -j BOARD=hatch``
``make -j BOARD=helios``
``make -j BOARD=kindred``
Change-Id: I71cb0b8db79f64e4809a2ef66db6fb1f0607ed53
Signed-off-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1749740
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'board/helios')
-rw-r--r-- | board/helios/board.c | 4 | ||||
-rw-r--r-- | board/helios/board.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/board/helios/board.c b/board/helios/board.c index 6af2b3287f..db0a664e2c 100644 --- a/board/helios/board.c +++ b/board/helios/board.c @@ -328,12 +328,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/helios/board.h b/board/helios/board.h index fcb3f5feb6..17b67a4f5f 100644 --- a/board/helios/board.h +++ b/board/helios/board.h @@ -71,7 +71,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 |