Skip to content

usb: typec: ucsi: Remaining changes for v5.2

Heikki Krogerus linux-usb 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 1 replyIn review
  2. v37 patches 1 replySuperseded
  3. v27 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7usb: typec: ucsi: ccg: add get_fw_info functiondrivers/usb/typec/ucsi/ucsi_ccg.c+64 -20 replies
2/7i2c: nvidia-gpu: Supply CCGx driver the fw build infodrivers/i2c/busses/i2c-nvidia-gpu.c+7 -00 replies
3/7usb: typec: ucsi: ccg: add firmware flashing supportDocumentation/ABI/testing/sysfs-driver-ucsi-ccg drivers/usb/typec/ucsi/ucsi_ccg.c+820 -130 replies
4/7usb: typec: ucsi: Preliminary support for alternate modesdrivers/usb/typec/ucsi/trace.c drivers/usb/typec/ucsi/trace.h drivers/usb/typec/ucsi/ucsi.c +1 more+428 -920 replies
5/7usb: typec: ucsi: Support for DisplayPort alt modedrivers/usb/typec/ucsi/Makefile drivers/usb/typec/ucsi/displayport.c drivers/usb/typec/ucsi/ucsi.c +1 more+364 -80 replies
6/7usb: typec: displayport: Export probe and remove functionsdrivers/usb/typec/altmodes/displayport.c drivers/usb/typec/altmodes/displayport.h+15 -50 replies
7/7usb: typec: Add driver for NVIDIA Alt Modesdrivers/usb/typec/altmodes/Kconfig drivers/usb/typec/altmodes/Makefile drivers/usb/typec/altmodes/nvidia.c +2 more+64 -10 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by.

PatchAjay Gupta
1/7
2/7
3/7
4/7T-b
5/7T-b
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/7] usb: typec: ucsi: Remaining changes for v5.2

Hi Greg,

Ajay noticed that I was not considering earlier releases of the UCSI specification with a specific UCSI command, GET_CURRENT_CAM, in v3. The definition for the command was changed in UCSI specification v1.1. The issue is now fixed.

v3 cover letter.

This is the third version of this collection of UCSI driver related changes. I fixed the header problem I caused in Ajay's patch adding the NVIDIA alt mode support (patch 7/7), and I also took the liberty of writing the missing ABI documentation for the extra sysfs file that's created in the driver for Cypress CCGx Type-C controller (ucsi_ccg.c).

v2 cover letter

This is the second version of this series. The sparse warning, that was the only issue with the first version, is now fixed. The fix was made by adding the first patch ("i2c: nvidia-gpu: Supply CCGx driver the fw build info"). It add a device property for the CCGx device that the CCGx driver can use to identify the required firmware build.

I also decided to include two extra patches from Ajay where NVIDIA probing driver is added for the DisplayPort alternate mode:
https://www.spinics.net/lists/linux-usb/msg178847.html

v1 cover letter:

Here are the remaining patches from me and Ajay for the UCSI driver. I took the liberty of collecting them for you, and resending everything together.

There are two patches from Ajay adding support for firmware upgrading with the Cypress CCGx controllers [1], and two patches from me enabling DisplayPort alt mode with the UCSI driver [2].

[1] https://marc.info/?l=linux-usb&m=154957412422108&w=2
[2] https://www.spinics.net/lists/linux-usb/msg178192.html

Let us know if you want anything to be changed.

thanks,

Ajay Gupta (5):
usb: typec: ucsi: ccg: add get_fw_info function
i2c: nvidia-gpu: Supply CCGx driver the fw build info
usb: typec: ucsi: ccg: add firmware flashing support
usb: typec: displayport: Export probe and remove functions
usb: typec: Add driver for NVIDIA Alt Modes

Heikki Krogerus (2):
usb: typec: ucsi: Preliminary support for alternate modes
usb: typec: ucsi: Support for DisplayPort alt mode

 .../ABI/testing/sysfs-driver-ucsi-ccg         |   6 +
 drivers/i2c/busses/i2c-nvidia-gpu.c           |   7 +
 drivers/usb/typec/altmodes/Kconfig            |  10 +
 drivers/usb/typec/altmodes/Makefile           |   2 +
 drivers/usb/typec/altmodes/displayport.c      |  12 +-
 drivers/usb/typec/altmodes/displayport.h      |   8 +
 drivers/usb/typec/altmodes/nvidia.c           |  44 +
 drivers/usb/typec/ucsi/Makefile               |  15 +-
 drivers/usb/typec/ucsi/displayport.c          | 315 +++++++
 drivers/usb/typec/ucsi/trace.c                |  12 +
 drivers/usb/typec/ucsi/trace.h                |  26 +
 drivers/usb/typec/ucsi/ucsi.c                 | 404 ++++++--
 drivers/usb/typec/ucsi/ucsi.h                 | 118 +++
 drivers/usb/typec/ucsi/ucsi_ccg.c             | 883 +++++++++++++++++-
 include/linux/usb/typec_dp.h                  |   5 +
 15 files changed, 1754 insertions(+), 113 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-driver-ucsi-ccg
 create mode 100644 drivers/usb/typec/altmodes/displayport.h
 create mode 100644 drivers/usb/typec/altmodes/nvidia.c
 create mode 100644 drivers/usb/typec/ucsi/displayport.c
Signature · 1 line
2.20.1