Files
msm-5.15/include/linux
Badhri Jagan Sridharan f321a02cae usb: typec: tcpm: Implement enabling Auto Discharge disconnect support
TCPCI spec allows TCPC hardware to autonomously discharge the vbus
capacitance upon disconnect. The expectation is that the TCPM enables
AutoDischargeDisconnect while entering SNK/SRC_ATTACHED states. Hardware
then automously discharges vbus when the vbus falls below a certain
threshold i.e. VBUS_SINK_DISCONNECT_THRESHOLD.

Apart from enabling the vbus discharge circuit, AutoDischargeDisconnect
is also used a flag to move TCPCI based TCPC implementations into
Attached.Snk/Attached.Src state as mentioned in
Figure 4-15. TCPC State Diagram before a Connection of the
USB Type-C Port Controller Interface Specification.
In such TCPC implementations, setting AutoDischargeDisconnect would
prevent TCPC into entering "Connection_Invalid" state as well.

Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20201029063138.1429760-8-badhri@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-18 12:57:49 +01:00
..
2019-11-12 11:43:29 -05:00
2020-06-16 14:19:57 +02:00
2018-05-26 09:16:44 +02:00
2020-05-24 20:48:11 +02:00
2020-07-08 10:48:35 -07:00
2020-10-02 14:59:25 -07:00
2020-09-21 15:00:40 -07:00
2020-10-02 15:00:49 -07:00
2018-06-15 18:10:01 -03:00
2020-10-16 17:21:51 +02:00
2019-10-09 19:33:43 -07:00
2020-03-09 11:12:19 +01:00
2019-12-03 11:20:37 +01:00
2020-06-16 19:25:20 +02:00
2020-07-27 14:29:23 -04:00
2019-02-28 03:28:53 -05:00
2018-01-01 12:40:27 -07:00
2020-05-04 11:19:58 -07:00
2020-08-12 20:42:08 +02:00
2020-10-27 16:22:43 +01:00
2020-09-30 22:44:26 +02:00
2019-06-26 13:19:46 -07:00
2020-08-04 21:02:38 -04:00
2019-10-04 12:31:46 -07:00
2018-06-22 13:43:27 +09:00
2020-09-16 08:54:53 -05:00
2020-08-26 12:41:56 +02:00
2020-10-13 18:38:32 -07:00
2020-06-02 15:15:46 +01:00
2019-12-11 09:12:38 +01:00
2020-09-04 09:25:20 -07:00
2020-05-08 18:18:11 +01:00
2020-05-08 00:12:42 +02:00
2020-05-28 10:31:09 +02:00
2018-04-12 09:41:19 -07:00
2020-09-23 18:02:49 -07:00
2018-06-07 17:34:35 -07:00
2020-09-04 12:46:07 +01:00
2020-08-27 16:06:47 -04:00
2019-08-14 15:30:35 +02:00
2019-11-14 19:06:47 -08:00
2018-10-17 13:56:58 -07:00
2020-10-07 14:28:39 -04:00
2020-05-09 13:57:12 +02:00
2019-02-08 15:02:49 -08:00
2020-07-01 10:49:02 +02:00
2020-09-24 19:49:36 -07:00
2020-07-23 17:34:18 +10:00
2018-10-21 10:46:39 -04:00
2020-05-15 13:51:28 -07:00
2017-11-09 10:23:28 +01:00
2020-08-31 12:52:33 -07:00
2020-10-28 11:41:15 -06:00
2020-10-18 09:27:10 -07:00
2020-05-09 13:57:12 +02:00
2019-06-15 12:25:49 +02:00
2020-08-18 17:06:15 +02:00
2018-09-25 20:17:35 -07:00
2020-07-16 23:19:51 +02:00
2020-11-06 10:05:18 -08:00
2020-08-07 11:33:24 -07:00
2020-09-26 22:55:05 -04:00
2018-01-15 12:07:46 -08:00
2018-10-11 09:16:44 -07:00
2020-05-04 09:16:37 -07:00
2020-09-10 14:03:31 -07:00
2020-01-14 12:20:48 +01:00
2005-04-16 15:20:36 -07:00
2020-07-07 11:58:59 -05:00
2020-10-18 09:27:10 -07:00
2020-10-05 13:21:49 +02:00
2019-05-15 17:35:54 +01:00
2017-08-15 09:02:08 -07:00