Re: [PATCH 5/8 v2] powerpc/mpc5121: add USB host support
From: Grant Likely <hidden>
Date: 2010-01-27 16:54:57
On Wed, Jan 27, 2010 at 5:07 AM, Anatolij Gustschin [off-list ref] wrote:
Platform specific code for MPC5121 USB Host support. MPC5121 Rev 2.0 silicon EHCI registers are big endian. Add appropriate support by specifying "fsl,big-endian-regs" property in device tree node for USB controller. Also allow specifying DRVVBUS and PWR_FAULT signal polarity of the MPC5121 internal PHY using "fsl,invert-drvvbus" and "fsl,invert-pwr-fault" properties.
[...]
quoted hunk ↗ jump to hunk
--- 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 : + - fsl,big-endian-regs : boolean; if defined, indicates the USB host + =A0 controller registers format is big endian.
As commented in previous thread, this property should be dropped, and the driver should test for fsl,mpc5121-usb2-dr directly. fsl-usb2-dr should also be dropped from the compatible list of the .dts file. g.