summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2015-05-15 14:02:35 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-05-16 01:42:13 +0000
commitb95215b608b7598b4b44546917b3d75a03a0e432 (patch)
treeeda4f752bc50d34b496e61447dd00003488e2b78
parenta6d1e65cdf1d820bdcacf8b08defa5c12c2054cf (diff)
downloadchrome-ec-b95215b608b7598b4b44546917b3d75a03a0e432.tar.gz
ryu: set HPD as open-drain
The HotPlug Detect signal generated by the PD stack in DisplayPort alternate mode is connected to a 1.8V GPIO on the T210 AP, we need to set the GPIO output as open-drain. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=none TEST=manual, probe the level with a voltmeter and see 1.8V. Change-Id: I627befc61ed06c75dd7e32a8541bd6d8f8e95642 Reviewed-on: https://chromium-review.googlesource.com/271553 Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--board/ryu/gpio.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ryu/gpio.inc b/board/ryu/gpio.inc
index 0cbf0b55a8..d7063ed653 100644
--- a/board/ryu/gpio.inc
+++ b/board/ryu/gpio.inc
@@ -76,7 +76,7 @@ GPIO(USBC_MUX_CONF0, D, 3, GPIO_OUT_LOW)
GPIO(USBC_MUX_CONF1, D, 9, GPIO_OUT_LOW)
GPIO(USBC_MUX_CONF2, E, 0, GPIO_OUT_LOW)
-GPIO(USBC_DP_HPD, C, 1, GPIO_OUT_LOW)
+GPIO(USBC_DP_HPD, C, 1, GPIO_ODR_LOW)
/* Inputs */
GPIO(BOARD_ID0, E, 11, GPIO_INPUT)