Skip to content

TCPM non-PD mode

Kyle Tso linux-devicetree linux-usb lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 1 replyIn review
  2. v52 patches 1 replySuperseded
  3. v42 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v32 patches2 repliesSuperseded
v22 patches3 repliesSuperseded

Changes in v6 from the cover letter

dt-bindings: connector: Add pd-disable property
- Changed the property name to "pd-disable"

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: connector: Add pd-disable propertyDocumentation/devicetree/bindings/connector/usb-connector.yaml+4 -01 reply
2/2usb: typec: tcpm: Support non-PD modedrivers/usb/typec/tcpm/tcpm.c+68 -190 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchGuenter RoeckHeikki KrogerusRob Herring
1/2R-b
2/2R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH v6 0/2] TCPM non-PD mode

(changed the property name only)

The reason for this patch is to let the device/system policy decide whether PD is going to be supported using devicetree properties.

A new dt property "pd-disable" is introduced and TCPM uses this property as a flag to decide whether PD is supported. If the flag is false (the dt property is not present), the RX functionality of the low-level driver will not be enabled. The power negotiation related states will be skipped as well. If the flag is true, everything is a what it was before.

If "pd-disable" is present, and the port is SRC or DRP, another existing dt property "typec-power-opmode" needs to be specified to indicate which Rp value should be used when the port is SRC.

changes since v5:
dt-bindings: connector: Add pd-disable property
- Changed the property name to "pd-disable"

usb: typec: tcpm: Support non-PD mode
- Changed the property name to "pd-disable"
- Added Acked-by tag

Kyle Tso (2):
dt-bindings: connector: Add pd-disable property
usb: typec: tcpm: Support non-PD mode

 .../bindings/connector/usb-connector.yaml     |  4 +
 drivers/usb/typec/tcpm/tcpm.c                 | 87 +++++++++++++++----
 2 files changed, 72 insertions(+), 19 deletions(-)
Signature · 1 line
2.32.0.554.ge1b32706d8-goog