[PATCH 0/2] USB: isp1760: Fixes and support for more hardware configs

Nate Case ncase at xes-inc.com
Thu May 22 07:27:50 EST 2008


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 at xes-inc.com>




More information about the Linuxppc-dev mailing list