mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-07 16:11:43 +00:00
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>
This commit is contained in:
committed by
chrome-internal-fetch
parent
82915c2502
commit
847eb1ec44
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user