Thread (27 messages) 27 messages, 3 authors, 2012-05-10
STALE5164d
Revisions (31)
  1. rfc [diff vs current]
  2. rfc [diff vs current]
  3. rfc [diff vs current]
  4. rfc [diff vs current]
  5. v2 [diff vs current]
  6. v2 [diff vs current]
  7. v3 [diff vs current]
  8. v2 [diff vs current]
  9. v3 [diff vs current]
  10. v3 [diff vs current]
  11. v3 [diff vs current]
  12. v4 [diff vs current]
  13. v4 [diff vs current]
  14. v4 [diff vs current]
  15. v4 [diff vs current]
  16. v4 [diff vs current]
  17. v5 [diff vs current]
  18. v5 [diff vs current]
  19. v5 [diff vs current]
  20. v6 [diff vs current]
  21. v6 [diff vs current]
  22. v7 [diff vs current]
  23. v7 current
  24. v7 [diff vs current]
  25. v7 [diff vs current]
  26. v7 [diff vs current]
  27. v7 [diff vs current]
  28. v7 [diff vs current]
  29. v7 [diff vs current]
  30. v7 [diff vs current]
  31. v8 [diff vs current]

[RFC PATCH 00/11 V7] MXS: Add i.MX28 USB Host driver

From: marex@denx.de (Marek Vasut)
Date: 2012-05-01 03:21:13

Dear Chen Peter-B29397,
quoted
V7: * Pass only necessary data to the drivers registered by imx-otg

      (memory, irq, pointer to imx-otg device). This should fix issue

pointed

      out by Lothar Wassmann.
    
    * Have single IRQ handler in imx-otg, which then calls host/gadget

IRQ

      handlers only if they're registered via imx_otg_set_irq_handler()

call,

      depending on the current state of the OTG.
Hi Marek,

If the host and device interrupt handler are called by otg interrupt
handler, then, the interrupt handlers are registered by host/device will
be called twice as they are also registered by host/device themselves.
No they won't, I don't register them in ehci-mxs or ci13xxx-mxs anymore.
Besides, what kinds of function do you want to add at this patchset?
Device and Host mode, separate so far, configurable by platform data. I'm also 
looking into the OTG, but let's get this basic stuff right and mainline first.
device-only?host-only? basic otg (id switch)? power management (As I have
seen you add wakeup interrupt handler)?
There is a stub wakeup handler right now, we don't do powermanagement yet.

Peter, thanks for reviewing these :)

Best regards,
Marek Vasut
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help