diff options
author | Andrew McRae <amcrae@google.com> | 2020-08-05 17:13:19 +1000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-06 01:57:52 +0000 |
commit | 822d58c9fd4867a37ecdddcf4b40789183584132 (patch) | |
tree | 90ddcb01f7dacc69279a62d59ea46c76b46b6347 /board/puff/board.h | |
parent | 82e39fbcb5cdfd368d87ee1fce7b495e727409b3 (diff) | |
download | chrome-ec-822d58c9fd4867a37ecdddcf4b40789183584132.tar.gz |
Puff: Temperature sensor changes
The latest Puff board variants remove temperature sensor 2
and change the location of temperature sensor 1 to the SoC core.
Since one sensor has been removed, this change is backwards compatible
with previous boards (with the only exception that the location of the
sensor has changed, so the description is different). For previous
boards, the second temp sensor will be ignored.
BUG=b:162909373
TEST=Confirm that puff and variants only monitor one temp sensor.
BRANCH=none
Signed-off-by: Andrew McRae <amcrae@google.com>
Change-Id: I0b03cbb24460a6569d36fbc6a0dab1c3c58dffbd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2336350
Tested-by: Andrew McRae <amcrae@chromium.org>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Commit-Queue: Andrew McRae <amcrae@chromium.org>
Diffstat (limited to 'board/puff/board.h')
-rw-r--r-- | board/puff/board.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/board/puff/board.h b/board/puff/board.h index 82b8c7f944..7f8c45be9e 100644 --- a/board/puff/board.h +++ b/board/puff/board.h @@ -192,7 +192,6 @@ enum adc_channel { ADC_VBUS, /* ADC4 */ ADC_PPVAR_IMON, /* ADC9 */ ADC_TEMP_SENSOR_1, /* ADC0 */ - ADC_TEMP_SENSOR_2, /* ADC1 */ /* Number of ADC channels */ ADC_CH_COUNT }; @@ -218,8 +217,7 @@ enum mft_channel { }; enum temp_sensor_id { - TEMP_SENSOR_PP3300, - TEMP_SENSOR_PP5000, + TEMP_SENSOR_CORE, TEMP_SENSOR_COUNT }; |