summaryrefslogtreecommitdiff
path: root/chip/it83xx/config_chip_it8xxx2.h
diff options
context:
space:
mode:
authorRuibin Chang <ruibin.chang@ite.com.tw>2020-01-20 17:59:40 +0800
committerCommit Bot <commit-bot@chromium.org>2020-01-22 07:34:51 +0000
commitadf6054e8eef567a6beb1d6894133446966c9e0a (patch)
treef56dcd3ef08dc2250f3d54c21b43370f6ddcb779 /chip/it83xx/config_chip_it8xxx2.h
parent29e08659341945d5bda1ea323f64fab89d59197a (diff)
downloadchrome-ec-adf6054e8eef567a6beb1d6894133446966c9e0a.tar.gz
Cleanup: Add chip support pd physical port count configuration
Add chip support pd physical port count configuration. BUG=none BRANCH=none TEST=build all -j Change-Id: Ic473e53af44b5360aad6d2db74cf09ce5a3fa3e8 Signed-off-by: Ruibin Chang <ruibin.chang@ite.com.tw> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2009537 Tested-by: Ruibin Chang <Ruibin.Chang@ite.com.tw> Reviewed-by: Jett Rink <jettrink@chromium.org> Commit-Queue: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Diffstat (limited to 'chip/it83xx/config_chip_it8xxx2.h')
-rw-r--r--chip/it83xx/config_chip_it8xxx2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chip/it83xx/config_chip_it8xxx2.h b/chip/it83xx/config_chip_it8xxx2.h
index b760adbc6b..22c62f4c01 100644
--- a/chip/it83xx/config_chip_it8xxx2.h
+++ b/chip/it83xx/config_chip_it8xxx2.h
@@ -57,6 +57,8 @@
#define IT83XX_GPIO_INT_FLEXIBLE
/* Enable detect type-c plug in interrupt. */
#define IT83XX_INTC_PLUG_IN_SUPPORT
+/* Chip IT83202BX actually has TCPC physical port count. */
+#define IT83XX_USBPD_PHY_PORT_COUNT 3
#else
#error "Unsupported chip variant!"
#endif