Thread (27 messages) 27 messages, 3 authors, 2012-05-10
STALE5147d
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 [diff vs current]
  24. v7 [diff vs current]
  25. v7 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 13:55:48

Dear Chen Peter-B29397,
quoted
Well, let's fix it in V8. I suggest we do a stub handler in the ehci-mxs
for
usb_add_hcd() and call ehci_irq() from the imx-otg's IRQ handler like
it's
already done in this patchset.
I have not understood how you would like to do?
Still use IRQF_SHARED for the usb interrupt, but:
* The IRQ handler in ehci-mxs, that's set in hc_driver.irq would be always 
returning IRQ_NONE.
* The IRQ handler in imx-otg would call the callback registered via 
imx_otg_set_irq_handler() only if the port was actually in host mode
quoted
But this patchset also works with the host-only port #1 on mx28
(obviously, you
can't enable gadget(device) mode for that port).
Currently, there is not generic PHY driver, so only one PHY can be
supported at runtime, and only one controller can be enabled if you have
used PHY driver.
Correct
How can you let otg and host 1 work together with your patchset?
Sorry for not being clear enough, what I mean was that this patchset supports:
* Port0 in both Device and Host mode (separately, configured via platform data)
* Port1 in Host mode
And that Port0 and Port1 can NOT be enabled at the same time, so the above is 
mutually exclusive.
quoted
quoted
Understanding your scope may help me review your patches.
quoted
Best regards,
Marek Vasut
Best regards,
Marek Vasut
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