From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Thu, 23 Aug 2012 12:42:27 -0600 Subject: [U-Boot] [PATCH v2 0/5] Tegra 2 USB ULPI series In-Reply-To: <1345580337-9377-1-git-send-email-dev@lynxeye.de> References: <1345580337-9377-1-git-send-email-dev@lynxeye.de> Message-ID: <50367993.50407@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/21/2012 02:18 PM, Lucas Stach wrote: > With this series we are able to initialize USB controllers > using an external ULPI phy AKA USB2 on Tegra 2 devices. > > This was tested to work on a Toradex Colibri T20 board, > where USB2 is used to access the ASIX ethernet chipset. > Testing was done with "tegra20: usb: rework set_host_mode" [1] > applied. I did not spot any regressions on the UTMI ports. > > v2 incorporates all the review feedback I've got so far, > including now trying harder to enable VBus in all configurations. > > Patch 3 is already in u-boot-usb and only provided as the ULPI > init code now depends on it. > Igor could you please take a look at Patch 4? > > Patchset is based on top of u-boot-tegra/next > > [1] http://lists.denx.de/pipermail/u-boot/2012-August/130177.html OK, with the addition of an appropriate pin_mux_usb() function to harmony.c, this works now. So, please consider the series, Tested-by: Stephen Warren Note that I did see the following: Tegra20 (Harmony) # usb start (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 5 USB Device(s) found scanning bus for storage devices... Device NOT ready Request Sense returned 02 3A 00 2 Storage Device(s) found scanning bus for ethernet devices... 1 Ethernet Device(s) found However, both "usb tree" and then "ext2ls" on the USB device succeeded without issue, so I think that's tested well enough. I even booted a kernel from the USB device, and the kernel was able to use the USB device for the root filesystem, so U-Boot hadn't broken it in any way:-)