diff options
author | Ting Shen <phoenixshen@google.com> | 2021-12-07 16:15:22 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-12-09 07:03:47 +0000 |
commit | e4fba9246db72c4f44f4cf3e7c3a742753bb6e37 (patch) | |
tree | aaf745462bd62025e092243f38f77d9aceb1caab /board/asurada/usbc_config.c | |
parent | 70e0694ffb569b5b5cbc0dd411628125083dc557 (diff) | |
download | chrome-ec-e4fba9246db72c4f44f4cf3e7c3a742753bb6e37.tar.gz |
asurada: disable DCI function on PS8743 to save power
BUG=b:209528621
TEST=manually
BRANCH=asurada
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: Ia85a861f8895d055dea48463cb2bcdd93e8ea569
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3320081
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/asurada/usbc_config.c')
-rw-r--r-- | board/asurada/usbc_config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/asurada/usbc_config.c b/board/asurada/usbc_config.c index 2f35816abb..63552980c3 100644 --- a/board/asurada/usbc_config.c +++ b/board/asurada/usbc_config.c @@ -23,6 +23,10 @@ void board_usb_mux_init(void) ps8743_write(&usb_muxes[1], PS8743_REG_HS_DET_THRESHOLD, PS8743_USB_HS_THRESH_NEG_10); + ps8743_field_update(&usb_muxes[1], + PS8743_REG_DCI_CONFIG_2, + PS8743_AUTO_DCI_MODE_MASK, + PS8743_AUTO_DCI_MODE_FORCE_USB); } } DECLARE_HOOK(HOOK_INIT, board_usb_mux_init, HOOK_PRIO_INIT_I2C + 1); |