summaryrefslogtreecommitdiff
path: root/board/volteer/board.h
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2019-11-15 12:38:54 -0800
committerKeith Short <keithshort@chromium.org>2019-11-21 16:13:02 +0000
commit698cf4fb48979e47d522827fcdfcf5d2f117ddce (patch)
tree39a32ace7def33745186445954c6fbb987cbf52f /board/volteer/board.h
parentb240a1bacaeef1f1dfe03c5646de7aad4c21b8a7 (diff)
downloadchrome-ec-698cf4fb48979e47d522827fcdfcf5d2f117ddce.tar.gz
volteer: Add USB-C policy
BUG=b:140578872 BRANCH=none TEST=USB2.0 & USB3.0 device detected over Type-C port 0 Change-Id: I44790aac3543589c32dcd60f84e4e67d5d76cdab Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1922752 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/volteer/board.h')
-rw-r--r--board/volteer/board.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/volteer/board.h b/board/volteer/board.h
index 06d13e1526..737b0b62ff 100644
--- a/board/volteer/board.h
+++ b/board/volteer/board.h
@@ -38,6 +38,14 @@
/* Sensors */
/* USB Type C and USB PD defines */
+/*
+ * USB-C port's USB2 & USB3 mapping from schematics
+ * USB2 numbering on PCH - 1 to n
+ * USB3 numbering on AP - 0 to n (PMC's USB3 numbering for MUX
+ * configuration is - 1 to n hence add +1)
+ */
+#define USBC_PORT_0_USB2_NUM 9
+#define USBC_PORT_0_USB3_NUM 1
/* USB Type A Features */