[RFC PATCH 0/2] isoc support for gadget zero and usbtest

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

 



This adds support for isochronous endpoints to gadget zero and
the usbtest module.

We have used something similar to this for testing our super
speed device and host controllers, but it would be easier (and
require less support) to have this in the mainline kernel.

Does this look like the right approach? I know the zero gadget
is supposed to be very simple, and this complicates it a bit.
But making a separate gadget for this would require duplicating
quite a bit of code, I think. At least I don't see a clean way
to make the isoc support modular and optional.

I have tested this with the Synopsys device and host, at high
speed and super speed. It still needs testing with a UDC that
doesn't support super speed or isoc, to make sure the simple
case is not broken.

Comments?

Paul Zimmerman (2):
  usb: gadget: add isochronous support to gadget zero
  usb: usbtest: add super speed isoc support to usbtest

 drivers/usb/gadget/f_loopback.c   |    4 +-
 drivers/usb/gadget/f_sourcesink.c |  404 ++++++++++++++++++++++++++++++++-----
 drivers/usb/gadget/g_zero.h       |    5 +-
 drivers/usb/gadget/zero.c         |   19 ++-
 drivers/usb/misc/usbtest.c        |   60 ++++--
 5 files changed, 412 insertions(+), 80 deletions(-)

-- 
1.7.4.4

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