summaryrefslogtreecommitdiff
path: root/board/genesis
diff options
context:
space:
mode:
authorNeill Corlett <corlett@google.com>2021-01-20 13:32:34 -0500
committerCommit Bot <commit-bot@chromium.org>2021-01-20 20:39:28 +0000
commit1c0e83be5ef0f03caba062d6045b5ec041a4a78f (patch)
tree4d45f1afbc73a01cbf0ee6f15f035f2399407c61 /board/genesis
parent45f3f87ec39e4fb2628008d3fb607d8f5e808291 (diff)
downloadchrome-ec-1c0e83be5ef0f03caba062d6045b5ec041a4a78f.tar.gz
genesis: Define GPIO line for USB C port polarity.
BUG=b:173566595 TEST='gpioget USB_C0_POL_L' from the EC console while flipping a USB C cable in the port. Change-Id: I39cee983428db270ccc4f50d362f013e2355ef77 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2639409 Reviewed-by: Joe Tessler <jrt@chromium.org> Reviewed-by: Neill Corlett <corlett@google.com> Commit-Queue: Neill Corlett <corlett@google.com> Tested-by: Neill Corlett <corlett@google.com> Auto-Submit: Neill Corlett <corlett@google.com>
Diffstat (limited to 'board/genesis')
-rw-r--r--board/genesis/gpio.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/genesis/gpio.inc b/board/genesis/gpio.inc
index 287bece1d2..89cefd3c7a 100644
--- a/board/genesis/gpio.inc
+++ b/board/genesis/gpio.inc
@@ -88,6 +88,7 @@ GPIO(USB_A3_STATUS_L, PIN(C, 7), GPIO_INPUT)
/* USB type C */
GPIO(USB_C0_TCPC_RST, PIN(9, 7), GPIO_OUT_LOW)
+GPIO(USB_C0_POL_L, PIN(0, 0), GPIO_INPUT | GPIO_SEL_1P8V) /* USB-C Polarity */
/* Misc. */
GPIO(M2_SSD_PLN, PIN(A, 0), GPIO_INPUT)
@@ -155,7 +156,6 @@ UNUSED(PIN(8, 1)) /* L6 NC */
UNUSED(PIN(C, 6)) /* B11 NC */
UNUSED(PIN(E, 2)) /* B8 NC */
UNUSED(PIN(8, 5)) /* L7 NC */
-UNUSED(PIN(0, 0)) /* D11 NC */
UNUSED(PIN(3, 2)) /* E5 NC */
UNUSED(PIN(D, 6)) /* F6 NC */
UNUSED(PIN(3, 5)) /* F5 NC */