All of lore.kernel.org
 help / color / mirror / Atom feed
From: grinberg@compulab.co.il (Igor Grinberg)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] [ARM] pxa: add minimal ULPI functionality for USB host port 2 on PXA310.
Date: Wed, 14 Apr 2010 18:03:10 +0300	[thread overview]
Message-ID: <4BC5D92E.7060408@compulab.co.il> (raw)
In-Reply-To: <q2of17812d71004131547n8a2384b5ta345e70997017acb@mail.gmail.com>



On 04/14/10 01:47, Eric Miao wrote:
> On Wed, Apr 14, 2010 at 6:06 AM, Daniel Mack <daniel@caiaq.de> wrote:
>   
>> On Wed, Apr 07, 2010 at 06:05:22PM +0300, Igor Grinberg wrote:
>>     
>>> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
>>> Signed-off-by: Mike Rapoport <mike@compulab.co.il>
>>> ---
>>>  arch/arm/mach-pxa/Makefile      |    1 +
>>>  arch/arm/mach-pxa/pxa310-ulpi.c |  240 +++++++++++++++++++++++++++++++++++++++
>>>  arch/arm/mach-pxa/pxa310-ulpi.h |   85 ++++++++++++++
>>>  3 files changed, 326 insertions(+), 0 deletions(-)
>>>  create mode 100644 arch/arm/mach-pxa/pxa310-ulpi.c
>>>  create mode 100644 arch/arm/mach-pxa/pxa310-ulpi.h
>>>       
>> The USB OTG/ULPI framework could well be reused for that I think. All
>> that you would need is a struct otg_io_access_ops with two function
>> pointers to read and write registers. Then you can use otg_ulpi_create()
>> to set up an ULPI compliant device connected to the bus.
>>
>>     
> Right, that's what I'm thinking as well esp. since ULPI is a standard
> (ok, kinds of) and I'm not seeing too much specialty of pxa3xx ULPI
> except for the way to access registers. Cannot remember the detail
> but the OTG might be a hybrid model on pxa310, and might be a
> little bit different from others.
>
>   
Eric, Daniel,

Thanks for the comments.
So, the only right way is to patch OHCI to support the
otg_io_access_ops, isn't it?
Ok. I'll send a v2 in a couple of days.

Thanks,
Igor

  reply	other threads:[~2010-04-14 15:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-07 15:05 [RFC PATCH 0/2] pxa: enable USB host port 2 on PXA310 Igor Grinberg
2010-04-07 15:05 ` [PATCH 1/2] [ARM] pxa: add minimal ULPI functionality for " Igor Grinberg
2010-04-13 20:18   ` Eric Miao
2010-04-13 22:06   ` Daniel Mack
2010-04-13 22:47     ` Eric Miao
2010-04-14 15:03       ` Igor Grinberg [this message]
2010-04-07 15:05 ` [PATCH 2/2] [ARM] pxa/cm-x300: enable USB host port 2 on modules with PXA310 cpu Igor Grinberg
2010-04-12  5:52 ` [RFC PATCH 0/2] pxa: enable USB host port 2 on PXA310 Mike Rapoport

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=4BC5D92E.7060408@compulab.co.il \
    --to=grinberg@compulab.co.il \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.