diff options
author | Edward Hill <ecgh@chromium.org> | 2020-08-28 13:30:42 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-28 23:05:10 +0000 |
commit | ef3d914793c80d9ca396dea50eff54417c0a205c (patch) | |
tree | 5fd37df025d5f5b2c0a68a7ce207582ea84f81ea | |
parent | 2d87a73bf82b100a7b560b4a4f7a48b4f21ea469 (diff) | |
download | chrome-ec-ef3d914793c80d9ca396dea50eff54417c0a205c.tar.gz |
ezkinil/woomax: Fix HDMI DATA_EN for OPT3 DB
Fix mistake in CL:2375803. HDMI_DATA_EN_DB is needed for MST hub on
OPT3 DB, in addition to pi3hdx1204 retimer on OPT1 DB.
BUG=b:158266701
BRANCH=zork
TEST=none
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: Ie97f6a59628177542b890bcd4327df1e0ffdc083
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2382631
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
-rw-r--r-- | board/ezkinil/board.c | 4 | ||||
-rw-r--r-- | board/woomax/board.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/board/ezkinil/board.c b/board/ezkinil/board.c index 558f26b216..ad141694d3 100644 --- a/board/ezkinil/board.c +++ b/board/ezkinil/board.c @@ -462,10 +462,10 @@ void hdmi_hpd_interrupt_v2(enum ioex_signal signal) static void board_chipset_resume(void) { ioex_set_level(IOEX_USB_A1_RETIMER_EN, 1); + ioex_set_level(IOEX_HDMI_DATA_EN_DB, 1); 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, @@ -477,13 +477,13 @@ DECLARE_HOOK(HOOK_CHIPSET_RESUME, board_chipset_resume, HOOK_PRIO_DEFAULT); static void board_chipset_suspend(void) { ioex_set_level(IOEX_USB_A1_RETIMER_EN, 0); + ioex_set_level(IOEX_HDMI_DATA_EN_DB, 0); if (ec_config_has_hdmi_retimer_pi3hdx1204()) { pi3hdx1204_enable(I2C_PORT_TCPC1, 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); diff --git a/board/woomax/board.c b/board/woomax/board.c index fec0bec305..05df580a1e 100644 --- a/board/woomax/board.c +++ b/board/woomax/board.c @@ -208,6 +208,7 @@ static void board_chipset_resume(void) int retry; ioex_set_level(IOEX_USB_A0_RETIMER_EN, 1); + ioex_set_level(IOEX_HDMI_DATA_EN_DB, 1); /* USB-A0 can run with default settings */ for (retry = 0; retry < PS8811_ACCESS_RETRIES; ++retry) { @@ -226,7 +227,6 @@ 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, @@ -238,13 +238,13 @@ DECLARE_HOOK(HOOK_CHIPSET_RESUME, board_chipset_resume, HOOK_PRIO_DEFAULT); static void board_chipset_suspend(void) { ioex_set_level(IOEX_USB_A0_RETIMER_EN, 0); + ioex_set_level(IOEX_HDMI_DATA_EN_DB, 0); if (ec_config_has_hdmi_retimer_pi3hdx1204()) { pi3hdx1204_enable(I2C_PORT_TCPC1, 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); |