[PATCH v2] USB: isp1760: Support board-specific hardware configurations

Olof Johansson olof at lixom.net
Wed Jun 18 03:41:13 EST 2008


On Jun 17, 2008, at 11:11 AM, Nate Case wrote:

> This adds support for hardware configurations that don't match the
> chip default register settings (e.g., 16-bit data bus, DACK and
> DREQ pulled up instead of down, analog overcurrent mode).
>
> These settings are passed in via the OF device tree.  The PCI
> interface still assumes the same default values.
>
> Signed-off-by: Nate Case <ncase at xes-inc.com>
> ---
> This version addresses feedback from Sebastian Siewior and
> Olof Johansson.  Specifically, a new flag was added for ISP1761 which
> is set during probe time.  This is used instead of checking the Chip
> ID register (which doesn't allow you to distinguish between the  
> ISP1760
> and ISP1761).  Also, device tree property checking is adjusted to
> simply check for a property's presence when setting flags.
>
> I tested this version on both a custom ppc64 board and Electra.
> Olof also tried testing it on his Electra but without success (I'm
> guessing, perhaps naively, that a difference between our setups was
> the cause and the driver changes are still OK).

Yeah, I'm not 100% sure that it's not broken hardware here. Even if it  
turns out not to be what's wrong, the rest of the patch seems good to  
me. I.e. good enough to merge even if it'll take a fix to iron out the  
last stuff down the road.


Acked-by: Olof Johansson <olof at lixom.net>


-Olof




More information about the Linuxppc-dev mailing list