linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: daniel@caiaq.de (Daniel Mack)
To: linux-arm-kernel@lists.infradead.org
Subject: USB support on i.MX27
Date: Tue, 24 Nov 2009 12:57:37 +0100	[thread overview]
Message-ID: <20091124115737.GR14091@buzzloop.caiaq.de> (raw)
In-Reply-To: <37367b3a0911240343u58e3b3d2le5d48e638348a3ad@mail.gmail.com>

On Tue, Nov 24, 2009 at 09:43:41AM -0200, Alan Carvalho de Assis wrote:
> I am trying to add USB support to i.MX27 on mainline linux kernel, I
> am following your modifications as in this post:
> 
> "Re: Comment to "[PATCH 7/8] Add EHCI support for MX27 and MX31 based boards"
> 
> I can't find xcvr.h and isp1504_xcvr.h then I copied fsl_xcvr.h from
> FSL kernel to mainline:
> 
> alan at metropolis:~/ltib-patches/ltib/rpm/BUILD/linux$ cp
> include/linux/usb/fsl_xcvr.h
> ~/linux/pengutronix/linux-2.6/include/linux/usb/xcvr.h
> 
> But I can't to figure out where to find isp1504_xcvr.h.

There is nothing special about the ISP1504. On the register level, it is
compliant to generic ULPI transceivers, and hence the driver in mainline
was named accordingly. There is nothing you need to add from the BSPs
anymore, everything is on its way to mainline already.

> Could you please help me to get USB working on iMX27ADS?

There are a number of boards that implement USB support already for MX3,
and they're all in Sascha's tree. Most of them have been added just
recently, so make sure you're looking at the newest source. As mentioned
above, for ISP1504, you just need create a generic ULPI transceiver.

The only thing that is missing is code that maps the .flags and maybe
.portsc settings from the mxc_usbh_platform_data struct to the
appropriate registers on MX27. And of course, your board support will
need some IOMUX settings.

Daniel

  reply	other threads:[~2009-11-24 11:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24 11:43 USB support on i.MX27 Alan Carvalho de Assis
2009-11-24 11:57 ` Daniel Mack [this message]
2009-11-24 12:31   ` Alan Carvalho de Assis
2009-11-24 13:07     ` Daniel Mack
2009-11-25  6:52 ` javier Martin
2009-11-27 10:16   ` Daniel Mack
2009-11-30 15:07     ` Alan Carvalho de Assis
2009-11-30 19:57       ` Alan Carvalho de Assis
2009-12-01 14:16         ` Alan Carvalho de Assis
2009-12-01 14:26           ` Daniel Mack
2009-12-01 14:51             ` Alan Carvalho de Assis
2009-12-02  8:43               ` Valentin Longchamp
2009-12-02  9:03                 ` Eric Bénard
2009-12-02 16:09                   ` Valentin Longchamp

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=20091124115737.GR14091@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).