diff options
author | Andreas Larsson <andreas@gaisler.com> | 2014-03-27 11:15:54 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-04-21 15:07:26 -0400 |
commit | d9a6ef1bb27e589ec40f792f3e742c3f54cbdb28 (patch) | |
tree | e9392b8e35e5f6c08be0c55b058ad8a188877fde /Documentation | |
parent | 22876266de43ec24ae93f635490c40edabaf8278 (diff) |
usb: gadget: gr_udc: Expand devicetree documentation
Provide more information on the two different interrupt cases and more
information of endpoint buffer sizes. Suggested by Mark Rutland.
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/usb/gr-udc.txt | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/Documentation/devicetree/bindings/usb/gr-udc.txt b/Documentation/devicetree/bindings/usb/gr-udc.txt index 0c5118f7a916..e9445224fabd 100644 --- a/Documentation/devicetree/bindings/usb/gr-udc.txt +++ b/Documentation/devicetree/bindings/usb/gr-udc.txt | |||
@@ -12,17 +12,23 @@ Required properties: | |||
12 | 12 | ||
13 | - reg : Address and length of the register set for the device | 13 | - reg : Address and length of the register set for the device |
14 | 14 | ||
15 | - interrupts : Interrupt numbers for this device | 15 | - interrupts : Interrupt numbers for this device. Either one interrupt number |
16 | for all interrupts, or one for status related interrupts, one for IN | ||
17 | endpoint related interrupts and one for OUT endpoint related interrupts. | ||
16 | 18 | ||
17 | Optional properties: | 19 | Optional properties: |
18 | 20 | ||
19 | - epobufsizes : An array of buffer sizes for OUT endpoints. If the property is | 21 | - epobufsizes : Array of buffer sizes for OUT endpoints when they differ |
20 | not present, or for endpoints outside of the array, 1024 is assumed by | 22 | from the default size of 1024. The array is indexed by the OUT endpoint |
21 | the driver. | 23 | number. If the property is present it typically contains one entry for |
22 | 24 | each OUT endpoint of the core. Fewer entries overrides the default sizes | |
23 | - epibufsizes : An array of buffer sizes for IN endpoints. If the property is | 25 | only for as many endpoints as the array contains. |
24 | not present, or for endpoints outside of the array, 1024 is assumed by | 26 | |
25 | the driver. | 27 | - epibufsizes : Array of buffer sizes for IN endpoints when they differ |
28 | from the default size of 1024. The array is indexed by the IN endpoint | ||
29 | number. If the property is present it typically contains one entry for | ||
30 | each IN endpoint of the core. Fewer entries overrides the default sizes | ||
31 | only for as many endpoints as the array contains. | ||
26 | 32 | ||
27 | For further information look in the documentation for the GLIB IP core library: | 33 | For further information look in the documentation for the GLIB IP core library: |
28 | http://www.gaisler.com/products/grlib/grip.pdf | 34 | http://www.gaisler.com/products/grlib/grip.pdf |