diff options
author | Jett Rink <jettrink@chromium.org> | 2018-04-02 15:08:09 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-04-10 19:12:47 -0700 |
commit | c8814430d65c440950446c573db0932707f02c89 (patch) | |
tree | f4c97fef2f67d4db2b0c6aba41306a3cca5278fe /driver/tcpm/ps8xxx.h | |
parent | 98c4ef1870216332da90d255f524f087953451a8 (diff) | |
download | chrome-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.h | 3 |
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 |