Thread (4 messages) flat view 4 messages, 2 authors, 2009-12-09
DORMANTno replies

[PATCH] mx27: mxt_td60: Add USB Support

From: Daniel Mack <hidden>
Date: 2009-12-09 03:00:54

On Mon, Dec 07, 2009 at 09:39:04AM -0200, Alan Carvalho de Assis wrote:
quoted
On Fri, Dec 04, 2009 at 03:45:19PM -0200, Alan Carvalho de Assis wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help