[PATCH] MX27: Add USB platform devices and resources

Alan Carvalho de Assis acassis at gmail.com
Mon Nov 23 13:28:13 EST 2009


Hi Daniel,

On 11/23/09, Daniel Mack <daniel at caiaq.de> wrote:
>>
>> I will try to modify it myself. Case you remember someone who already
>> do that, please let me know.
>
> Should be easy to add. All you need to do is modify the parts which are
> SoC specific, ie, not part of the EHCI spec. See mxc_set_usbcontrol()
> and check if PORTSC needs some modifications (which I don't believe).
>

In fact PORTSC1 is at same offset (0x184), then it should work to
i.MX27 as well.

> Please also note that there is an amendment patch queued that adds
> support for MX35; if you file a patch for your platform, it should
> cleanly apply on top of that one.
>

Sure, I will apply my chance at top of this.

> For the board specific code, have a look at
> arch/arm/mach-mx3/mx31lilly.c in Sascha's mxc-master tree and take that
> as an example.
>

Right, thank you for your help.

>> Great! I think i.MX support on mainline kernel is getting better!
>
> Help improve it :)
>

Yes, this is the plan ;-)

Alan



More information about the linux-arm-kernel mailing list