From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 20 Sep 2013 12:51:19 +0200 Subject: [U-Boot] [PATCH V4 02/17] usb: ehci-mx6: add support for host mode otg port In-Reply-To: <1379647780-2623-3-git-send-email-troy.kisky@boundarydevices.com> References: <1379647780-2623-1-git-send-email-troy.kisky@boundarydevices.com> <1379647780-2623-3-git-send-email-troy.kisky@boundarydevices.com> Message-ID: <201309201251.19748.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Troy Kisky, > Previously, only host1 was supported using an index of 0. > Now, otg has index 0, host1 is 1, host2 is 2, host3 is 3. > Since OTG requires usbmode to be set after reset, I added > a weak function ehci_hcd_init_after_reset to handle this, > and removed it from ehci_hcd_init. I also added a weak > function board_ehci_power to handle turning power on/off > for otg. > > Signed-off-by: Troy Kisky > > --- > V4: new patch, replaces "usb: gadget: mv_udc: fix hardware udc address for > i.MX6" and has the bonus of giving OTG host mode support > --- Would it be a problem to implement this in ehci_hcd_init() call instead of adding a new call? Best regards, Marek Vasut