diff options
author | Scott Collyer <scollyer@google.com> | 2018-08-01 16:56:41 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-09-04 21:03:59 -0700 |
commit | c8df8cd58bb4d0bdbf3f953e4a4394dec797609f (patch) | |
tree | 5de74f2c6183defc5db5595add9065afce8223c6 /board/dragonegg/board.h | |
parent | 50c762e0425570fab9b5a4eef13c3c76131bb1ff (diff) | |
download | chrome-ec-c8df8cd58bb4d0bdbf3f953e4a4394dec797609f.tar.gz |
DragonEgg: Add support to Type C port 1
Port 1 uses the ITE builtin TCPC, Silergy SYV682A PPC, and the parade
PS8818 redriver.
Port 1 is intended to use the EC ADC to detect VBUS, but port 0 and 2
require different methods. The Silergy can detect VBUS (not safe0V or
safe5v), so currently the PPC is being used to detect VBUS.
BUG=b:111281797
BRANCH=none
TEST=Verified that port 1 can attach as both a sink or source.
Change-Id: Iad0c3d509961c836cd55f77cd5f276c1a3e5aacf
Signed-off-by: Scott Collyer <scollyer@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1159829
Commit-Ready: Scott Collyer <scollyer@chromium.org>
Tested-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/dragonegg/board.h')
-rw-r--r-- | board/dragonegg/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/dragonegg/board.h b/board/dragonegg/board.h index 0f6c83a3ee..6f0baf50a3 100644 --- a/board/dragonegg/board.h +++ b/board/dragonegg/board.h @@ -48,6 +48,8 @@ #include "registers.h" enum adc_channel { + ADC_VBUS_C0, + ADC_VBUS_C1, ADC_CH_COUNT }; |