summaryrefslogtreecommitdiff
path: root/board/ezkinil/board.c
diff options
context:
space:
mode:
authorSue Chen <sue.chen@quanta.corp-partner.google.com>2020-08-25 14:34:51 +0800
committerCommit Bot <commit-bot@chromium.org>2020-08-26 04:43:01 +0000
commit528ad7dfe28718dee3739a0ac8ab325f6d1b59d6 (patch)
tree2b62eacaca4742457e7700dbe5c1eb33b0b827ad /board/ezkinil/board.c
parent9b9de8217b14b7259afd34d8544678a3f41d4f02 (diff)
downloadchrome-ec-528ad7dfe28718dee3739a0ac8ab325f6d1b59d6.tar.gz
Ezkinil: pull HDMI_DATA_EN_DB low at suspend
HDMI EA 7-3 test fail because HDMI_DATA_EN_DB floating in S3/S5 cause 0.7V leakage. Therefore, pull HDMI_DATA_EN_DB low at suspend and pull high when the system enter S0. BUG=b:158062907 BRANCH=zork TEST=make sure that fix 0.7V leakage Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com> Change-Id: I6e3e0f26f63a707670c270c522c3598dc0104a13 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2373851 Reviewed-by: Edward Hill <ecgh@chromium.org> Commit-Queue: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'board/ezkinil/board.c')
-rw-r--r--board/ezkinil/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/ezkinil/board.c b/board/ezkinil/board.c
index 2ccf333b65..558f26b216 100644
--- a/board/ezkinil/board.c
+++ b/board/ezkinil/board.c
@@ -465,6 +465,7 @@ static void board_chipset_resume(void)
if (ec_config_has_hdmi_retimer_pi3hdx1204()) {
ioex_set_level(IOEX_HDMI_POWER_EN_DB, 1);
+ ioex_set_level(IOEX_HDMI_DATA_EN_DB, 1);
msleep(PI3HDX1204_POWER_ON_DELAY_MS);
pi3hdx1204_enable(I2C_PORT_TCPC1,
PI3HDX1204_I2C_ADDR_FLAGS,
@@ -482,6 +483,7 @@ static void board_chipset_suspend(void)
PI3HDX1204_I2C_ADDR_FLAGS,
0);
ioex_set_level(IOEX_HDMI_POWER_EN_DB, 0);
+ ioex_set_level(IOEX_HDMI_DATA_EN_DB, 0);
}
}
DECLARE_HOOK(HOOK_CHIPSET_SUSPEND, board_chipset_suspend, HOOK_PRIO_DEFAULT);