[PATCH v2 0/6] platform/chrome: cros_ec_typec: Add cable

From: Prashant Malani
Date: Fri Nov 06 2020 - 13:41:16 EST


The following series adds Type C cable registration to the cros-ec-typec
port driver using the Type C connector class framework. The first few
patches perform a few minor re-organizations to prepare for the cable
registration patch.

The last couple of CLs update the USB PD VDO header file to add a
captive cable connector for the Type C cable plug field, and then use
the added macro to add the corresponding field of the Type C cable
descriptor in the cros-ec-typec driver.

v1:
https://lore.kernel.org/lkml/20201106012758.525472-1-pmalani@xxxxxxxxxxxx/

Changes since v2:
- Changed local variable uint32_t to u32 in patch 6/6.

Prashant Malani (6):
platform/chrome: cros_ec_typec: Make disc_done flag partner-only
platform/chrome: cros_ec_typec: Factor out PD identity parsing
platform/chrome: cros_ec_typec: Rename discovery struct
platform/chrome: cros_ec_typec: Register cable
usb: pd: Add captive Type C cable type
platform/chrome: cros_ec_typec: Store cable plug type

drivers/platform/chrome/cros_ec_typec.c | 148 +++++++++++++++++++-----
include/linux/usb/pd_vdo.h | 4 +-
2 files changed, 123 insertions(+), 29 deletions(-)

--
2.29.1.341.ge80a0c044ae-goog