OSDN Git Service

ARM: dts: msm: Update QUSB2 PHY device node for host mode on msmcobalt
authorDevdutt Patnaik <dpatnaik@codeaurora.org>
Tue, 28 Jun 2016 23:13:52 +0000 (16:13 -0700)
committerHemant Kumar <hemantk@codeaurora.org>
Wed, 20 Jul 2016 18:33:56 +0000 (11:33 -0700)
Update the device node for QUSB2 PHY with the recommended
register initialization sequence for host mode.
This is needed to fix HS enumeration issues due to port
reset failure.

Change-Id: I8cfed672ff02cd61beb956116f9fcd365211cf11
Signed-off-by: Devdutt Patnaik <dpatnaik@codeaurora.org>
arch/arm/boot/dts/qcom/msmcobalt-cdp.dts
arch/arm/boot/dts/qcom/msmcobalt-mtp.dts

index aebd9a1..c8402ba 100644 (file)
        compatible = "qcom,msmcobalt-cdp", "qcom,msmcobalt", "qcom,cdp";
        qcom,board-id = <1 0>;
 };
+
+&qusb_phy0 {
+       qcom,qusb-phy-host-init-seq =
+                       /* value reg_offsets> */
+                               <0x63 0x210
+                               0x13 0x04
+                               0x7c 0x18c
+                               0x80 0x2c
+                               0x0a 0x184
+                               0x8c 0x21c
+                               0x05 0x23c
+                               0x03 0x240
+                               0xff 0x218
+                               0x62 0x210>;
+};
index e5708fc..89ef72c 100644 (file)
        compatible = "qcom,msmcobalt-mtp", "qcom,msmcobalt", "qcom,mtp";
        qcom,board-id = <8 0>;
 };
+
+&qusb_phy0 {
+       qcom,qusb-phy-host-init-seq =
+                       /* value reg_offsets> */
+                               <0x63 0x210
+                               0x13 0x04
+                               0x7c 0x18c
+                               0x80 0x2c
+                               0x0a 0x184
+                               0x8c 0x21c
+                               0x05 0x23c
+                               0x03 0x240
+                               0xff 0x218
+                               0x62 0x210>;
+};