ARM: dts: msm: Add QMP PHY related initialization sequence for MSM8996

This change adds required QMP PHY related initialization from devicetree
instead of using getting revision based sequence from QMP PHY driver.

Signed-off-by: Mayank Rana <mrana@codeaurora.org>
This commit is contained in:
Mayank Rana 2016-03-17 16:06:58 -07:00 committed by David Keitel
parent 5d5f979578
commit 6f339ff0ab
2 changed files with 114 additions and 1 deletions

View file

@ -727,5 +727,62 @@
};
&ssphy {
qcom,qmp-misc-config;
qcom,qmp-phy-init-seq =
/* <reg_offset, value, delay> */
<0xac 0x14 0x00 /* common block settings */
0x34 0x08 0x00
0x174 0x30 0x00
0x194 0x06 0x00
0x19c 0x01 0x00
0x178 0x01 0x00 /* change */
0x70 0x0f 0x00
0x48 0x0f 0x00
0x3c 0x04 0x00
0xd0 0x82 0x00 /* pll and loop filter settings*/
0xdc 0x55 0x00
0xe0 0x55 0x00
0xe4 0x03 0x00
0x78 0x0b 0x00
0x84 0x16 0x00
0x90 0x28 0x00
0x108 0x80 0x00
0x124 0x00 0x00
0x4c 0x15 0x00
0x50 0x34 0x00
0x18c 0x00 0x00
0xcc 0x00 0x00
0x128 0x00 0x00
0x0c 0x0a 0x00
0x10 0x01 0x00 /* ssc settings */
0x1c 0x31 0x00
0x20 0x01 0x00
0x14 0x00 0x00
0x18 0x00 0x00
0x24 0xde 0x00
0x28 0x07 0x00
0x440 0x0b 0x00 /* Rx settings */
0x41c 0x04 0x00
0x4d8 0x02 0x00
0x4dc 0x4c 0x00
0x4e0 0xbb 0x00
0x508 0x77 0x00
0x50c 0x80 0x00
0x514 0x03 0x00
0x518 0x1b 0x00 /* change */
0x51c 0x16 0x00
0x268 0x45 0x00 /* Tx settings */
0x2ac 0x12 0x00
0x294 0x06 0x00
0x6c4 0x03 0x00 /* FLL settings */
0x6c0 0x02 0x00
0x6c8 0x09 0x00
0x6cc 0x42 0x00
0x6d0 0x85 0x00
0x680 0xd1 0x00 /* Lock Det settings */
0x684 0x1f 0x00
0x688 0x47 0x00
0x664 0x08 0x00
0xc4 0x15 0x00 /* res_code settings */
0x1b8 0x1f 0x00
0xffffffff 0xffffffff 0x00>;
};

View file

@ -2136,6 +2136,62 @@
vdda18-supply = <&pm8994_l12>;
qcom,vdd-voltage-level = <0 925000 925000>;
qcom,vbus-valid-override;
qcom,qmp-phy-init-seq =
/* <reg_offset, value, delay> */
<0xac 0x14 0x00 /* common block settings */
0x34 0x08 0x00
0x174 0x30 0x00
0x194 0x06 0x00
0x19c 0x01 0x00
0x178 0x00 0x00
0x70 0x0f 0x00
0x48 0x0f 0x00
0x3c 0x04 0x00
0xd0 0x82 0x00 /* pll and loop filter settings*/
0xdc 0x55 0x00
0xe0 0x55 0x00
0xe4 0x03 0x00
0x78 0x0b 0x00
0x84 0x16 0x00
0x90 0x28 0x00
0x108 0x80 0x00
0x124 0x00 0x00
0x4c 0x15 0x00
0x50 0x34 0x00
0x18c 0x00 0x00
0xcc 0x00 0x00
0x128 0x00 0x00
0x0c 0x0a 0x00
0x10 0x01 0x00 /* ssc settings */
0x1c 0x31 0x00
0x20 0x01 0x00
0x14 0x00 0x00
0x18 0x00 0x00
0x24 0xde 0x00
0x28 0x07 0x00
0x440 0x0b 0x00 /* Rx settings */
0x41c 0x04 0x00
0x4d8 0x02 0x00
0x4dc 0x4c 0x00
0x4e0 0xbb 0x00
0x508 0x77 0x00
0x50c 0x80 0x00
0x514 0x03 0x00
0x518 0x18 0x00
0x51c 0x16 0x00
0x268 0x45 0x00 /* Tx settings */
0x2ac 0x12 0x00
0x294 0x06 0x00
0x6c4 0x03 0x00 /* FLL settings */
0x6c0 0x02 0x00
0x6c8 0x09 0x00
0x6cc 0x42 0x00
0x6d0 0x85 0x00
0x680 0xd1 0x00 /* Lock Det settings */
0x684 0x1f 0x00
0x688 0x47 0x00
0x664 0x08 0x00
0xffffffff 0xffffffff 0x00>;
qcom,qmp-phy-reg-offset =
<0x77c /* USB3_PHY_PCS_STATUS */