From: Kovacs Peter Tamas <p.kovacs@holografika.com>
To: "Gadiyar, Anand" <gadiyar@ti.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: Enabling HSUSB1 port on OMAP3430 labrador
Date: Thu, 26 Nov 2009 15:57:21 +0100 [thread overview]
Message-ID: <4B0E9751.9090207@holografika.com> (raw)
In-Reply-To: <4B0E5E81.6030706@holografika.com>
Dear Anand, All,
>>> We are trying to make the HSUSB1 port on the OMAP3430 work as an USB
>>> host.
>>> To do that, an ISP1507A ULPI HighSpeed USB transceiver is connected
>>> to the HSUSB1pins (HSUSB1_STP, CLK, D-0..D7, DIR, NXT).
>>>
>>> I have all these USB related kernel config options enabled:
>>> USB_EHCI_HCD
>>> USB_OHCI_HCD
>>> USB_MUSB_HDRC
>>> TWL4030_USB
>>>
>>> My guess was that either EHCI or the Inventra should be the one
>>> enabling that USB port on the OMAP, but no luck.
>>> The external USB port on the MDK works fine with this configuration.
>>>
>>> The pin multiplexing configuration in the board file
>>> omap3430-labrador.c in u-boot also seems to be correct (although the
>>> config of USB1_STP seems to be strange, but changing that didn't
>>> work either).
>> Not sure why the pad conf is done in u-boot for this board, but maybe
>> it was a copy-paste thing. That being said, if you've got the part
>> installed correctly, it ought to work.
>>
> Yes, I can also see these pin multiplexing configs in
> arch/arm/mach-omap2/usb-ehci.c.
> I have defined CONFIG_OMAP_EHCI_PHY_MODE there to make sure they are
> PHY (couldn't find it in menuconfig, but this macro seems to be used
> in this single file).
> Still, the clock goes high when powering the board on, and it remains
> there forever.
>
> I recall seeing a TI-specific kernel source in another git repository,
> which had menuconfig options for setting PHY/TLL, maybe the USB code
> is different too?
After having no clock signal on the HSUSB1_CLK with the kernel pulled
from from git.kernel.org/linux/kernel/linux-omap-2.6.git, I've tried
some older ti-2.6.xx kernel branches from
git.omapzoom.org/repo/omapkernel.git
branch ti-2.6.27-omap3 didn't compile.
branch ti-2.6.26-omap3 kind of works, but the HSUSB1_CLK is still dead.
branch ti-2.6.24-omap3 works, and during booting I can see a clock
signal on HSUSB1_CLK, and also the STP signal seems to go high and back
low as expected!
Is it possible that this feature is broken some months ago? I'll go and
compare the relevant files, but your suggestions on how to make this
work again in newer kernels are welcome.
Thanks,
Peter
next prev parent reply other threads:[~2009-11-26 14:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-24 14:33 Enabling HSUSB1 port on OMAP3430 labrador Kovacs Peter Tamas
2009-11-24 16:35 ` Gadiyar, Anand
2009-11-26 10:54 ` Kovacs Peter Tamas
2009-11-26 14:57 ` Kovacs Peter Tamas [this message]
2009-11-26 16:07 ` 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=4B0E9751.9090207@holografika.com \
--to=p.kovacs@holografika.com \
--cc=gadiyar@ti.com \
--cc=linux-omap@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox