summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorEric Herrmann <eherrmann@chromium.org>2021-02-25 20:44:57 -0800
committerCommit Bot <commit-bot@chromium.org>2021-03-03 19:29:53 +0000
commit801ac5a0df178a58d20d78cddb69042b7feae016 (patch)
treef3bb7089811e5d13ec44a04656784b017eb6dc9b /include/config.h
parent698193fa224863758f2fa74828b10773b295b38c (diff)
downloadchrome-ec-801ac5a0df178a58d20d78cddb69042b7feae016.tar.gz
Octopus: Re-enable VCONN sourcing from TCPC
The SYV682 shouldn't have VCONN supplied to its host side CC pins, but on Octopus these pins aren't used and the TCPC must provide VCONN. Since this is a non-standard configuration, make an exception for these Octopus boards by defining a new SYV682 flag to indicate that it does not pass through CC. BUG=b:180973460 TEST=make buildall BRANCH=None Signed-off-by: Eric Herrmann <eherrmann@chromium.org> Change-Id: I043b6025abbeeaaf9e261d2721da3aed5483e177 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2721234 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Marco Chen <marcochen@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index a1775b0ded..c79865e1f5 100644
--- a/include/config.h
+++ b/include/config.h
@@ -4516,6 +4516,9 @@
*/
#define CONFIG_SYV682X_HV_ILIM SYV682X_HV_ILIM_3_30
+/* SYV682 does not pass through CC, instead it bypasses to the TCPC */
+#undef CONFIG_SYV682X_NO_CC
+
/* PPC is capable of gating the SBU lines. */
#undef CONFIG_USBC_PPC_SBU
@@ -5432,7 +5435,8 @@
#define CONFIG_USBC_PPC_POLARITY
#define CONFIG_USBC_PPC_VCONN
#if !defined(CONFIG_USB_PD_TCPM_DRIVER_IT83XX) && \
- !defined(CONFIG_USB_PD_TCPM_DRIVER_IT8XXX2)
+ !defined(CONFIG_USB_PD_TCPM_DRIVER_IT8XXX2) && \
+ !defined(CONFIG_SYV682X_NO_CC)
#undef CONFIG_USB_PD_TCPC_VCONN
#endif
#endif