Skip to content

usb:gadget: Add SuperSpeed Function Power Management

Amit Blay linux-arm-msm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 of 3 patches 6 repliesIn review

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

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/3usb:gadget: Add SuperSpeed function power managementdrivers/usb/gadget/udc-core.c drivers/usb/gadget/zero.c include/linux/usb/ch9.h +1 more+40 -95 replies
3/3usb:gadget: SuperSpeed function power management testing supportdrivers/usb/gadget/dummy_hcd.c drivers/usb/gadget/f_loopback.c drivers/usb/gadget/f_sourcesink.c+165 -21 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] usb:gadget: Add SuperSpeed Function Power Management

This patch series adds Function Power Management to the Gadget Framework for SuperSpeed USB.

To test the new code, g_zero gadget was updated to support SuperSpeed, and f_sourcesink function was updated to support SuperSpeed specific handlers.

We used dummy_hcd to emulate UDC & HCD that support SuperSpeed. We tested the development with our unittest environment which is based on libusb & GoogleTest. This environment is submitted seperately by [email protected].

Amit Blay (3):
usb: Add SuperSpeed support to g_zero gadget usb:gadget: Add SuperSpeed function power management usb:gadget: SuperSpeed function power management testing support

 drivers/usb/gadget/dummy_hcd.c    |    3 +-
 drivers/usb/gadget/f_loopback.c   |   57 ++++++++++-
 drivers/usb/gadget/f_sourcesink.c |  217 ++++++++++++++++++++++++++++++++++++-
 drivers/usb/gadget/udc-core.c     |    2 +-
 drivers/usb/gadget/zero.c         |    8 +-
 include/linux/usb/ch9.h           |    8 ++
 include/linux/usb/gadget.h        |   35 +++++--
 7 files changed, 315 insertions(+), 15 deletions(-)
Signature · 5 lines
1.7.3.3

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.