mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
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>
This commit is contained in:
parent
22876266de
commit
d9a6ef1bb2
@ -12,17 +12,23 @@ Required properties:
|
|||||||
|
|
||||||
- reg : Address and length of the register set for the device
|
- reg : Address and length of the register set for the device
|
||||||
|
|
||||||
- interrupts : Interrupt numbers for this device
|
- interrupts : Interrupt numbers for this device. Either one interrupt number
|
||||||
|
for all interrupts, or one for status related interrupts, one for IN
|
||||||
|
endpoint related interrupts and one for OUT endpoint related interrupts.
|
||||||
|
|
||||||
Optional properties:
|
Optional properties:
|
||||||
|
|
||||||
- epobufsizes : An array of buffer sizes for OUT endpoints. If the property is
|
- epobufsizes : Array of buffer sizes for OUT endpoints when they differ
|
||||||
not present, or for endpoints outside of the array, 1024 is assumed by
|
from the default size of 1024. The array is indexed by the OUT endpoint
|
||||||
the driver.
|
number. If the property is present it typically contains one entry for
|
||||||
|
each OUT endpoint of the core. Fewer entries overrides the default sizes
|
||||||
|
only for as many endpoints as the array contains.
|
||||||
|
|
||||||
- epibufsizes : An array of buffer sizes for IN endpoints. If the property is
|
- epibufsizes : Array of buffer sizes for IN endpoints when they differ
|
||||||
not present, or for endpoints outside of the array, 1024 is assumed by
|
from the default size of 1024. The array is indexed by the IN endpoint
|
||||||
the driver.
|
number. If the property is present it typically contains one entry for
|
||||||
|
each IN endpoint of the core. Fewer entries overrides the default sizes
|
||||||
|
only for as many endpoints as the array contains.
|
||||||
|
|
||||||
For further information look in the documentation for the GLIB IP core library:
|
For further information look in the documentation for the GLIB IP core library:
|
||||||
http://www.gaisler.com/products/grlib/grip.pdf
|
http://www.gaisler.com/products/grlib/grip.pdf
|
||||||
|
Loading…
Reference in New Issue
Block a user