[PATCH v5 0/3] AMS, Collision Avoidance, and Protocol Error

From: Kyle Tso
Date: Tue Jan 05 2021 - 11:40:52 EST


This series include previous patch "[v4] AMS and Collision Avoidance"
https://lore.kernel.org/r/20201217030632.903718-1-kyletso@xxxxxxxxxx
and two more patches "Protocol Error handling" and "Respond Wait if...".

The patch "AMS and Collision Avoidance" in [v5] is the same as the one
in [v4] (only rebased to ToT).

The patch "Protocol Error handling" is based on PD3 6.8.1 to fix the
wrong handling.

The patch "Respond Wait if..." is to fix a conflict when
DR/PR/VCONN_SWAP occurs just after the state machine enters Ready State.

Kyle Tso (3):
usb: typec: tcpm: AMS and Collision Avoidance
usb: typec: tcpm: Protocol Error handling
usb: typec: tcpm: Respond Wait if VDM state machine is running

drivers/usb/typec/tcpm/tcpm.c | 925 +++++++++++++++++++++++++++++-----
include/linux/usb/pd.h | 2 +
include/linux/usb/tcpm.h | 4 +
3 files changed, 792 insertions(+), 139 deletions(-)

--
2.29.2.729.g45daf8777d-goog