
Hi again,
Le Sun, 27 Apr 2014 20:56:56 +0200, Eric Bénard eric@eukrea.com a écrit :
Le Sun, 27 Apr 2014 10:56:48 -0700, Eric Nelson eric.nelson@boundarydevices.com a écrit :
We're using UDC on all of our i.MX6 board. Marek and Troy have had this working for a while now.
I think the two key patches are these: https://github.com/boundarydevices/u-boot-imx6/commit/f3d7cff https://github.com/boundarydevices/u-boot-imx6/commit/f016f8c
that's not mainline :-)
Oops sorry, in fact that's also mainline. Interesting to learn it ;-)
Quickly looking at the code, it seems that usbtty is not using the same API as the other gadgets in drivers/usb/gadget : it doesn't call usb_gadget_register_driver and instead call the udc functions directly. So indeed in the present state, this driver can't work on an i.MX6.
Eric