[PATCH v10 0/7] usb gadget: Add SuperSpeed support to the Gadget Framework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It was tested in the following ways:
1. Dummy_hcd and g_zero gadget with our internally developed unittest. 
   (See bellow)
2. Our DCD (that is not ready for upstreaming yet but we're working on
   it) and g_mass_storage gadget. With this setup we passed USBCV 2.0 and 3.0.
3. We developed a UAS gadget driver that is also working with this
   implementation over our DCD and the UAS Linux host driver. Its operational
   both in SS and in HS mode. Was released to the community in another patch series.
4. All of the other existing gadget drivers were minimally testes on
   the dummy_hcd setup as well (successful enumeration).

The unittest framework that was used for testing can be downloaded from 
git://codeaurora.org/quic/usb3/ut/.git
Please use the upstream branch.
See https://www.codeaurora.org/gitweb/quic/usb3/?p=ut/.git;a=summary for more 
details.

Tatyana Brokhman (7):
  usb: Add usb_endpoint_descriptor to be part of the struct usb_ep
  usb: Configure endpoint according to gadget speed.
  usb: Modify existing gadget drivers to use config_ep_by_speed()
    instead of     ep_choose.
  usb:gadget: Add SuperSpeed support to the Gadget Framework
  usb: Add streams support to the gadget framework
  usb:gadget: Introduce usb_generate_ss_descriptors()
  usb: Adding SuperSpeed support to dummy_hcd

 drivers/usb/gadget/Kconfig          |   11 +
 drivers/usb/gadget/composite.c      |  459 +++++++++++++++++-
 drivers/usb/gadget/config.c         |   25 -
 drivers/usb/gadget/dbgp.c           |    8 +-
 drivers/usb/gadget/dummy_hcd.c      |  921 +++++++++++++++++++++++++---------
 drivers/usb/gadget/epautoconf.c     |  133 ++++-
 drivers/usb/gadget/f_acm.c          |   50 +--
 drivers/usb/gadget/f_audio.c        |    5 +-
 drivers/usb/gadget/f_ecm.c          |   54 +--
 drivers/usb/gadget/f_eem.c          |   36 +-
 drivers/usb/gadget/f_fs.c           |    3 +-
 drivers/usb/gadget/f_hid.c          |   22 +-
 drivers/usb/gadget/f_loopback.c     |   17 +-
 drivers/usb/gadget/f_mass_storage.c |   33 +-
 drivers/usb/gadget/f_ncm.c          |   58 +--
 drivers/usb/gadget/f_obex.c         |   32 +-
 drivers/usb/gadget/f_phonet.c       |   17 +-
 drivers/usb/gadget/f_rndis.c        |   52 +--
 drivers/usb/gadget/f_serial.c       |   32 +-
 drivers/usb/gadget/f_sourcesink.c   |   14 +-
 drivers/usb/gadget/f_subset.c       |   33 +-
 drivers/usb/gadget/f_uvc.c          |    6 +-
 drivers/usb/gadget/file_storage.c   |    3 +-
 drivers/usb/gadget/gmidi.c          |    6 +-
 drivers/usb/gadget/inode.c          |    6 +-
 drivers/usb/gadget/printer.c        |   26 +-
 drivers/usb/gadget/u_ether.c        |   12 +-
 drivers/usb/gadget/u_ether.h        |    4 -
 drivers/usb/gadget/u_serial.c       |    4 +-
 drivers/usb/gadget/u_serial.h       |    2 -
 include/linux/usb/ch9.h             |    2 -
 include/linux/usb/composite.h       |   50 ++-
 include/linux/usb/gadget.h          |   69 ++-
 33 files changed, 1523 insertions(+), 682 deletions(-)

-- 
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux