Thread (2 messages) 2 messages, 2 authors, 2010-01-27

Re: [PATCH 08/11] powerpc/mpc5121: add USB host support

From: Grant Likely <hidden>
Date: 2010-01-27 16:52:27
Also in: linux-devicetree

Possibly related (same subject, not in this thread)

On Mon, Jan 25, 2010 at 10:00 AM, Anatolij Gustschin [off-list ref] wrote:
On Thu, 21 Jan 2010 10:43:34 -0700
Grant Likely [off-list ref] wrote:
quoted
quoted
diff --git a/Documentation/powerpc/dts-bindings/fsl/usb.txt b/Document=
ation/powerpc/dts-bindings/fsl/usb.txt
quoted
quoted
index b001524..9050154 100644
--- a/Documentation/powerpc/dts-bindings/fsl/usb.txt
+++ b/Documentation/powerpc/dts-bindings/fsl/usb.txt
@@ -33,6 +33,14 @@ Recommended properties :
=A0- interrupt-parent : the phandle for the interrupt controller that
=A0 =A0services interrupts for this device.

+Optional properties :
quoted
+ - big-endian-regs : boolean; if defined, indicates the USB host
+ =A0 controller registers format is big endian.
Rather than testing for this explicitly, add fsl,mpc5121-usb2-dr to
the match table and use the .data pointer for setting device specific
quirks.
Still, don't use a new property to describe this.  The regs being
big-endian is all wrapped up in the definition of what
fsl,mpc5121-usb2-dr means.  You should also drop fsl-usb2-dr from the
compatible list in the .dts file since this device is *not* compatible
with it due to the endian difference.  Test for fsl,mpc5121-usb2-dr
explicitly, and adapt the driver behaviour accordingly.

g.

--=20
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help