Skip to content

UAS Gadget Driver

Tatyana Brokhman linux-arm-msm 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 of 5 patches 14 repliesIn review
  2. v22 of 5 patches 0 repliesSuperseded
  3. v12 of 5 patches 2 repliesSuperseded

2 of 5 patches are in this archive. The cover letter announces 5.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/5uas: MS UAS Gadget driver - Infrastructuredrivers/usb/gadget/f_mass_storage.c drivers/usb/gadget/f_uasp.c drivers/usb/gadget/f_uasp.h +4 more+3729 -2114 replies
3/5uas: COMMAND IU implementationdrivers/usb/gadget/uasp_cmdiu.c+1186 -120 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [RFC/PATCH v3 0/5] UAS Gadget Driver

This patch series implements the UAS gadget driver.

It has been tested using the following:
1. Linux UAS host driver
2. MSDVT tool from MCCI
3. Internaly developed unittests framework

The device is functional. More stress tests are needed.

TODO: Further testing
De-register the gadget if the main thread dies.

Tatyana Brokhman (6):
usb: Add streams support to the gadget framework
uas: MS UAS Gadget driver - Infrastructure
uas: COMMAND IU implementation
uas: TASK MANAGEMENT IU implementation
uas: HS-UAS mode implementation

 drivers/usb/gadget/epautoconf.c     |  125 ++-
 drivers/usb/gadget/f_mass_storage.c |   26 +-
 drivers/usb/gadget/f_uasp.c         | 2408 +++++++++++++++++++++++++++++++++++
 drivers/usb/gadget/f_uasp.h         |  463 +++++++
 drivers/usb/gadget/mass_storage.c   |   67 +-
 drivers/usb/gadget/storage_common.c |   19 +-
 drivers/usb/gadget/uasp_cmdiu.c     | 1907 +++++++++++++++++++++++++++
 drivers/usb/gadget/uasp_tmiu.c      |  534 ++++++++
 include/linux/usb/gadget.h          |   13 +
 9 files changed, 5516 insertions(+), 46 deletions(-)
 create mode 100644 drivers/usb/gadget/f_uasp.c
 create mode 100644 drivers/usb/gadget/f_uasp.h
 create mode 100644 drivers/usb/gadget/uasp_cmdiu.c
 create mode 100644 drivers/usb/gadget/uasp_tmiu.c
Signature · 4 lines
1.7.3.3
--
Sent by a Consultant for Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum