Hi!
Is there TODO list for `subj`? I'll need that code on socfpga cyclone
5, so it makes sense to help with cleanups, but it looks in pretty
good shape already...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
> From: Pavel Machek [mailto:[email protected]]
> Sent: Tuesday, September 03, 2013 5:54 AM
>
> Hi!
>
> Is there TODO list for `subj`? I'll need that code on socfpga cyclone
> 5, so it makes sense to help with cleanups, but it looks in pretty
> good shape already...
Hi Pavel,
Here is the TODO list:
- Need to merge the microframe scheduler patch from Denx/Raspberry Pi
(see http://marc.info/?l=linux-usb&m=137625068103835). I will resubmit
that one after the merge window closes and Greg is taking patches again.
But even after that more scheduling improvements may be needed.
- Should merge the NAK holdoff patch from Raspberry Pi
(http://marc.info/?l=linux-usb&m=137625067103833). But that patch is
incomplete, it needs more investigation to see if it can be made to work
for non-Raspberry Pi platforms that lack the special FIQ interrupt that
the Pi has. Without this, the driver has a high interrupt rate (8K/sec).
- The Raspberry Pi platform needs to have support for its FIQ interrupt
added, to get the same level of functionality as the downstream driver
has. The raspberrypi.org developers have indicated they are willing to
help with that.
- Some of the default driver parameters (see 'struct dwc2_core_params'
in core.h) won't work for many platforms. So DT attributes will need to
be added for some of these. But that can be done as-needed as new
platforms are added.
- Eventually the driver should be merged with the s3c-hsotg peripheral
mode driver, so that both modes of operation can be supported with a
single driver. I think that can wait till after the driver has been
moved to mainline.
- After that, OTG support can be added. I'm not sure how much demand
there is for that, though, so I have that as a low priority.
I think after the first two items are done the driver can be moved to
mainline.
Matthijs, do you have anything to add?
--
Paul