[RFC/PATCH 00/12] Gadget API Bare minimum SuperSpeed support

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

 



Hi all,

here's a bunch of compile-tested patches (so far I don't
have a HW to test them) to add the bare minimum support
for super speed on composite and a few function drivers.

If you have a USB3.0 peripheral controller I'd be really
glad in hearing about test results with these patches,
specially the one where we implement GetDescriptor(BOS)
support.

While I'm waiting for comments, I'll continue adding similar
patches to the other function drivers and apply comments
later.

If you have in mind good/sane defaults for the Endpoint
Companion descriptor's fields and for the device
capabilities, please let me know and I'll change the
patches which touch that part.

All in all, please give these a good round of review.
Comments are more than welcome.

Felipe Balbi (12):
  usb: gadget: add USB_GADGET_SUPERSPEED
  usb: gadget: change USB version to USB3.0
  usb: gadget: introduce gadget_is_superspeed()
  usb: gadget: composite: hold super speed descriptors on usb_function
  usb: gadget: composite: add superspeed flag
  usb: gadget: composite: adapt composite.c to super speed
  usb: gadget: f_sourcesink: add basic SS EP descriptors
  usb: gadget: composite: add bos and capabilities fields
  usb: gadget: composite: handle GetDescriptor(BOS)
  usb: gadget: zero: add bos descriptor and caps
  usb: gadget: f_obex: add basic SuperSpeed endpoint descriptors
  usb: gadget: f_eem: add basic SuperSpeed endpoint descriptors

 drivers/usb/gadget/Kconfig        |    7 ++++
 drivers/usb/gadget/audio.c        |    2 +-
 drivers/usb/gadget/cdc2.c         |    2 +-
 drivers/usb/gadget/composite.c    |   66 +++++++++++++++++++++++++++++++----
 drivers/usb/gadget/dbgp.c         |    2 +-
 drivers/usb/gadget/ether.c        |    2 +-
 drivers/usb/gadget/f_eem.c        |   66 +++++++++++++++++++++++++++++++++++
 drivers/usb/gadget/f_obex.c       |   69 +++++++++++++++++++++++++++++++++++++
 drivers/usb/gadget/f_sourcesink.c |   53 ++++++++++++++++++++++++++++
 drivers/usb/gadget/file_storage.c |    4 +-
 drivers/usb/gadget/g_ffs.c        |    2 +-
 drivers/usb/gadget/gmidi.c        |    2 +-
 drivers/usb/gadget/hid.c          |    2 +-
 drivers/usb/gadget/inode.c        |    4 +-
 drivers/usb/gadget/mass_storage.c |    2 +-
 drivers/usb/gadget/multi.c        |    2 +-
 drivers/usb/gadget/ncm.c          |    2 +-
 drivers/usb/gadget/nokia.c        |    2 +-
 drivers/usb/gadget/printer.c      |    4 +-
 drivers/usb/gadget/serial.c       |    2 +-
 drivers/usb/gadget/webcam.c       |    2 +-
 drivers/usb/gadget/zero.c         |   41 +++++++++++++++++++++-
 include/linux/usb/composite.h     |   13 +++++++
 include/linux/usb/gadget.h        |   13 +++++++
 24 files changed, 339 insertions(+), 27 deletions(-)

-- 
1.7.4.rc2

--
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