From e8720732b5caea3428bf255a9f96b7b166c7ac84 Mon Sep 17 00:00:00 2001 From: Alec Berg Date: Mon, 3 Aug 2015 14:00:27 -0700 Subject: usb_charger: configure boards to disconnect USB when UFP. Configure boards whose chipset cannot be a USB UFP to disconnect USB lanes when the data role is UFP. BUG=none BRANCH=strago TEST=make -j buildall. tested on glados by adding ccprintf to usb_charger_set_switches(). verified when we are DFP, USB 2 switches are connected and when we are UFP, they are disconnected. Change-Id: Ic8c817a0cc21b56ee67239e8cc81d5cbbda8d4de Signed-off-by: Alec Berg Reviewed-on: https://chromium-review.googlesource.com/290422 Reviewed-by: Shawn N --- board/oak/board.h | 1 + 1 file changed, 1 insertion(+) (limited to 'board/oak/board.h') diff --git a/board/oak/board.h b/board/oak/board.h index 02fad441a1..a8f26a5f7b 100644 --- a/board/oak/board.h +++ b/board/oak/board.h @@ -58,6 +58,7 @@ #define CONFIG_POWER_BUTTON #define CONFIG_POWER_COMMON #define CONFIG_USBC_SS_MUX +#define CONFIG_USBC_SS_MUX_DFP_ONLY #define CONFIG_USBC_VCONN #define CONFIG_USB_POWER_DELIVERY #define CONFIG_USB_PD_ALT_MODE -- cgit v1.2.1