summaryrefslogtreecommitdiff
path: root/board/voema/board.h
diff options
context:
space:
mode:
authorDavid Huang <david.huang@quanta.corp-partner.google.com>2020-11-20 14:32:12 +0800
committerCommit Bot <commit-bot@chromium.org>2020-11-30 09:51:55 +0000
commit0c2af622c929ace9b0d0814d475007ab60c791eb (patch)
tree840ff0983d732d39e7ea7a877d0c7f2a275403ae /board/voema/board.h
parent73b5043df48f5071131cd0424f9e6d992e89f4f5 (diff)
downloadchrome-ec-0c2af622c929ace9b0d0814d475007ab60c791eb.tar.gz
voema: Typec port remove unused config and reconfig tcpc/ppc config.
Remove unused configuration and gpio pin and reconfig tcpc/ppc config for voema typec port. BUG=b:169356808 BRANCH=master TEST=Check C0/C1 port workable. Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: I0ff2322b1cf19e24f66745c1509b811eeff69161 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2550118 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/voema/board.h')
-rw-r--r--board/voema/board.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/board/voema/board.h b/board/voema/board.h
index a6051d930b..fe8276c3ce 100644
--- a/board/voema/board.h
+++ b/board/voema/board.h
@@ -74,9 +74,6 @@
/* Enabling Thunderbolt-compatible mode */
#define CONFIG_USB_PD_TBT_COMPAT_MODE
-/* Enabling USB4 mode */
-#define CONFIG_USB_PD_USB4
-#define USBC_PORT_C1_BB_RETIMER_I2C_ADDR 0x40
/*
* For USB4, set the total budget for source current to 4.5A so that the first
* connected port is allowed to source 3A while sourcing 1.5A on other type-C
@@ -89,8 +86,10 @@
#define CONFIG_USB_PORT_POWER_DUMB
/* USBC PPC*/
-#define CONFIG_USBC_PPC_SN5S330 /* USBC port C0 */
-#define CONFIG_USBC_PPC_SYV682X /* USBC port C1 */
+#define CONFIG_USBC_PPC_SYV682X /* USBC port C0/C1 */
+#undef CONFIG_USB_PD_TCPC_RUNTIME_CONFIG
+#undef CONFIG_USB_PD_TCPM_TUSB422
+#undef CONFIG_USB_MUX_RUNTIME_CONFIG
/* BC 1.2 */
@@ -103,6 +102,10 @@
#define CONFIG_CHARGER_SENSE_RESISTOR 10
#define CONFIG_CHARGER_SENSE_RESISTOR_AC 10
+/* Retimer */
+#undef CONFIG_USBC_RETIMER_INTEL_BB
+#undef CONFIG_USBC_RETIMER_INTEL_BB_RUNTIME_CONFIG
+
/*
* Macros for GPIO signals used in common code that don't match the
* schematic names. Signal names in gpio.inc match the schematic and are