From d1bb1da8e79895197f77e86cd907d9d4dbd5d0f0 Mon Sep 17 00:00:00 2001 From: Scott Collyer Date: Thu, 22 Mar 2018 18:42:04 -0700 Subject: [PATCH] yorp: Add config option for VBUS detection For your VBUS detection will rely on TCPCs since neither the intersil charger nor the NX20P PPC do VBUS detection. BUG=b:75975215 BRANCH=none TEST=make -j BOARD=yorp and verify there are no errors. Change-Id: I205e4e986e4d01c1098ab62cbccf2ab940f58eed Signed-off-by: Scott Collyer Reviewed-on: https://chromium-review.googlesource.com/977325 Commit-Ready: Scott Collyer Tested-by: Scott Collyer Reviewed-by: Furquan Shaikh Reviewed-by: Jett Rink --- board/yorp/board.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/yorp/board.h b/board/yorp/board.h index 223ff33fe7..9d35e79e6c 100644 --- a/board/yorp/board.h +++ b/board/yorp/board.h @@ -69,10 +69,10 @@ #define CONFIG_USB_PD_TCPM_MUX #define CONFIG_USB_PD_TCPM_TCPCI #define CONFIG_USB_PD_TRY_SRC +#define CONFIG_USB_PD_VBUS_DETECT_TCPC #define CONFIG_USBC_SS_MUX #define CONFIG_USBC_SS_MUX_DFP_ONLY #define CONFIG_USBC_PPC_NX20P3483 -/* TODO (b/75975215): Add correct VBUS_DETECT config option here */ #define CONFIG_USBC_VCONN #define CONFIG_USBC_VCONN_SWAP #define CONFIG_CMD_PD_CONTROL