From: Andrea Scian - DAVE Simply Embedded <andrea.scian@dave.eu>
To: "B, Ravi" <ravibabu@ti.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: RFC: PATCH TI81xx fix MUSB software mode setting
Date: Tue, 19 Jun 2012 08:55:00 +0200 [thread overview]
Message-ID: <4FE02244.6020006@dave.eu> (raw)
In-Reply-To: <6C6B28D4DC342643927BEAFCE8707BF63E9B104D@DBDE01.ent.ti.com>
Dear Ravi,
>>
>> Dear all,
>>
>> when configuring our platform (DM8148 based) to work with
>> USB0 as device and USB1 as host I've found some problems.
>
> It seems that you created the patch against the ti-psp release, there
> is another way to achieve this (one port as host and other port as device).
Yes you are correct, I'm using ti-psp by cloning this tree:
http://arago-project.org/git/projects/linux-omap3.git
> Please refer to release/user's guide.
I've looked here:
http://processors.wiki.ti.com/index.php/Usbgeneralpage#One_port_as_host_and_other_port_as_Gadget_.28for_DM81XX.29
but this setup does not work.
Both ports starts from "b_idle" state and always stay there.
I've try both software setting and from hardware pin (I've left ID pin
floating for USB0, device, and set ID pin to gnd for USB1, host only)
without success.
However if I configure both port as host or device (thus disabling OTG
support) they work correctly (of course, only the device port works as
device and host port as host in either case ;-) )
> Moreover, you should create a patch against mainline, where the musb_dsps.c is
> used instead of ti81xx.c, where there is no host-only or device-only mode, by
> default OTG mode is used.
>
Ok, but I've found here:
http://processors.wiki.ti.com/index.php/TI81XX_USB_Driver_User_Guide#OTG_support_.28TI816X.2FTI814X.2FTI813x.29
that OTG is not supported for TI81xx.
Am I wrong? Maybe the situation is different in the mainline?
Best Regards and thank for you prompt answer,
Andrea
next prev parent reply other threads:[~2012-06-19 7:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <464859D4BE03A84686BA47749242C1D03EA93DED@DBDE01.ent.ti.com>
2012-06-19 6:18 ` RFC: PATCH TI81xx fix MUSB software mode setting B, Ravi
2012-06-19 6:55 ` Andrea Scian - DAVE Simply Embedded [this message]
2012-06-18 14:55 Andrea Scian
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=4FE02244.6020006@dave.eu \
--to=andrea.scian@dave.eu \
--cc=linux-omap@vger.kernel.org \
--cc=ravibabu@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox