diff options
author | David Huang <david.huang@quanta.corp-partner.google.com> | 2022-05-23 14:21:56 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-20 03:22:21 +0000 |
commit | 9dae5323bbc98540cc7ee76450c4286fa99d961d (patch) | |
tree | 3a7fed3c8755a88392262d2420c6d93b5faf5fe9 /board/agah | |
parent | f77d2a0d3a0e2857873a2fcd87a14d6712275f91 (diff) | |
download | chrome-ec-9dae5323bbc98540cc7ee76450c4286fa99d961d.tar.gz |
agah: delay thermal sensor read in the first time
Add 500 ms delay of thermal sensor first read in agah.
BUG=none
BRANCH=none
TEST=Shutdown and power on to check system doesn't trigger thermal
shutdown.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: I6b0509f0e7a05b23701d5555a82dd64afcd4c99d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3659127
Reviewed-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Reviewed-by: Kenny Pan <kennypan@google.com>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'board/agah')
-rw-r--r-- | board/agah/board.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/agah/board.h b/board/agah/board.h index 7655f9a4fe..0b8253d0cc 100644 --- a/board/agah/board.h +++ b/board/agah/board.h @@ -92,6 +92,7 @@ #define GPIO_PCH_RTCRST GPIO_EC_PCH_RTCRST #define GPIO_PCH_SLP_S0_L GPIO_SYS_SLP_S0IX_L #define GPIO_PCH_SLP_S3_L GPIO_SLP_S3_L +#define GPIO_TEMP_SENSOR_POWER GPIO_SEQ_EC_DSW_PWROK /* * GPIO_EC_PCH_INT_ODL is used for MKBP events as well as a PCH wakeup @@ -132,7 +133,8 @@ /* Thermal features */ #define CONFIG_THERMISTOR #define CONFIG_TEMP_SENSOR -#define CONFIG_TEMP_SENSOR_POWER_GPIO GPIO_SEQ_EC_DSW_PWROK +#define CONFIG_TEMP_SENSOR_POWER +#define CONFIG_TEMP_SENSOR_FIRST_READ_DELAY_MS 500 #define CONFIG_STEINHART_HART_3V3_30K9_47K_4050B #define CONFIG_FANS FAN_CH_COUNT |