linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: nicolas.ferre@atmel.com (Nicolas Ferre)
To: linux-arm-kernel@lists.infradead.org
Subject: at91sam9g45 USB OTG support?
Date: Tue, 09 Nov 2010 18:46:47 +0100	[thread overview]
Message-ID: <4CD98907.1060709@atmel.com> (raw)
In-Reply-To: <AANLkTi=8-nOGxLOw-Thvc7WaKwMg2cyC3h01SF0kZFL7@mail.gmail.com>

Le 05/11/2010 22:09, Rob Emanuele :
> Greetings,
> 
> We've been developing a at91sam9g45 product and it is finally available at:
> https://www.crystalfontz.com/product/CFA910.html

Very nice platform!

> We are looking into supporting USB OTG on this device as the 'g45 has
> the USB host/device port.  As far at I can tell Atmel or anyone else
> working on this platform has not made full use of this as an OTG
> device.

Indeed, it is not done for the moment...

>  I haven't found support in the USB or the OTG code for
> reading the USB ID line to determine host or device mode.

I am not sure USB ID is well supported by consumer cable providers and
is a reliable way to determine host or device mode.

> Am I missing something or is that an area that needs some code written for it?

Anyway, using this port as host or device is a matter of
1/ driving or not VBUS pin
2/ dealing with loading the gadget driver (as the "Enable" of the usba
IP is responsible for swithing to device mode).

I think that determining if the port shall be used in host or device
mode can be asked through the GUI... But note that I am not an USB expert...
-- 
Nicolas Ferre

      reply	other threads:[~2010-11-09 17:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-05 21:09 at91sam9g45 USB OTG support? Rob Emanuele
2010-11-09 17:46 ` Nicolas Ferre [this message]

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=4CD98907.1060709@atmel.com \
    --to=nicolas.ferre@atmel.com \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).