diff options
author | Scott Collyer <scollyer@google.com> | 2021-11-17 11:45:39 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-23 22:33:41 +0000 |
commit | 87ccd7e748602057441d244824b686c4ed201a52 (patch) | |
tree | 029df444e7750c374e389ab99c0a3f6ac86d9696 | |
parent | c956e39119aeaea16584c00e95949675fe6620e0 (diff) | |
download | chrome-ec-87ccd7e748602057441d244824b686c4ed201a52.tar.gz |
gingerbread: Set default USB-A 3.1 Gen 2 port current limit to 1.5A
USB3.1 gen2 ports support either 900 or 1500 mA current limits. The
current limt is controlled by 2 GPIO signals. This CL sets the default
values of those GPIO signals to enable the 1500 mA current limit to
avoid cases where the 900mA current limit is getting exceeded.
BUG=b:206059703
BRANCH=quiche
TEST=verify levels with gpioget
1* USB3_P3_CDP_EN
1* USB3_P4_CDP_EN
Signed-off-by: Scott Collyer <scollyer@google.com>
Change-Id: I07d847ea746ce7ad5ceb102f2fddb0e4c3db8434
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3291132
Tested-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Scott Collyer <scollyer@chromium.org>
-rw-r--r-- | board/gingerbread/gpio.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/gingerbread/gpio.inc b/board/gingerbread/gpio.inc index 5b7b3a9619..6226ff747e 100644 --- a/board/gingerbread/gpio.inc +++ b/board/gingerbread/gpio.inc @@ -57,8 +57,8 @@ GPIO(DEBUG_GPIO1, PIN(B, 13), GPIO_OUT_LOW) * USB CDP enables. */ GPIO(USB3_A1_CDP_EN, PIN(E, 7), GPIO_OUT_LOW) GPIO(USB3_A2_CDP_EN, PIN(E, 8), GPIO_OUT_LOW) -GPIO(USB3_P3_CDP_EN, PIN(D, 1), GPIO_OUT_LOW) -GPIO(USB3_P4_CDP_EN, PIN(E, 12), GPIO_OUT_LOW) +GPIO(USB3_P3_CDP_EN, PIN(D, 1), GPIO_OUT_HIGH) +GPIO(USB3_P4_CDP_EN, PIN(E, 12), GPIO_OUT_HIGH) /* Write protect */ GPIO(EC_FLASH_WP_ODL, PIN(A, 3), GPIO_ODR_HIGH) |