summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/legacy/zero.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge Linus' tree to be be to apply submitted patches to newer code thanJiri Kosina2014-11-201-0/+21
|\ | | | | | | current trivial.git base
| * usb: gadget: zero: Add support for interrupt EPAmit Virdi2014-08-271-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | usb: gadget: zero: Spelling s/infrastucture/infrastructure/Geert Uytterhoeven2014-10-291-1/+1
|/ | | | | | | Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Cc: Felipe Balbi <balbi@ti.com> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* usb: gadget: Gadget directory cleanup - group legacy gadgetsAndrzej Pietrasiewicz2014-07-161-0/+417
The drivers/usb/gadget directory contains many files. Files which are related can be distributed into separate directories. This patch moves the legacy gadgets (i.e. those not using configfs) into a separate directory. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>