From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Thomas Subject: Re: OMAP3530 USB host problems Date: Fri, 20 Feb 2009 11:50:44 -0700 Message-ID: <499EFB84.1020201@mlbassoc.com> References: <499EF348.6020302@mlbassoc.com> <20090220182904.GP20723@frodo> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from 137-67-76-76.skybeam.com ([76.76.67.137]:1236 "EHLO mail.chez-thomas.org" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753106AbZBTSut (ORCPT ); Fri, 20 Feb 2009 13:50:49 -0500 In-Reply-To: <20090220182904.GP20723@frodo> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: me@felipebalbi.com Cc: Linux OMAP Mailing List Felipe Balbi wrote: > On Fri, Feb 20, 2009 at 11:15:36AM -0700, Gary Thomas wrote: >> I have a 3530 board (similar to the OMAP3EVM) and I'm trying >> to get the USB host working. Sadly, this is failing, but I >> don't quite see why. From drivers/usb/host/echi-omap.c: >> /* Wait for TLL to be Active */ >> timeout = 1000; >> while ((cm_read_mod_reg(CORE_MOD, OMAP2430_CM_IDLEST3) >> & (1 << OMAP3430ES2_ST_USBTLL_SHIFT))) >> { >> if (--timeout <= 0) { >> printk(KERN_ERR "USB TLL is unavailable\n"); >> return -ENODEV; >> } >> cpu_relax(); >> } >> >> Any clues on why this might be? How do I solve it? > > could you enable CONFIG_DEBUG_LL and post the seria console output ? > > do you really use TLL ?? I don't really know omap3evm, but I guess it > uses PHY mode (correct me if I'm wrong). > It's not that I _need_ TLL, the driver function omap_start_ehci() tries to reset the part of the USB controller and fails. I'm just trying to understand why this part of the code falls over. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------