diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-07-24 16:52:01 -0700 |
---|---|---|
committer | Alec Berg <alecaberg@chromium.org> | 2015-07-27 19:30:01 -0700 |
commit | 6eecf91b63af56209acf3ae367ab28bcc3fceb1e (patch) | |
tree | 507d91977154032e928388c3bb25b680f3504099 | |
parent | 07951e7f9324bda40edeaefd50c0f341e25a5c64 (diff) | |
download | chrome-ec-6eecf91b63af56209acf3ae367ab28bcc3fceb1e.tar.gz |
pd: enable try.src for necessary boards
Enable Try.Src for Glados, Kunimitsu, Strago, and Oak so that they
default to sourcing power when connecting to other dual-role
devices.
BUG=none
BRANCH=strago
TEST=make -j buildall
Tested on glados by plugging in charger, hoho, and another
dual-role device and making sure we resolve roles appropriately.
Change-Id: I9393e30b35620eeda3ef1ef56366a97e59ba8054
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/288247
Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r-- | board/glados/board.h | 1 | ||||
-rw-r--r-- | board/kunimitsu/board.h | 1 | ||||
-rw-r--r-- | board/oak/board.h | 1 | ||||
-rw-r--r-- | board/strago/board.h | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/board/glados/board.h b/board/glados/board.h index 73d83a4fe4..d75b2a26e0 100644 --- a/board/glados/board.h +++ b/board/glados/board.h @@ -55,6 +55,7 @@ #define CONFIG_USB_PD_DUAL_ROLE #define CONFIG_USB_PD_PORT_COUNT 2 #define CONFIG_USB_PD_TCPM_TCPCI +#define CONFIG_USB_PD_TRY_SRC #define CONFIG_USB_SWITCH_PI3USB9281 #define CONFIG_USB_SWITCH_PI3USB9281_CHIP_COUNT 2 #define CONFIG_USBC_SS_MUX diff --git a/board/kunimitsu/board.h b/board/kunimitsu/board.h index eec775966e..e132357a55 100644 --- a/board/kunimitsu/board.h +++ b/board/kunimitsu/board.h @@ -50,6 +50,7 @@ #define CONFIG_USB_PD_DUAL_ROLE #define CONFIG_USB_PD_PORT_COUNT 2 #define CONFIG_USB_PD_TCPM_TCPCI +#define CONFIG_USB_PD_TRY_SRC #define CONFIG_USB_SWITCH_PI3USB9281 #define CONFIG_USB_SWITCH_PI3USB9281_CHIP_COUNT 2 #define CONFIG_USBC_SS_MUX diff --git a/board/oak/board.h b/board/oak/board.h index df78eb56bd..75aad13569 100644 --- a/board/oak/board.h +++ b/board/oak/board.h @@ -65,6 +65,7 @@ #define CONFIG_USB_PD_DUAL_ROLE #define CONFIG_USB_PD_PORT_COUNT 2 #define CONFIG_USB_PD_TCPM_TCPCI +#define CONFIG_USB_PD_TRY_SRC #define CONFIG_SPI #define CONFIG_STM_HWTIMER32 #define CONFIG_VBOOT_HASH diff --git a/board/strago/board.h b/board/strago/board.h index 2aa2b16ed0..04828dc73f 100644 --- a/board/strago/board.h +++ b/board/strago/board.h @@ -40,6 +40,7 @@ #define CONFIG_USB_PD_DUAL_ROLE #define CONFIG_USB_PD_PORT_COUNT 1 #define CONFIG_USB_PD_TCPM_TCPCI +#define CONFIG_USB_PD_TRY_SRC #define CONFIG_USB_SWITCH_PI3USB9281 #define CONFIG_USB_SWITCH_PI3USB9281_CHIP_COUNT 1 #define CONFIG_USBC_SS_MUX |