Re: [PATCH v3] usb: typec: tcpm: Wait for vbus discharge to VSAFE0V before toggling

2021-03-01 Thread Heikki Krogerus
On Thu, Feb 25, 2021 at 02:11:04AM -0800, Badhri Jagan Sridharan wrote: > When vbus auto discharge is enabled, TCPM can sometimes be faster than > the TCPC i.e. TCPM can go ahead and move the port to unattached state > (involves disabling vbus auto discharge) before TCPC could effectively > dischar

Re: [PATCH v3] usb: typec: tcpm: Wait for vbus discharge to VSAFE0V before toggling

2021-02-25 Thread Guenter Roeck
On Thu, Feb 25, 2021 at 02:11:04AM -0800, Badhri Jagan Sridharan wrote: > When vbus auto discharge is enabled, TCPM can sometimes be faster than > the TCPC i.e. TCPM can go ahead and move the port to unattached state > (involves disabling vbus auto discharge) before TCPC could effectively > dischar

[PATCH v3] usb: typec: tcpm: Wait for vbus discharge to VSAFE0V before toggling

2021-02-25 Thread Badhri Jagan Sridharan
When vbus auto discharge is enabled, TCPM can sometimes be faster than the TCPC i.e. TCPM can go ahead and move the port to unattached state (involves disabling vbus auto discharge) before TCPC could effectively discharge vbus to VSAFE0V. This leaves vbus with residual charge and increases the deca