summaryrefslogtreecommitdiff
path: root/board/scarlet
diff options
context:
space:
mode:
authorPhilip Chen <philipchen@google.com>2017-10-17 20:15:42 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-10-18 23:14:18 -0700
commitb10fa27b6b8314d6580148298e5f67b2766a7b0a (patch)
treeab1c1119ad04f8e85b45a0e8f68de08d84033963 /board/scarlet
parent5bd5f1b1fa005dbe1cc3c763919270e01a38b8d2 (diff)
downloadchrome-ec-b10fa27b6b8314d6580148298e5f67b2766a7b0a.tar.gz
scarlet: Use TCPC to detect VBUS
On Scarlet rev2, we see rt9467 has trouble detecting VBUS level reliably. Let's use TCPC to detect VBUS instead as we once considered in b:65698085. BUG=b:65698085, b:67917615 BRANCH=none TEST=verify usb mouse and charging works through usb-c hub Change-Id: I439cd3267bb26d5cdcbfd4a3c48179cf7942b870 Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/725000 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/scarlet')
-rw-r--r--board/scarlet/board.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/scarlet/board.h b/board/scarlet/board.h
index 6ea473139e..da979cd92a 100644
--- a/board/scarlet/board.h
+++ b/board/scarlet/board.h
@@ -107,7 +107,8 @@
#define CONFIG_USB_PD_PORT_COUNT 1
#define CONFIG_USB_PD_TCPM_FUSB302
#define CONFIG_USB_PD_MAX_SINGLE_SOURCE_CURRENT TYPEC_RP_3A0
-#define CONFIG_USB_PD_VBUS_DETECT_CHARGER
+#define CONFIG_USB_PD_VBUS_DETECT_TCPC
+#define ADC_VBUS -1
#define CONFIG_USBC_SS_MUX
#define CONFIG_USBC_VCONN
#define CONFIG_USBC_VCONN_SWAP