[PATCH v2 0/2] Add a interface for passing supported PD rev from TCPC

Potin Lai posted 2 patches 4 years, 4 months ago
drivers/usb/typec/tcpm/fusb302.c | 20 ++++++++++++++++++++
drivers/usb/typec/tcpm/tcpm.c    | 14 ++++++++++++--
include/linux/usb/tcpm.h         |  4 ++++
3 files changed, 36 insertions(+), 2 deletions(-)
[PATCH v2 0/2] Add a interface for passing supported PD rev from TCPC
Posted by Potin Lai 4 years, 4 months ago
This series add an interface for TCPC passing supported PD revision.
supported_pd_rev is optional, TCPM will get PD rev for negotiation if
lower level driver has implementaion, otherwise use PD_MAX_REV for
negotiation

changes v1 -> v2:
  - tcpm.c
    * use min() to simplify the statement

Potin Lai (2):
  usb: typec: tcpm: add interface for passing supported_pd_rev from
    tcpc_dev
  usb: typec: fusb302: add support of supported_pd_rev

 drivers/usb/typec/tcpm/fusb302.c | 20 ++++++++++++++++++++
 drivers/usb/typec/tcpm/tcpm.c    | 14 ++++++++++++--
 include/linux/usb/tcpm.h         |  4 ++++
 3 files changed, 36 insertions(+), 2 deletions(-)

-- 
2.17.1