diff options
author | Jett Rink <jettrink@chromium.org> | 2019-11-01 16:14:12 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-07 23:54:57 +0000 |
commit | cf54e8664faaed51f4d622f84d6475f90f53e06e (patch) | |
tree | 3e3479ce204bf2147c78c573c596b47d0437c166 /board/host | |
parent | b3cb8a6f818f425bfe11b817d7b873dd36d239a8 (diff) | |
download | chrome-ec-cf54e8664faaed51f4d622f84d6475f90f53e06e.tar.gz |
usbc: fix vbus discharge path for GPIO
Code on Tot assumes that port count was the port to
discharge instead of port parameter
BRANCH=none
BUG=none
TEST=verified with unit test (in this CL)
Change-Id: I17658a0c555f9cea56fa4ec1652e0faf62e3d6cc
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1896125
Diffstat (limited to 'board/host')
-rw-r--r-- | board/host/gpio.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/host/gpio.inc b/board/host/gpio.inc index 324721068b..5a08172a07 100644 --- a/board/host/gpio.inc +++ b/board/host/gpio.inc @@ -29,3 +29,5 @@ GPIO(BASE_CHG_VDD_EN, PIN(0, 12), 0) /* Fingerprint */ GPIO(SPI1_NSS, PIN(0, 13), GPIO_OUT_HIGH) + +GPIO(USB_C0_DISCHARGE, PIN(0, 15), 0) |