diff options
author | Todd Broch <tbroch@chromium.org> | 2014-10-15 10:07:22 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-10-15 23:56:01 +0000 |
commit | 847eb1ec44aa43c761799b522b0449bdfc31269a (patch) | |
tree | 0ab6d380b9a907aa6ef535f47b88d146bcc8a562 | |
parent | 82915c25029c0bc2c018cfc080d913255ed82aac (diff) | |
download | chrome-ec-847eb1ec44aa43c761799b522b0449bdfc31269a.tar.gz |
samus_pd: Initial DFP_D HPD GPIOs.
USB PD spec now calls for HPD signal to be managed across the USB PD
protocal. In preparation this CL makes the HPD GPIOs outputs and
initially low.
This should NOT effect older revs of the design as GPIOs were unused
(had unstuffed option for external XTAL).
BRANCH=samus
BUG=chrome-os-partner:30645
TEST=compiles & runs. With reworked board can manually trigger HPD.
Change-Id: I0a64c1daf8d8c866f5de237c3daf4be028eecd63
Signed-off-by: Todd Broch <tbroch@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/223462
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | board/samus_pd/gpio.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/samus_pd/gpio.inc b/board/samus_pd/gpio.inc index 293e50f5f4..9d38f94e68 100644 --- a/board/samus_pd/gpio.inc +++ b/board/samus_pd/gpio.inc @@ -72,6 +72,8 @@ GPIO(USB_C0_DP_MODE_L, E, 8, GPIO_OUT_HIGH, NULL) GPIO(USB_C1_DP_MODE_L, F, 6, GPIO_OUT_HIGH, NULL) GPIO(USB_C0_DP_POLARITY, E, 7, GPIO_OUT_HIGH, NULL) GPIO(USB_C1_DP_POLARITY, F, 3, GPIO_OUT_HIGH, NULL) +GPIO(USB_C0_DP_HPD, F, 0, GPIO_OUT_LOW, NULL) +GPIO(USB_C1_DP_HPD, F, 1, GPIO_OUT_LOW, NULL) #if 0 /* Alternate functions */ |