summaryrefslogtreecommitdiff
path: root/board/quiche/board.h
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2021-02-16 13:42:35 -0800
committerCommit Bot <commit-bot@chromium.org>2021-03-24 23:33:11 +0000
commitd63ddef4a7c63066704c80f7e98d12911829a3c2 (patch)
tree40780a668242abccaf41fdce08e619b800f58feb /board/quiche/board.h
parent2cee0e2eb293cea2ccc1ae782de85480dc04d808 (diff)
downloadchrome-ec-d63ddef4a7c63066704c80f7e98d12911829a3c2.tar.gz
honeybuns: Add USB-PD for port C1 (user facing ALT-DP)
This CL adds support for honeybuns C1, which is the user facing usbc port that also support ALT-DP mode. This CL adds support for both gingergread and quiche. Note that gingerbread is being checked in with a TODO for specifying the PPC driver for C1. This is necessary to allow gingerbread to still build while the solution for asymmetric port hardware is finalized. BUG=b:183289386 BRANCH=None TEST=Verified port C1 attaches to display adapters, usbpd hubs, and type-c monitors Signed-off-by: Scott Collyer <scollyer@google.com> Change-Id: Iafbd5a38917601fc5055857662dd0e893d503948 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2699456 Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org> Commit-Queue: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'board/quiche/board.h')
-rw-r--r--board/quiche/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/quiche/board.h b/board/quiche/board.h
index 11887abd05..16bd2de2b7 100644
--- a/board/quiche/board.h
+++ b/board/quiche/board.h
@@ -18,6 +18,7 @@
#define USB_PD_PORT_HOST 0
#define USB_PD_PORT_DP 1
+#define CONFIG_USB_PD_PORT_MAX_COUNT 2
#define CONFIG_USB_MUX_PS8822
#define CONFIG_USB_PID 0x5048