Re: OMAP3530 USB host problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Felipe Balbi wrote:
> On Fri, Feb 20, 2009 at 11:50:44AM -0700, Gary Thomas wrote:
>> 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.
> 
> you have OMAP_EHCI_TLL_MODE set, you should probably use
> OMAP_EHCI_PHY_MODE instead.
> 
> You can fix it via "make menuconfig"
> 

I already have that; this code is still being used.
  # CONFIG_OMAP_EHCI_TLL_MODE is not set
  CONFIG_OMAP_EHCI_PHY_MODE=y

This is not used in the function above at all.


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux