From 847eb1ec44aa43c761799b522b0449bdfc31269a Mon Sep 17 00:00:00 2001 From: Todd Broch Date: Wed, 15 Oct 2014 10:07:22 -0700 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/223462 Reviewed-by: Alec Berg Reviewed-by: Vincent Palatin --- board/samus_pd/gpio.inc | 2 ++ 1 file changed, 2 insertions(+) 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 */