diff options
author | Ting Shen <phoenixshen@google.com> | 2021-04-23 18:22:20 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-03 08:47:37 +0000 |
commit | 7f714b91bb02ecc9afeff4c0a4da65ea8294af31 (patch) | |
tree | d881a332f90cb7c7830a9486580ce4f11ad9e753 /include/driver | |
parent | b690911962e0c0b73243f388209fa1c2d22e7d9d (diff) | |
download | chrome-ec-7f714b91bb02ecc9afeff4c0a4da65ea8294af31.tar.gz |
tcpm/rt1718s: implement software workaround
Implement the software workarounds suggested by Richtek.
See issue link for details.
BUG=b:194982205
TEST=On Cherry & Tomato, manually verify PD works
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I7d9c6c5fd3c9266f27e52c1756a7ecedc75f1846
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2848280
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 'include/driver')
-rw-r--r-- | include/driver/tcpm/tcpci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/driver/tcpm/tcpci.h b/include/driver/tcpm/tcpci.h index cfe7513c31..669236bcb0 100644 --- a/include/driver/tcpm/tcpci.h +++ b/include/driver/tcpm/tcpci.h @@ -92,6 +92,7 @@ #define TCPC_REG_FAULT_CTRL 0x1b #define TCPC_REG_FAULT_CTRL_VBUS_OVP_FAULT_DIS BIT(1) +#define TCPC_REG_FAULT_CTRL_VBUS_OCP_FAULT_DIS BIT(0) #define TCPC_REG_POWER_CTRL 0x1c #define TCPC_REG_POWER_CTRL_FRS_ENABLE BIT(7) |