summaryrefslogtreecommitdiff
path: root/baseboard/volteer/baseboard.h
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2020-01-13 20:10:35 -0800
committerCommit Bot <commit-bot@chromium.org>2020-02-04 17:54:57 +0000
commitb149d72f08edb528914d17d36435500cf497e792 (patch)
tree4fc8474cc51182c983d19b7ee250b0ac2c8e05f2 /baseboard/volteer/baseboard.h
parent514f527666d43fd76460f66bfce1b332763850b2 (diff)
downloadchrome-ec-stabilize-12881.B-master.tar.gz
volteer: add USB3 daughterboard supportstabilize-12881.B-master
The USB3 daughterboard uses a ps8815 TCPC. If the CBI FW_CONFIG tag indicates that such a daughterboard is present, set up the ps8815 as the 2nd TCPC in the system. BRANCH=none BUG=b:144397088 TEST=in combination with additional patches, was able to update TCPC firmware Change-Id: I50ee57f5aa2efa0b6dbc562f968587f4fe03236c Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2013656 Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'baseboard/volteer/baseboard.h')
-rw-r--r--baseboard/volteer/baseboard.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/baseboard/volteer/baseboard.h b/baseboard/volteer/baseboard.h
index 5e30e60e86..6930edeca5 100644
--- a/baseboard/volteer/baseboard.h
+++ b/baseboard/volteer/baseboard.h
@@ -159,10 +159,13 @@
#define CONFIG_USB_PD_DUAL_ROLE
#define CONFIG_USB_PD_MAX_SINGLE_SOURCE_CURRENT TYPEC_RP_3A0
#define CONFIG_USB_PD_PORT_MAX_COUNT 2
+#define CONFIG_USB_PD_TCPC_RUNTIME_CONFIG
/* TODO: b/145250123: Enabling low-power mode breaks USB SNK detection */
#undef CONFIG_USB_PD_TCPC_LOW_POWER
#define CONFIG_USB_PD_TCPM_TCPCI
#define CONFIG_USB_PD_TCPM_TUSB422 /* USBC port C0 */
+#define CONFIG_USB_PD_TCPM_PS8815 /* USBC port USB3 DB */
+#define CONFIG_USB_PD_TCPM_MUX
#define CONFIG_CMD_PD_CONTROL /* Needed for TCPC FW update */
#define CONFIG_USB_PD_TRY_SRC