From 72c49fc0e73970192fa05ce6597b747b68d4ce64 Mon Sep 17 00:00:00 2001 From: Alec Berg Date: Fri, 20 Feb 2015 18:04:27 -0800 Subject: [PATCH] samus: change USB type-A ports to default to CDP Change USB type-A ports to default to CDP. The port will automatically revert back to SDP if it needs to. BUG=chrome-os-partner:36876 BRANCH=samus TEST=load on samus, make sure ports advertise as CDP by connecting A to C port to charge itself (note this causes other problems, but good enough to make sure we detect CDP). Change-Id: Ic09b31788557d2c6ff4292c62a2ac0168b136c64 Signed-off-by: Alec Berg Reviewed-on: https://chromium-review.googlesource.com/251834 Reviewed-by: Duncan Laurie --- board/samus/board.h | 1 + 1 file changed, 1 insertion(+) diff --git a/board/samus/board.h b/board/samus/board.h index dc70ca9b34..59a59841be 100644 --- a/board/samus/board.h +++ b/board/samus/board.h @@ -69,6 +69,7 @@ #define CONFIG_TEMP_SENSOR_POWER_GPIO GPIO_PP3300_DSW_GATED_EN #define CONFIG_UART_HOST 2 #define CONFIG_USB_PORT_POWER_SMART +#define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP #define CONFIG_USB_PORT_POWER_SMART_INVERTED #define CONFIG_VBOOT_HASH #define CONFIG_WIRELESS