Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: gadget: f_sourcesink: add configfs support
Add support for using the sourcesink function in gadgets composed with configfs. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
- Loading branch information
Andrzej Pietrasiewicz
authored and
Felipe Balbi
committed
Nov 26, 2013
1 parent
c0501f4
commit 25d8015
Showing
5 changed files
with
347 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
What: /config/usb-gadget/gadget/functions/SourceSink.name | ||
Date: Nov 2013 | ||
KenelVersion: 3.13 | ||
Description: | ||
The attributes: | ||
|
||
pattern - 0 (all zeros), 1 (mod63), 2 (none) | ||
isoc_interval - 1..16 | ||
isoc_maxpacket - 0 - 1023 (fs), 0 - 1024 (hs/ss) | ||
isoc_mult - 0..2 (hs/ss only) | ||
isoc_maxburst - 0..15 (ss only) | ||
qlen - buffer length |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.