diff options
author | Todd Broch <tbroch@chromium.org> | 2015-04-30 15:40:17 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-05-01 02:35:15 +0000 |
commit | bec640fad5741f5194a1920486a0f92aaf60b184 (patch) | |
tree | 7a2c2b2f2ca2af9194b4a498495087ccb739d6ba | |
parent | 54cbe6ec829ebda964fde3c345ebfbc9a4a446e3 (diff) | |
download | chrome-ec-bec640fad5741f5194a1920486a0f92aaf60b184.tar.gz |
samus_pd: Increase HPD IRQ pulse to 2msec.
Intel DP sees HPD pulse as 2msec < x < 100msec. While DP spec
mentions pulse widths >250usec as acceptable they aren't recognized by
i915 driver.
CL increases the HPD_IRQ pulse width to 2msec minimum.
BRANCH=samus
BUG=chrome-os-partner:39717
TEST=manual samus + apple hdmi multiport dongle drivers external
screen.
Change-Id: I32c33f938ba1aa7a3927a0f75a1269b1278e82de
Signed-off-by: Todd Broch <tbroch@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/268653
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
-rw-r--r-- | board/samus_pd/usb_pd_policy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/samus_pd/usb_pd_policy.c b/board/samus_pd/usb_pd_policy.c index a8b1f1a4b5..3db584fbe5 100644 --- a/board/samus_pd/usb_pd_policy.c +++ b/board/samus_pd/usb_pd_policy.c @@ -362,8 +362,8 @@ static int svdm_dp_attention(int port, uint32_t *payload) if (irq & cur_lvl) { gpio_set_level(hpd, 0); - /* 250 usecs is minimum, 2msec is max */ - hook_call_deferred(PORT_TO_HPD_IRQ_DEFERRED(port), 300); + hook_call_deferred(PORT_TO_HPD_IRQ_DEFERRED(port), + HPD_DEBOUNCE_IRQ); } else if (irq & !cur_lvl) { CPRINTF("ERR:HPD:IRQ&LOW\n"); return 0; /* nak */ |