All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bill Gatliff <bgat@billgatliff.com>
To: "Pandita, Vikram" <vikram.pandita@ti.com>
Cc: "Gadiyar, Anand" <gadiyar@ti.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"beagleboard@googlegroups.com" <beagleboard@googlegroups.com>
Subject: Re: Anyone using an ISP1505?
Date: Mon, 21 Dec 2009 11:06:42 -0600	[thread overview]
Message-ID: <4B2FAB22.90000@billgatliff.com> (raw)
In-Reply-To: <FCCFB4CDC6E5564B9182F639FC35608702FFDF312B@dbde02.ent.ti.com>

Pandita, Vikram wrote:
>> -----Original Message-----
>> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of Bill
>> Gatliff
>> Sent: Friday, December 18, 2009 1:11 PM
>> To: Gadiyar, Anand
>> Cc: linux-omap@vger.kernel.org; beagleboard@googlegroups.com
>> Subject: Re: Anyone using an ISP1505?
>>
>>     
> <snip>
>   
>>> If it's with the EHCI controller, you need to take care of a couple of
>>> issues on the board (due to the input clocking mode used in the OMAP3).
>>>
>>>       
>> Can you elaborate?  Thanks!
>>
>>     
> For omap-ehci, the OMAP feeds in the 60Mhz clock to the PHY(1505 in your case).
> This is the input clocking mode of phy.
>
> It looks like the PHY state machine requires sometime to stabilize and lock into this 60Mhz clock input and this is done with a GPIO form omap.
>
> In ehci_hcd_omap_platform_data, Typically boards have
> . phy_reset = true
> . reset_gpio_port[0] = GPIO going to phy reset pin
>
> On your board you need to find, if there is a GPIO hooked from omap to PHY.
> And the GPIO behavior is decided by the PHY pin property ( whether its active high/low and whether its chipselect or reset of phy).
>
> By default the code assumes that the GPIO is connected to RESET pin: going 0 while the 60mhz clock input stabilizes and then once done, make it 1.
>
> So find out what GPIO from omap is connected to phy to control the phy.
>   

Ok, I'll look at that.  I'm not sure if I have such a GPIO pin going to
the PHY.

I do have the XTAL input tied to SYS_CLK1/GPIO_10, and I've verified
that I'm sending out a 19.2MHz clock signal on that pin.  That seems to
be what the ISP1505ABS chip needs.  I start that clock in my board setup
code.

I just re-re-re-read the ISP1505 datasheet, and noticed this remark:

    "Remark: When CLOCK starts toggling after power-up, the USB link
    must issue a reset command over the ULPI bus to ensure correct
    operation of the ISP1505".


I see in drivers/usb/host/ehci-omap.c where the TLL is reset, but I
can't find any code that sends a ULPI reset command out over the link. 
Or am I missing something?

I also see drivers/usb/otg/ulpi.c which claims to support the ISP1504,
which is a very similar chip to the ISP1505.  But it also lacks any
mention of a ULPI reset-type command.


Any additional thoughts?  I'm losing hair fast on this one....  :)


b.g.

-- 
Bill Gatliff
bgat@billgatliff.com


  reply	other threads:[~2009-12-21 17:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-17 19:01 Anyone using an ISP1505? Bill Gatliff
2009-12-17 19:10 ` Felipe Balbi
2009-12-18 19:13   ` Bill Gatliff
2009-12-17 19:20 ` Gadiyar, Anand
2009-12-18 19:10   ` Bill Gatliff
2009-12-18 19:20     ` Pandita, Vikram
2009-12-21 17:06       ` Bill Gatliff [this message]
2009-12-21 19:43         ` Pandita, Vikram
2009-12-21 19:47           ` Bill Gatliff
2009-12-21 20:12             ` Gadiyar, Anand
2009-12-21 20:42               ` Felipe Balbi
2009-12-21 20:57                 ` Gadiyar, Anand
2009-12-19 10:05     ` Gadiyar, Anand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B2FAB22.90000@billgatliff.com \
    --to=bgat@billgatliff.com \
    --cc=beagleboard@googlegroups.com \
    --cc=gadiyar@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=vikram.pandita@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.