From: daniel@caiaq.de (Daniel Mack)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] mx27: mxt_td60: Add USB Support
Date: Wed, 9 Dec 2009 11:00:54 +0800 [thread overview]
Message-ID: <20091209030051.GC28375@buzzloop.caiaq.de> (raw)
In-Reply-To: <37367b3a0912070339o44b6badcjbcd47034f5589b72@mail.gmail.com>
On Mon, Dec 07, 2009 at 09:39:04AM -0200, Alan Carvalho de Assis wrote:
> > On Fri, Dec 04, 2009 at 03:45:19PM -0200, Alan Carvalho de Assis wrote:
> > Ideally, you would make that a more generic driver of its own, which lives
> > in
> > drivers/usb/otg/ and is named something like 'transceiver-gpio'. You would
> > instanciate it by passing a platform data struct to set the gpios you want
> > it
> > to use. This might sound overdone, but it would make your code reusable.
> >
> > The calls to mxc_gpio_mode() would remain in your platform code, of course.
> >
>
> Ok, I need your support here. I'm using mxc-master and I looked for
> something related to "transceiver gpio", but no success. I found some
> gpio related to usb gadget, but this is not the case. Could you point
> me to right function?
What I was thinking of is a very small kind of driver that is
initialized similar to the ulpi transceiver but instead of taking ULPI
lowevel operations, it is fed with a struct to specify the GPIOs to use.
Daniel
prev parent reply other threads:[~2009-12-09 3:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-04 17:45 [PATCH] mx27: mxt_td60: Add USB Support Alan Carvalho de Assis
2009-12-04 18:05 ` Daniel Mack
2009-12-07 11:39 ` Alan Carvalho de Assis
2009-12-09 3:00 ` Daniel Mack [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=20091209030051.GC28375@buzzloop.caiaq.de \
--to=daniel@caiaq.de \
--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).