diff options
author | Aseda Aboagye <aaboagye@google.com> | 2020-05-27 17:07:26 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-29 22:40:36 +0000 |
commit | 36c8abe317e9edff57fc3e7d1db536f18c63f4d3 (patch) | |
tree | cac97d8eaa3051274de9678425f44bbc6aa5a7fc /board | |
parent | a24fabd034ba18e997efa3d854974ba482ba042a (diff) | |
download | chrome-ec-36c8abe317e9edff57fc3e7d1db536f18c63f4d3.tar.gz |
waddledee/waddledoo: Mark BC1.2 as always powered
This commit enables the PI3USB9201_ALWAYS_POWERED flag for the
PI3USB9201 BC1.2 chip. In these designs, these parts are always
powered so there's no need to explicitly enable a 5V rail. This was
causing Type-A ports to turn on whenever a charger was plugged in.
BUG=b:151688130, b:150814620
BRANCH=None
TEST=Build and flash waddledoo, verify that Type-A ports are not
powered when a charger is plugged in in S5/G3.
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: Ic478c59e96854633a34f510e9494b908ab01ed7c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2219271
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Auto-Submit: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/waddledee/board.c | 2 | ||||
-rw-r--r-- | board/waddledoo/board.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/board/waddledee/board.c b/board/waddledee/board.c index 7404a0a272..2108e1eba7 100644 --- a/board/waddledee/board.c +++ b/board/waddledee/board.c @@ -126,10 +126,12 @@ const struct pi3usb9201_config_t pi3usb9201_bc12_chips[] = { { .i2c_port = I2C_PORT_USB_C0, .i2c_addr_flags = PI3USB9201_I2C_ADDR_3_FLAGS, + .flags = PI3USB9201_ALWAYS_POWERED, }, { .i2c_port = I2C_PORT_SUB_USB_C1, .i2c_addr_flags = PI3USB9201_I2C_ADDR_3_FLAGS, + .flags = PI3USB9201_ALWAYS_POWERED, }, }; diff --git a/board/waddledoo/board.c b/board/waddledoo/board.c index cd0a2cfccc..28d54ddc6c 100644 --- a/board/waddledoo/board.c +++ b/board/waddledoo/board.c @@ -376,11 +376,13 @@ const struct pi3usb9201_config_t pi3usb9201_bc12_chips[] = { { .i2c_port = I2C_PORT_USB_C0, .i2c_addr_flags = PI3USB9201_I2C_ADDR_3_FLAGS, + .flags = PI3USB9201_ALWAYS_POWERED, }, { .i2c_port = I2C_PORT_SUB_USB_C1, .i2c_addr_flags = PI3USB9201_I2C_ADDR_3_FLAGS, + .flags = PI3USB9201_ALWAYS_POWERED, }, }; |