summaryrefslogtreecommitdiffstats
path: root/Documentation/usb/dwc3.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/usb/dwc3.txt')
-rw-r--r--Documentation/usb/dwc3.txt12
1 files changed, 10 insertions, 2 deletions
diff --git a/Documentation/usb/dwc3.txt b/Documentation/usb/dwc3.txt
index 1d02c01d1c7c..f94a7ba16573 100644
--- a/Documentation/usb/dwc3.txt
+++ b/Documentation/usb/dwc3.txt
@@ -1,6 +1,11 @@
1===========
2DWC3 driver
3===========
4
5
6TODO
7~~~~
1 8
2 TODO
3~~~~~~
4Please pick something while reading :) 9Please pick something while reading :)
5 10
6- Convert interrupt handler to per-ep-thread-irq 11- Convert interrupt handler to per-ep-thread-irq
@@ -9,6 +14,7 @@ Please pick something while reading :)
9 until the command completes which is bad. 14 until the command completes which is bad.
10 15
11 Implementation idea: 16 Implementation idea:
17
12 - dwc core implements a demultiplexing irq chip for interrupts per 18 - dwc core implements a demultiplexing irq chip for interrupts per
13 endpoint. The interrupt numbers are allocated during probe and belong 19 endpoint. The interrupt numbers are allocated during probe and belong
14 to the device. If MSI provides per-endpoint interrupt this dummy 20 to the device. If MSI provides per-endpoint interrupt this dummy
@@ -19,6 +25,7 @@ Please pick something while reading :)
19 - dwc3_send_gadget_ep_cmd() will sleep in wait_for_completion_timeout() 25 - dwc3_send_gadget_ep_cmd() will sleep in wait_for_completion_timeout()
20 until the command completes. 26 until the command completes.
21 - the interrupt handler is split into the following pieces: 27 - the interrupt handler is split into the following pieces:
28
22 - primary handler of the device 29 - primary handler of the device
23 goes through every event and calls generic_handle_irq() for event 30 goes through every event and calls generic_handle_irq() for event
24 it. On return from generic_handle_irq() in acknowledges the event 31 it. On return from generic_handle_irq() in acknowledges the event
@@ -40,6 +47,7 @@ Please pick something while reading :)
40 for command completion. 47 for command completion.
41 48
42 Latency: 49 Latency:
50
43 There should be no increase in latency since the interrupt-thread has a 51 There should be no increase in latency since the interrupt-thread has a
44 high priority and will be run before an average task in user land 52 high priority and will be run before an average task in user land
45 (except the user changed priorities). 53 (except the user changed priorities).