summaryrefslogtreecommitdiff
path: root/board/madoo
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2021-06-28 15:22:11 -0700
committerCommit Bot <commit-bot@chromium.org>2021-06-29 16:07:22 +0000
commit0e729ec359be445cb478eacab23dc982a5e94000 (patch)
tree64f1b027e1a64c11331173a2169213df663b3b02 /board/madoo
parent2ef205a721c3539251b7ea5bd570334a331625b1 (diff)
downloadchrome-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/madoo')
-rw-r--r--board/madoo/board.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/madoo/board.h b/board/madoo/board.h
index d947c5746a..14e732c6e3 100644
--- a/board/madoo/board.h
+++ b/board/madoo/board.h
@@ -107,7 +107,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
#ifndef __ASSEMBLER__