From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric =?ISO-8859-1?B?QuluYXJk?= Date: Sun, 27 Apr 2014 21:12:35 +0200 Subject: [U-Boot] usbtty using i.MX6 In-Reply-To: <20140427205656.2baa7f50@e6520eb> References: <20140427110543.4b141c77@e6520eb> <535D44E0.5010204@boundarydevices.com> <20140427205656.2baa7f50@e6520eb> Message-ID: <20140427211235.4d86590b@e6520eb> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi again, Le Sun, 27 Apr 2014 20:56:56 +0200, Eric B?nard a ?crit : > Le Sun, 27 Apr 2014 10:56:48 -0700, > Eric Nelson 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