Skip to content

Add a interface for passing supported PD rev from TCPC

Potin Lai linux-usb lkml llvm oe-kbuild-all 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesIn review
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- tcpm.c
* use min() to simplify the statement

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2usb: typec: tcpm: add interface for passing supported_pd_rev from tcpc_devdrivers/usb/typec/tcpm/tcpm.c include/linux/usb/tcpm.h+16 -21 reply
2/2usb: typec: fusb302: add support of supported_pd_revdrivers/usb/typec/tcpm/fusb302.c+20 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(-)
Signature · 1 line
2.17.1