summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Yilun Lin <yllin@chromium.org>2020-12-04 15:54:37 +0800
committerCommit Bot <commit-bot@chromium.org>2020-12-04 08:57:36 +0000
commitce184a2ee3cd280cca840929b13af994e478fd61 (patch)
treec8a93c1595fab469e3b7e355e3fe2cd99e8e5736
parent2c3dd5d148ab7ea3b7c6796e2e4c3069b3347043 (diff)
downloadchrome-ec-ce184a2ee3cd280cca840929b13af994e478fd61.tar.gz
syv682x: update OVP warning
The VBAT OVP function is actually protecting the CC lines (if not VCONN SRC), and VBAT (if VCONN SRC). BUG=none TEST=none BRANCH=none Change-Id: I2eda0d2777d7e0facaf7340afe8e500454fc7169 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2573664 Reviewed-by: Ayo Wu <ayowu@google.com> Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org>
-rw-r--r--driver/ppc/syv682x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/ppc/syv682x.c b/driver/ppc/syv682x.c
index bd20ecc1f1..b4c48f1365 100644
--- a/driver/ppc/syv682x.c
+++ b/driver/ppc/syv682x.c
@@ -286,7 +286,7 @@ static void syv682x_handle_control_4_interrupt(int port, int regval)
* for simplicity.
*/
if (regval & SYV682X_CONTROL_4_VBAT_OVP) {
- ppc_prints("VBAT OVP!", port);
+ ppc_prints("VBAT or CC OVP!", port);
syv682x_init(port);
pd_handle_cc_overvoltage(port);
}