summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-05-27 16:04:52 -0600
committerCommit Bot <commit-bot@chromium.org>2021-06-07 16:08:39 +0000
commitf9376682edf538e3b1120abfdbec5cb3c1ec52d8 (patch)
tree2c30e521c473cb7165daeb85d04301c221cde619
parente966cba34e9ead0f9c64919738992e9b7e1d1076 (diff)
downloadchrome-ec-f9376682edf538e3b1120abfdbec5cb3c1ec52d8.tar.gz
TCPCI: Add OCP module
The TCPCI interface can report OCP conditions, so enable the OCP module automatically for all TCPCI TCPCs. BRANCH=None BUG=b:174334068 TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I5af9c3fb18cecbea33bec65fad26387ea09a2e71 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2923238 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r--include/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index d24483f3c4..2c135ec161 100644
--- a/include/config.h
+++ b/include/config.h
@@ -5665,7 +5665,8 @@
defined(CONFIG_USBC_PPC_NX20P3483) || \
defined(CONFIG_USBC_PPC_SN5S330) || \
defined(CONFIG_USBC_PPC_SYV682X) || \
- defined(CONFIG_CHARGER_SM5803)
+ defined(CONFIG_CHARGER_SM5803) || \
+ defined(CONFIG_USB_PD_TCPM_TCPCI)
#define CONFIG_USBC_OCP
#endif