[PATCH v2 0/3] common SVDM version and VDO from dt

From: Kyle Tso
Date: Sun Jan 31 2021 - 10:20:46 EST


patch v1 is here:
https://lore.kernel.org/linux-devicetree/20210126084544.682641-1-kyletso@xxxxxxxxxx/

Changes from v1:
=================
usb: typec: Determine common SVDM Versions
- removed the "local" variables (svdm_version) in tcpm.c and
(altmodes/ucsi)/displayport.c
- added a member "svdm_version" in struct typec_capabilities indicating
the default SVDM version of the port
- added a member "common_svdm_ver" in struct typec_port indicating the
common SVDM version between the port and the partner
- implemented the get/set API of the common_svdm_ver in typec/class.c so
that clients can read/update the common SVDM version
- added more definitions of Product Type VDOs

dt-bindings: connector: Add SVDM VDO properties
- updated the dt-bindings documentations
- added more definitions of Product Type VDOs

usb: typec: tcpm: Get Sink VDO from fwnode
- updated the commit message

Kyle Tso (3):
usb: typec: Determine common SVDM Versions
dt-bindings: connector: Add SVDM VDO properties
usb: typec: tcpm: Get Sink VDO from fwnode

.../bindings/connector/usb-connector.yaml | 11 +
drivers/usb/typec/altmodes/displayport.c | 5 +-
drivers/usb/typec/class.c | 21 +-
drivers/usb/typec/tcpm/tcpm.c | 61 +++-
drivers/usb/typec/ucsi/displayport.c | 10 +-
drivers/usb/typec/ucsi/ucsi.c | 2 +
include/dt-bindings/usb/pd.h | 311 ++++++++++++++++-
include/linux/usb/pd_vdo.h | 315 ++++++++++++++----
include/linux/usb/typec.h | 10 +
9 files changed, 656 insertions(+), 90 deletions(-)

--
2.30.0.365.g02bc693789-goog