Browse Source

ARM: tegra: Add new DT property to USB node.

As Tegra USB host driver is using instance number for resetting
PORT0 twice, adding a new DT property for handling this.

Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Venu Byravarasu 12 years ago
parent
commit
b4e074788a

+ 2 - 0
Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt

@@ -27,3 +27,5 @@ Optional properties:
     registers are accessed through the APB_MISC base address instead of
     the USB controller. Since this is a legacy issue it probably does not
     warrant a compatible string of its own.
+  - nvidia,needs-double-reset : boolean is to be set for some of the Tegra2
+    USB ports, which need reset twice due to hardware issues.

+ 1 - 0
arch/arm/boot/dts/tegra20.dtsi

@@ -407,6 +407,7 @@
 		phy_type = "utmi";
 		nvidia,has-legacy-mode;
 		clocks = <&tegra_car 22>;
+		nvidia,needs-double-reset;
 		status = "disabled";
 	};