summaryrefslogtreecommitdiff
path: root/driver/tcpm/ps8xxx.h
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2018-04-02 15:08:09 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-04-10 19:12:47 -0700
commitc8814430d65c440950446c573db0932707f02c89 (patch)
treef4c97fef2f67d4db2b0c6aba41306a3cca5278fe /driver/tcpm/ps8xxx.h
parent98c4ef1870216332da90d255f524f087953451a8 (diff)
downloadchrome-ec-c8814430d65c440950446c573db0932707f02c89.tar.gz
yorp: add more USB-C power logic
* TCPC reset * PPC input charging (current/voltage limits) * PPC output charging * VBUS presence detection BRANCH=none BUG=b:74127309,b:77458917,b:77579760 TEST=yorp C1 can negotiate 20V at 3A Change-Id: Ifa84071be1617a060a217d00bc102d836edffe95 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/991081
Diffstat (limited to 'driver/tcpm/ps8xxx.h')
-rw-r--r--driver/tcpm/ps8xxx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/driver/tcpm/ps8xxx.h b/driver/tcpm/ps8xxx.h
index a9660843ee..6c66210982 100644
--- a/driver/tcpm/ps8xxx.h
+++ b/driver/tcpm/ps8xxx.h
@@ -14,6 +14,9 @@
#define PS8751_I2C_ADDR3 0x56
#define PS8751_I2C_ADDR4 0x96
+/* Minimum Delay for reset assertion */
+#define PS8XXX_RESET_DELAY_MS 1
+
#define PS8751_BIST_TIMER_FREQ 15000000
#define PS8751_BIST_DELAY_MS 50