[RFC PATCH 00/11 V7] MXS: Add i.MX28 USB Host driver
Chen Peter-B29397
B29397 at freescale.com
Mon Apr 30 23:36:37 EDT 2012
> > If the host and device interrupt handler are called by otg interrupt
> > handler, then, the interrupt handlers are registered by host/device
> will
> > be called twice as they are also registered by host/device themselves.
>
> No they won't, I don't register them in ehci-mxs or ci13xxx-mxs anymore.
>
Have you changed any hcd code? The host interrupt is registered by hcd
core code: usb_add_hcd.
> >
> > Besides, what kinds of function do you want to add at this patchset?
>
> Device and Host mode, separate so far, configurable by platform data. I'm
> also
> looking into the OTG, but let's get this basic stuff right and mainline
> first.
>
Then, the aim for this patchset is only enable OTG port,
and device/host function is selected by platform data,
no otg function(id switch) will be supported, correct?
Understanding your scope may help me review your patches.
>
> Best regards,
> Marek Vasut
More information about the linux-arm-kernel
mailing list