summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Mittelberg <bmbm@google.com>2021-07-09 15:56:38 -0700
committerCommit Bot <commit-bot@chromium.org>2021-07-14 00:35:15 +0000
commite9d2fb3cedb0408dbcc1cc5e4ade97b11c576fc8 (patch)
tree4a26bea0ca999dcc4e5c3936940c0174bef2c535
parentae59427b8f3596c41bd23fd5f16303ec7e71bfcc (diff)
downloadchrome-ec-e9d2fb3cedb0408dbcc1cc5e4ade97b11c576fc8.tar.gz
brya: disable debug accessory control on port C0
This will release Burnside Bridge from reset and fix the issue when Servo's USB hub disappears after Servo was reset. BRANCH=none BUG=b:191516281 TEST=running deployment in the lab Signed-off-by: Boris Mittelberg <bmbm@google.com> Change-Id: I6a65ffa13903adf96686681d961818ffe0e68fb1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3018683 Reviewed-by: caveh jalali <caveh@chromium.org>
-rw-r--r--board/brya/usbc_config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/brya/usbc_config.c b/board/brya/usbc_config.c
index 802296a66c..6354e7a481 100644
--- a/board/brya/usbc_config.c
+++ b/board/brya/usbc_config.c
@@ -45,7 +45,8 @@ const struct tcpc_config_t tcpc_config[] = {
.addr_flags = NCT38XX_I2C_ADDR1_1_FLAGS,
},
.drv = &nct38xx_tcpm_drv,
- .flags = TCPC_FLAGS_TCPCI_REV2_0,
+ .flags = TCPC_FLAGS_TCPCI_REV2_0 |
+ TCPC_FLAGS_NO_DEBUG_ACC_CONTROL,
},
[USBC_PORT_C1] = {
.bus_type = EC_BUS_TYPE_I2C,