Hi Peter,
On Wed, Mar 5, 2014 at 10:33 PM, Peter Chen <[email protected]> wrote:
> The nop phy driver is at: drivers/usb/phy/phy-generic.c
> The compatible string is: "usb-nop-xceiv"
This is not enough.
Here are my changes:
diff --git a/arch/arm/boot/dts/imx25-pdk.dts b/arch/arm/boot/dts/imx25-pdk.dts
index 7a6d21f..fc91592 100644
--- a/arch/arm/boot/dts/imx25-pdk.dts
+++ b/arch/arm/boot/dts/imx25-pdk.dts
@@ -107,3 +107,8 @@
fsl,uart-has-rtscts;
status = "okay";
};
+
+&usbhost1 {
+ external-vbus-divider;
+ status = "okay";
+};
diff --git a/arch/arm/boot/dts/imx25.dtsi b/arch/arm/boot/dts/imx25.dtsi
index 32f760e..11198af 100644
--- a/arch/arm/boot/dts/imx25.dtsi
+++ b/arch/arm/boot/dts/imx25.dtsi
@@ -482,13 +482,17 @@
};
usbphy1: usbphy@1 {
- compatible = "nop-usbphy";
- status = "disabled";
+ compatible = "usb-nop-xceiv";
+ clocks = <&clks 0>;
+ clock-names = "main_clk";
+ status = "okay";
};
usbphy2: usbphy@2 {
- compatible = "nop-usbphy";
- status = "disabled";
usbphy2: usbphy@2 {
- compatible = "nop-usbphy";
- status = "disabled";
+ compatible = "usb-nop-xceiv";
+ clocks = <&clks 0>;
+ clock-names = "main_clk";
+ status = "okay";
};
usbotg: usb@53ff4000 {
@@ -498,6 +502,7 @@
clocks = <&clks 9>, <&clks 70>, <&clks 8>;
clock-names = "ipg", "ahb", "per";
fsl,usbmisc = <&usbmisc 0>;
+ fsl,usbphy = <&usbphy1>;
status = "disabled";
};
@@ -508,6 +513,7 @@
clocks = <&clks 9>, <&clks 70>, <&clks 8>;
clock-names = "ipg", "ahb", "per";
fsl,usbmisc = <&usbmisc 1>;
+ fsl,usbphy = <&usbphy2>;
status = "disabled";
};
,and then it fails at:
imx_usb 53ff4400.usb: usbmisc init failed, ret=-517
platform 53ff4400.usb: Driver imx_usb requests probe deferral
Any other idea?
Regards,
Fabio Estevam
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html