* [PATCH 0/2] USB: isp1760: Fixes and support for more hardware configs
@ 2008-05-21 21:27 Nate Case
0 siblings, 0 replies; only message in thread
From: Nate Case @ 2008-05-21 21:27 UTC (permalink / raw)
To: Sebastian Siewior; +Cc: linuxppc-dev, Greg Kroah-Hartman, linux-usb
I spent a little time getting the new isp1760 driver to work on my ppc64
board with an ISP1761. There were two main problems I encountered:
- Driver wrote to the PORT 1 control register which is actually
the OTG control register on the ISP1761. This needs to be skipped
on ISP1761 until we have proper OTG support.
- Driver assumed 32-bit data bus mode. You have to jump through
a couple small hoops to get 16-bit mode to work, including some
changes to the scratch register test. I also had to re-order some
of the steps to occur _after_ setting HW MODE control.
The first patch is a minor fix. The second patch takes care of the
above issues and also adds support for the other bits in HW MODE control
that might vary from board to board.
Sebastian: I tried to be careful to minimize functional changes for your
case (isp1760, 32-bit mode), so things should work the same for you with
these patches applied. However, I only have an ISP1761 to test with so
I'd appreciate it if you could test with your board.
I'm CCing linuxppc-dev in case there's any feedback on the OF device
tree property usage in patch 2/2.
--
Nate Case <ncase@xes-inc.com>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-21 21:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-21 21:27 [PATCH 0/2] USB: isp1760: Fixes and support for more hardware configs Nate Case
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).