diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-02-20 18:04:27 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-02-23 22:39:44 +0000 |
commit | 4f75369e272d4c7081e78106bc4eba12594f31c7 (patch) | |
tree | 1f4411fc8c1f6e52191026beb8f2b6994f4b9ead /board/samus | |
parent | dd88417bc0a1bdbfa3c18e7a036e81485bdd4e13 (diff) | |
download | chrome-ec-4f75369e272d4c7081e78106bc4eba12594f31c7.tar.gz |
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 <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/251834
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
(cherry picked from commit 72c49fc0e73970192fa05ce6597b747b68d4ce64)
Reviewed-on: https://chromium-review.googlesource.com/252341
Diffstat (limited to 'board/samus')
-rw-r--r-- | board/samus/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |