diff options
author | Denis Brockus <dbrockus@chromium.org> | 2019-10-02 09:43:25 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-10-09 18:53:24 +0000 |
commit | 47da5b783fae3f8720974199d0c4f920023ebe59 (patch) | |
tree | 0111952e4a3fd9568112a9cd19c563f79489ed55 /driver/tcpm/tcpci.c | |
parent | d5787acbc5069839a226cb5b6d5c3f2ab95c7a3a (diff) | |
download | chrome-ec-47da5b783fae3f8720974199d0c4f920023ebe59.tar.gz |
trembyle: board specific fast switch enable/disable
Added board specific tcpc FRS enable/disable to work around
timing issues that we found with trembyle.
Also added some of the bringup debug settings
BUG=b:138599218
BRANCH=none
TEST=make buildall -j
Change-Id: Ia16db22a9c2b3a47a4273ea1350a5ea58b78f5aa
Signed-off-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1847174
Commit-Queue: Edward Hill <ecgh@chromium.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'driver/tcpm/tcpci.c')
-rw-r--r-- | driver/tcpm/tcpci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/tcpm/tcpci.c b/driver/tcpm/tcpci.c index 257649fc66..9ceb4613e2 100644 --- a/driver/tcpm/tcpci.c +++ b/driver/tcpm/tcpci.c @@ -402,6 +402,8 @@ void tcpci_tcpc_fast_role_swap_enable(int port, int enable) reg &= ~TCPC_REG_POWER_CTRL_FRS_ENABLE; tcpc_write(port, TCPC_REG_POWER_CTRL, reg); + + board_tcpc_fast_role_swap_enable(port, enable); } #endif |