TCPM support for FRS and AutoDischarge Disconnect
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest14 patches 17 repliesIn review
- v112 of 14 patches 4 repliesSuperseded
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | usb: typec: tcpci: Add register definitions to tcpcidrivers/ | +5 | 1 reply | |
| 2/14 | usb: typec: tcpci: Add support when hidden tx registers are inaccessibledrivers/ drivers/ | +43 | 1 reply | |
| 3/14 | usb: typec: tcpci: update ROLE_CONTROL for DRPdrivers/ | +36 | 1 reply | |
| 4/14 | usb: typec: tcpci: Add a getter method to retrieve tcpm_port referencedrivers/ drivers/ | +8 | 1 reply | |
| 5/14 | usb: typec: tcpci: Add set_vbus tcpci callbackdrivers/ drivers/ | +8 | 2 replies | |
| 6/14 | dt-bindings: usb: Maxim type-c controller device tree binding documentDocumentation/ | +44 | 0 replies | |
| 7/14 | usb: typec: tcpci_maxim: Chip level TCPC driverdrivers/ drivers/ drivers/ +1 more | +487 | 2 replies | |
| 8/14 | dt-bindings: connector: Add property to set initial current cap for FRSDocumentation/ include/ | +138 | 0 replies | |
| 9/14 | usb: typec: tcpm: Add support for Sink Fast Role SWAP(FRS)drivers/ include/ include/ +1 more | +245 | 2 replies | |
| 10/14 | usb: typec: tcpci: Implement callbacks for FRSdrivers/ drivers/ | +25 | 1 reply | |
| 11/14 | usb: typec: tcpci_maxim: Add support for Sink FRSdrivers/ | +46 | 1 reply | |
| 12/14 | usb: typec: tcpm: Implement enabling Auto Discharge disconnect supportdrivers/ include/ | +86 | 0 replies | |
| 13/14 | usb: typec: tcpci: Implement Auto discharge disconnect callbacksdrivers/ drivers/ | +53 | 0 replies | |
| 14/14 | usb: typec: tcpci_maxim: Implemnent set_auto_vbus_discharge_thresholddrivers/ | +48 | 0 replies |
Reviews trailers per patch
6 of 14 patches have a Reviewed-by or Acked-by.
| Patch | Heikki Krogerus |
|---|---|
| 1/14 | R-b |
| 2/14 | R-b |
| 3/14 | R-b |
| 4/14 | R-b |
| 5/14 | |
| 6/14 | |
| 7/14 | |
| 8/14 | |
| 9/14 | |
| 10/14 | R-b |
| 11/14 | R-b |
| 12/14 | |
| 13/14 | |
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 00/14] TCPM support for FRS and AutoDischarge Disconnect
First of all apologies for mixing up the patch version as noted by Heikki and Greg. All of them were v1's but since I was manually adding the version numbers I mixed them up. Using the --reroll-count option now. Updating the patch version to v6 (highest version number in the previous patchset + 1) to avoid confusion.
I also rebased on to off of the recent usb-next tip:5fedf0d295d3 (origin/usb-testing, origin/usb-next) Merge 5.9-rc3 into usb-next
Which had the following changes causing merge conflict:3ed8e1c2ac99 usb: typec: tcpm: Migrate workqueue to RT priority for processing events 6bbe2a90a0bb usb: typec: tcpm: During PR_SWAP, source caps should be sent only after tSwapSourceStart
Addressed comments from Heikki and Randy which have described in the individual commit's change history as well.
Badhri Jagan Sridharan (14):
usb: typec: tcpci: Add register definitions to tcpci
usb: typec: tcpci: Add support when hidden tx registers are
inaccessible
usb: typec: tcpci: update ROLE_CONTROL for DRP
usb: typec: tcpci: Add a getter method to retrieve tcpm_port reference
usb: typec: tcpci: Add set_vbus tcpci callback
dt-bindings: usb: Maxim type-c controller device tree binding document
usb: typec: tcpci_maxim: Chip level TCPC driver
dt-bindings: connector: Add property to set initial current cap for
FRS
usb: typec: tcpm: Add support for Sink Fast Role SWAP(FRS)
usb: typec: tcpci: Implement callbacks for FRS
usb: typec: tcpci_maxim: Add support for Sink FRS
usb: typec: tcpm: Implement enabling Auto Discharge disconnect support
usb: typec: tcpci: Implement Auto discharge disconnect callbacks
usb: typec: tcpci_maxim: Implemnent set_auto_vbus_discharge_threshold
.../bindings/connector/usb-connector.txt | 128 ++++ .../devicetree/bindings/usb/maxim,tcpci.txt | 44 ++ drivers/usb/typec/tcpm/Kconfig | 5 + drivers/usb/typec/tcpm/Makefile | 13 +- drivers/usb/typec/tcpm/tcpci.c | 146 ++++- drivers/usb/typec/tcpm/tcpci.h | 43 ++ drivers/usb/typec/tcpm/tcpci_maxim.c | 564 ++++++++++++++++++ drivers/usb/typec/tcpm/tcpm.c | 291 ++++++++- include/dt-bindings/usb/pd.h | 10 + include/linux/usb/pd.h | 19 +- include/linux/usb/tcpm.h | 24 +- include/linux/usb/typec.h | 13 + 12 files changed, 1266 insertions(+), 34 deletions(-) create mode 100644 Documentation/devicetree/bindings/connector/usb-connector.txt create mode 100644 Documentation/devicetree/bindings/usb/maxim,tcpci.txt create mode 100644 drivers/usb/typec/tcpm/tcpci_maxim.c
base-commit: 5fedf0d295d3ef69fd85fdee4cb68fd3756b54c2
Signature · 1 line
2.28.0.402.g5ffc5be6b7-goog