summaryrefslogtreecommitdiff
path: root/board/trogdor/board.h
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2019-12-07 14:32:18 +0800
committerCommit Bot <commit-bot@chromium.org>2019-12-10 22:21:35 +0000
commitae270f04de3f975dc013904930b60ffb2a3e7862 (patch)
treeeb006cc7c187c7324186798be62441c8c6932384 /board/trogdor/board.h
parentb7d028f7da714bf98a2634922f86ec2952c66fb7 (diff)
downloadchrome-ec-ae270f04de3f975dc013904930b60ffb2a3e7862.tar.gz
Trogdor: Disable TCPC auto-toggle and low power mode
The TCPC PS8805 firmware seems to old that: * can't do DRP auto-toggle; * can't be waked up from the low power mode. It blocks delivering 5V to the USB device. Before we enable the PD software sync to update the firmware, tempoary disable these features so people can use the Type-C ports. BRANCH=None BUG=b:145723652 TEST=Plugged an unpowered USB sink to port 0 and 1. The USB sink was powered. Change-Id: Ia83f30a4e4658a893b3b7e878a2b229556f3b981 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1955109 Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Diffstat (limited to 'board/trogdor/board.h')
-rw-r--r--board/trogdor/board.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/board/trogdor/board.h b/board/trogdor/board.h
index e9bcda4f79..5052da4b1f 100644
--- a/board/trogdor/board.h
+++ b/board/trogdor/board.h
@@ -99,11 +99,16 @@
#define CONFIG_USB_PD_ALT_MODE_DFP
#define CONFIG_USB_PD_DISCHARGE_PPC
#define CONFIG_USB_PD_DUAL_ROLE
-#define CONFIG_USB_PD_DUAL_ROLE_AUTO_TOGGLE
+/*
+ * TODO(b/145723652): Add back the following CONFIG's after we enable
+ * the PD software sync to update the PS8805 firmware.
+ *
+ * #define CONFIG_USB_PD_DUAL_ROLE_AUTO_TOGGLE
+ * #define CONFIG_USB_PD_TCPC_LOW_POWER
+ */
#define CONFIG_USB_PD_LOGGING
#define CONFIG_USB_PD_MAX_SINGLE_SOURCE_CURRENT TYPEC_RP_3A0
#define CONFIG_USB_PD_PORT_MAX_COUNT 2
-#define CONFIG_USB_PD_TCPC_LOW_POWER
#define CONFIG_USB_PD_TCPM_PS8805
#define CONFIG_USB_PD_TCPM_MUX
#define CONFIG_USB_PD_TCPM_TCPCI