summaryrefslogtreecommitdiff
path: root/driver/ppc/sn5s330.h
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2018-05-23 16:17:17 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-05-24 19:30:22 -0700
commitae82b79667d227d58675cbf73fa032d6bead098f (patch)
treed39466baa1d4c3e60f62e42e5cb0783ba20cec84 /driver/ppc/sn5s330.h
parent15bddb51eb5b61cd2b5aaeffecf64d4851a4fb9f (diff)
downloadchrome-ec-ae82b79667d227d58675cbf73fa032d6bead098f.tar.gz
sn5s330: disable under voltage protection
We need to disable under voltage protection because it prevents us from enabling the sink path when there is not Vbus on the connector side. We need to enable the sink path before we hibernate otherwise there is no power power to get to the charger which will then assert ACOK. Without this we won't wake up with the ACOK wake when USB power is inserted. BRANCH=none BUG=b:79948623 TEST=bip wakes with USB power insertion Change-Id: Idf16a92dacde63cf943ef68b0258b320d11de44c Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1070867 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'driver/ppc/sn5s330.h')
-rw-r--r--driver/ppc/sn5s330.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/ppc/sn5s330.h b/driver/ppc/sn5s330.h
index 2e4b36cbca..7d3ba6103e 100644
--- a/driver/ppc/sn5s330.h
+++ b/driver/ppc/sn5s330.h
@@ -103,6 +103,7 @@ enum sn5s330_pp_idx {
/* FUNC_SET_9 */
#define SN5S330_PP2_CONFIG (1 << 2)
#define SN5S330_OVP_EN_CC (1 << 4)
+#define SN5S330_CONFIG_UVP (1 << 5)
/* INT_STATUS_REG3 */
#define SN5S330_VBUS_GOOD (1 << 0)