Thread (27 messages) 27 messages, 3 authors, 2012-05-10
DORMANTno replies
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 [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 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-10 18:10:22

Dear Juergen Beisert,
Hi Marek,

Marek Vasut wrote:
quoted
This patchset introduces the USB Host driver for i.MX28 CPU, utilising
the generic USB PHY infrastructure. Also added is glue code for CI13xxx
driver, to allow device mode. This patchset still does NOT support OTG
mode, the device/host mode is selected via platform data.
When using your patch set with my 3.4-rc6 I get:

After enabling 'CONFIG_USB_EHCI_MXS':

drivers/usb/host/ehci-mxs.c:171: undefined reference to
`imx_otg_set_irq_handler'

After enabling 'CONFIG_USB_MXS_PHY':

drivers/usb/otg/imx-otg.c:149: undefined reference to `usb_del_gadget_udc'

And after enabling CONFIG_USB_GADGET it compiles again. But it should be a
USB host driver, shouldn't it?
Nice catch, I'll add it into the stack of fixes that need to be made in V8. 
Though I'd rather rebase V8 on top of usb-next.

btw. this supports both host and gadget mode (not OTG right now), certainly 
handling the fact the gadget code isn't present in kernel needs to be done. In 
the meantime, enable also gadget mode and add ci13xxx-mxs into the kernel, it 
should fix your problem.

Thanks for the report!
Regards,
Juergen
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