summaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc
diff options
context:
space:
mode:
authorAmit Virdi <amit.virdi@st.com>2014-08-22 14:36:36 +0530
committerFelipe Balbi <balbi@ti.com>2014-08-27 14:13:18 -0500
commitef11982dd7a657512c362242508bb4021e0d67b6 (patch)
treec8f164cdbca20bb1543c381793a058d77a4e64d2 /drivers/usb/misc
parentc572a217d1b81209ae5a4fe09a96db758f86f10b (diff)
downloadblackbird-obmc-linux-ef11982dd7a657512c362242508bb4021e0d67b6.tar.gz
blackbird-obmc-linux-ef11982dd7a657512c362242508bb4021e0d67b6.zip
usb: gadget: zero: Add support for interrupt EP
Interrupt endpoints behave quite similar to the bulk endpoints with the difference that the endpoints expect data sending/reception request at particular intervals till the whole data has not been transmitted. The interrupt EP support is added to gadget zero. A new alternate setting (=2) has been added. It has 2 interrupt endpoints. The default parameters are set as: bInterval: 1 ms for FS and 8 uFrames (implying 1 ms) for HS/SS wMaxPacketSize: 64 bytes for FS and 1024 bytes for HS/SS However, the same can be overridden through the module parameter interface. The code is tested for HS and SS on a platform having DWC3 controller. Signed-off-by: Amit Virdi <amit.virdi@st.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/misc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud