From c8df8cd58bb4d0bdbf3f953e4a4394dec797609f Mon Sep 17 00:00:00 2001 From: Scott Collyer Date: Wed, 1 Aug 2018 16:56:41 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/1159829 Commit-Ready: Scott Collyer Tested-by: Scott Collyer Reviewed-by: Jett Rink --- board/dragonegg/board.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'board/dragonegg/board.h') 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 }; -- cgit v1.2.1