From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tatyana Brokhman Subject: [PATCH v11 0/7] usb gadget: Add SuperSpeed support to the Gadget Framework Date: Thu, 19 May 2011 14:43:25 +0300 Message-ID: <1305805417-31750-1-git-send-email-tlinder@codeaurora.org> Return-path: Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, balbi-l0cyMroinI0@public.gmane.org, ablay-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Tatyana Brokhman List-Id: linux-arm-msm@vger.kernel.org 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:dummy_hcd: use the shared_hcd infrustructure usb: Adding SuperSpeed support to dummy_hcd drivers/usb/gadget/Kconfig | 11 + drivers/usb/gadget/composite.c | 341 ++++++++++++- drivers/usb/gadget/config.c | 25 - drivers/usb/gadget/dbgp.c | 8 +- drivers/usb/gadget/dummy_hcd.c | 922 +++++++++++++++++++++++++---------- 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 | 46 ++- include/linux/usb/gadget.h | 69 ++- 33 files changed, 1399 insertions(+), 685 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html