diff options
author | Ruibin Chang <ruibin.chang@ite.com.tw> | 2020-09-15 14:38:04 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-25 12:11:10 +0000 |
commit | d0a1ed5604e6a80c17a4bc5f1b4a8a57ad331c35 (patch) | |
tree | a0982c997e9492e6895d1708b4917bbb03d41f82 /chip/it83xx/clock.c | |
parent | 13b9779c2260d734a678019416c6e4385ec4b100 (diff) | |
download | chrome-ec-d0a1ed5604e6a80c17a4bc5f1b4a8a57ad331c35.tar.gz |
driver/it8xxx2: change Rd_DB to Rd_5.1k in EC hibernate
We change Rd_DB to Rd_5.1k in EC hibernate, so the cc voltage
level won't false trigger chip H1 when there is nothing attached
on c port.
BUG=b:167937680
BRANCH=none
TEST=on board asurada and it81202_evb, in EC hibernate mode:
1.can wakeup by AC plug in, then pd state to SNK_READY.
2.Rd_5.1k power consumption is more 1.5uA than Rd_DB
Signed-off-by: Ruibin Chang <ruibin.chang@ite.com.tw>
Change-Id: If670e65bfed864ca9b1ca97ee66957a5e11accaa
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2413190
Tested-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Commit-Queue: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'chip/it83xx/clock.c')
-rw-r--r-- | chip/it83xx/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/it83xx/clock.c b/chip/it83xx/clock.c index 72b2191c2d..25486c1e3b 100644 --- a/chip/it83xx/clock.c +++ b/chip/it83xx/clock.c @@ -511,8 +511,8 @@ void __enter_hibernate(uint32_t seconds, uint32_t microseconds) if (IS_ENABLED(CONFIG_USB_PD_TCPM_ITE_ON_CHIP)) { /* - * Disable active pd modules in hibernate for - * better power consumption. + * Disable active cc and pd modules and only left Rd_5.1k (Not + * Rd_DB) alive in hibernate for better power consumption. */ for (i = 0; i < CONFIG_USB_PD_ITE_ACTIVE_PORT_COUNT; i++) it83xx_disable_pd_module(i); |