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

2021-02-19 Thread Badhri Jagan Sridharan
Done. Just sent out the following patch and CCed sta...@vger.kernel.org as well. [PATCH v2] usb: typec: tcpm: Wait for vbus discharge to VSAFE0V before toggling Thanks, Badhri On Thu, Feb 18, 2021 at 2:42 AM Greg Kroah-Hartman wrote: > > On Thu, Feb 18, 2021 at 02:38:45AM -0800, Badhri Jagan S

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

2021-02-18 Thread Greg Kroah-Hartman
On Thu, Feb 18, 2021 at 02:38:45AM -0800, Badhri Jagan Sridharan wrote: > Hi Greg, > > This patch is a bug fix for the following patch which was introduced in 5.11. > > commit f321a02caebdd0c56e167610cda2fa148cd96e8b > Author: Badhri Jagan Sridharan > Date: Wed Oct 28 23:31:35 2020 -0700 > >

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

2021-02-18 Thread Badhri Jagan Sridharan
Hi Greg, This patch is a bug fix for the following patch which was introduced in 5.11. commit f321a02caebdd0c56e167610cda2fa148cd96e8b Author: Badhri Jagan Sridharan Date: Wed Oct 28 23:31:35 2020 -0700 usb: typec: tcpm: Implement enabling Auto Discharge disconnect support TCPCI spec

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

2021-02-18 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

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

2021-02-18 Thread Greg Kroah-Hartman
On Thu, Feb 18, 2021 at 02:02:43AM -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