diff options
-rw-r--r-- | common/usb_pd_protocol.c | 2 | ||||
-rw-r--r-- | include/usb_pd.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/common/usb_pd_protocol.c b/common/usb_pd_protocol.c index 4c8b72c558..788ce9755a 100644 --- a/common/usb_pd_protocol.c +++ b/common/usb_pd_protocol.c @@ -2279,7 +2279,7 @@ void pd_task(void) */ if (pd[port].power_role == PD_ROLE_SOURCE) { set_state_timeout(port, - get_time().val + PD_T_SINK_TRANSITION, + get_time().val + PD_T_PS_HARD_RESET, PD_STATE_HARD_RESET_EXECUTE); } else { set_state(port, diff --git a/include/usb_pd.h b/include/usb_pd.h index 0a11ffbaea..13e8a982e2 100644 --- a/include/usb_pd.h +++ b/include/usb_pd.h @@ -118,6 +118,7 @@ enum pd_errors { #define PD_T_PS_TRANSITION (500*MSEC) /* between 450ms and 550ms */ #define PD_T_PS_SOURCE_ON (480*MSEC) /* between 390ms and 480ms */ #define PD_T_PS_SOURCE_OFF (920*MSEC) /* between 750ms and 920ms */ +#define PD_T_PS_HARD_RESET (15*MSEC) /* between 10ms and 20ms */ #define PD_T_DRP_HOLD (120*MSEC) /* between 100ms and 150ms */ #define PD_T_DRP_LOCK (120*MSEC) /* between 100ms and 150ms */ /* DRP_SNK + DRP_SRC must be between 50ms and 100ms with 30%-70% duty cycle */ |