diff options
author | Aseda Aboagye <aaboagye@google.com> | 2021-06-28 15:22:11 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-29 16:07:22 +0000 |
commit | 0e729ec359be445cb478eacab23dc982a5e94000 (patch) | |
tree | 64f1b027e1a64c11331173a2169213df663b3b02 /board/boten | |
parent | 2ef205a721c3539251b7ea5bd570334a331625b1 (diff) | |
download | chrome-ec-0e729ec359be445cb478eacab23dc982a5e94000.tar.gz |
keeby/dedede: Gate temp sensor access by GPIO
On dedede and keeby boards, the thermistors are powered by the EC's
GPIO_EN_PP3300_A pin. If the thermistors are read before they are
powered then the EC may force a thermal shutdown due to the bad reading.
This commit simply defines CONFIG_TEMP_SENSOR_POWER_GPIO along with a
CONFIG_TEMP_SENSOR_FIRST_READ_DELAY_MS to ensure we don't get any false
positive thermal shutdowns.
BUG=b:192053176
BRANCH=dedede
TEST=Build and flash lalala. Unplug AC charger from DUT, press
refresh+power button to reset DUT, verify that DUT boots up
automatically.
TEST=Repeat above test with madoo.
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: I2a49e2f896c4120a8f01f440ea22c9b3763c6589
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2988364
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Auto-Submit: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board/boten')
-rw-r--r-- | board/boten/board.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/board/boten/board.h b/board/boten/board.h index 3976063373..0e2a72015c 100644 --- a/board/boten/board.h +++ b/board/boten/board.h @@ -85,7 +85,6 @@ #define CONFIG_TEMP_SENSOR #define CONFIG_THERMISTOR #define CONFIG_STEINHART_HART_3V3_51K1_47K_4050B -#define CONFIG_TEMP_SENSOR_POWER_GPIO GPIO_EN_PP3300_A /* USB Mux */ #define CONFIG_USB_MUX_IT5205 |