diff options
author | Devin Lu <Devin.Lu@quantatw.com> | 2021-10-19 18:33:26 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-12-24 02:39:17 +0000 |
commit | 25fc7677d40d9c789dc0cd2abd3434c9979b5a53 (patch) | |
tree | 59129d6c8309e79706f8b818180f0ceafca7409f /board/vell/usbc_config.h | |
parent | 2d3247f2407aa5db8c7f6c2b06b52139a102fad5 (diff) | |
download | chrome-ec-25fc7677d40d9c789dc0cd2abd3434c9979b5a53.tar.gz |
vell: Configure USBC ports
Vell has 4 USBC ports:
C0: TCPC NCT3808 port 1 + SYV682B + BBR + BC1.2
C1: TCPC NCT3808 port 2 + SYV682B + BBR + BC1.2
C2: TCPC NCT3808 port 1 + SYV682B + BBR + BC1.2
C3: TCPC NCT3808 port 2 + SYV682B + BBR + BC1.2
BUG=b:186907625, b:208583786
BRANCH=none
TEST=1. Make sure all USBC ports is able to charge.
2. Make sure all USBC ports is able to provide source to USB device.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Ideb5fcb438d6d68d568ae6776c3fdab0c16f2103
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3276019
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
Diffstat (limited to 'board/vell/usbc_config.h')
-rw-r--r-- | board/vell/usbc_config.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/vell/usbc_config.h b/board/vell/usbc_config.h index f21e2c17dc..447c03efb3 100644 --- a/board/vell/usbc_config.h +++ b/board/vell/usbc_config.h @@ -8,12 +8,13 @@ #ifndef __CROS_EC_USBC_CONFIG_H #define __CROS_EC_USBC_CONFIG_H -#define CONFIG_USB_PD_PORT_MAX_COUNT 3 +#define CONFIG_USB_PD_PORT_MAX_COUNT 4 enum usbc_port { USBC_PORT_C0 = 0, USBC_PORT_C1, USBC_PORT_C2, + USBC_PORT_C3, USBC_PORT_COUNT }; |