diff options
author | Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com> | 2020-07-28 19:22:48 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-07-30 06:46:15 +0000 |
commit | 5fdbcffa491b4965d94dec5f77638cb05e7ae7cc (patch) | |
tree | e1ca94876332bdbc3cf546f89226c1f19407dc4c /board/woomax/board.c | |
parent | 457a95621a9ba0620a806cb17bd578f9c5468afd (diff) | |
download | chrome-ec-5fdbcffa491b4965d94dec5f77638cb05e7ae7cc.tar.gz |
woomax: Allow MST hub to control HPD for OPT3 DB
1. Use an UNIMPLEMENTED GPIO for PORT_TO_HPD so that EC does not drive HPD
for OPT3 DB.
2. Remove USBC_PORT_C1 IOEX 10 (HDMI_CONN_HPD_3V3_DB)
BUG=b:160579667, b:161579729
BRANCH=none
TEST=make buildall
Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: I09a0551ca3ab5a61980fdde6e557c54d8c38fc58
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2322746
Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'board/woomax/board.c')
-rw-r--r-- | board/woomax/board.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/board/woomax/board.c b/board/woomax/board.c index 5ed21fa03a..0298eecf37 100644 --- a/board/woomax/board.c +++ b/board/woomax/board.c @@ -316,9 +316,6 @@ void setup_fw_config(void) gpio_enable_interrupt(GPIO_6AXIS_INT_L); setup_mux(); - - if (ec_config_has_hdmi_conn_hpd()) - ioex_enable_interrupt(IOEX_HDMI_CONN_HPD_3V3_DB); } DECLARE_HOOK(HOOK_INIT, setup_fw_config, HOOK_PRIO_INIT_I2C + 2); @@ -420,23 +417,6 @@ static void setup_fans(void) } DECLARE_HOOK(HOOK_INIT, setup_fans, HOOK_PRIO_DEFAULT); -static void hdmi_hpd_handler(void) -{ - int hpd = 0; - - /* Pass HPD through from DB OPT1 HDMI connector to AP's DP1. */ - ioex_get_level(IOEX_HDMI_CONN_HPD_3V3_DB, &hpd); - gpio_set_level(GPIO_DP1_HPD, hpd); - ccprints("HDMI HPD %d", hpd); -} -DECLARE_DEFERRED(hdmi_hpd_handler); - -void hdmi_hpd_interrupt(enum ioex_signal signal) -{ - /* Debounce for 2 msec. */ - hook_call_deferred(&hdmi_hpd_handler_data, (2 * MSEC)); -} - static void board_chipset_resume(void) { /* HDMI retimer power on */ |