xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunQualcomm's USB HS PHY
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunPROPERTIES
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun- compatible:
6*4882a593Smuzhiyun    Usage: required
7*4882a593Smuzhiyun    Value type: <string>
8*4882a593Smuzhiyun    Definition: Should contain "qcom,usb-hs-phy" and more specifically one of the
9*4882a593Smuzhiyun                following:
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun                        "qcom,usb-hs-phy-apq8064"
12*4882a593Smuzhiyun                        "qcom,usb-hs-phy-msm8916"
13*4882a593Smuzhiyun                        "qcom,usb-hs-phy-msm8974"
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun- #phy-cells:
16*4882a593Smuzhiyun    Usage: required
17*4882a593Smuzhiyun    Value type: <u32>
18*4882a593Smuzhiyun    Definition: Should contain 0
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun- clocks:
21*4882a593Smuzhiyun    Usage: required
22*4882a593Smuzhiyun    Value type: <prop-encoded-array>
23*4882a593Smuzhiyun    Definition: Should contain clock specifier for the reference and sleep
24*4882a593Smuzhiyun                clocks
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun- clock-names:
27*4882a593Smuzhiyun    Usage: required
28*4882a593Smuzhiyun    Value type: <stringlist>
29*4882a593Smuzhiyun    Definition: Should contain "ref" and "sleep" for the reference and sleep
30*4882a593Smuzhiyun                clocks respectively
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun- resets:
33*4882a593Smuzhiyun    Usage: required
34*4882a593Smuzhiyun    Value type: <prop-encoded-array>
35*4882a593Smuzhiyun    Definition: Should contain the phy and POR resets
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun- reset-names:
38*4882a593Smuzhiyun    Usage: required
39*4882a593Smuzhiyun    Value type: <stringlist>
40*4882a593Smuzhiyun    Definition: Should contain "phy" and "por" for the phy and POR resets
41*4882a593Smuzhiyun                respectively
42*4882a593Smuzhiyun
43*4882a593Smuzhiyun- v3p3-supply:
44*4882a593Smuzhiyun    Usage: required
45*4882a593Smuzhiyun    Value type: <phandle>
46*4882a593Smuzhiyun    Definition: Should contain a reference to the 3.3V supply
47*4882a593Smuzhiyun
48*4882a593Smuzhiyun- v1p8-supply:
49*4882a593Smuzhiyun    Usage: required
50*4882a593Smuzhiyun    Value type: <phandle>
51*4882a593Smuzhiyun    Definition: Should contain a reference to the 1.8V supply
52*4882a593Smuzhiyun
53*4882a593Smuzhiyun- extcon:
54*4882a593Smuzhiyun    Usage: optional
55*4882a593Smuzhiyun    Value type: <prop-encoded-array>
56*4882a593Smuzhiyun    Definition: Should contain the vbus extcon
57*4882a593Smuzhiyun
58*4882a593Smuzhiyun- qcom,init-seq:
59*4882a593Smuzhiyun    Usage: optional
60*4882a593Smuzhiyun    Value type: <u8 array>
61*4882a593Smuzhiyun    Definition: Should contain a sequence of ULPI address and value pairs to
62*4882a593Smuzhiyun                program into the ULPI_EXT_VENDOR_SPECIFIC area. This is related
63*4882a593Smuzhiyun                to Device Mode Eye Diagram test. The addresses are offsets
64*4882a593Smuzhiyun                from the ULPI_EXT_VENDOR_SPECIFIC address, for example,
65*4882a593Smuzhiyun                <0x1 0x53> would mean "write the value 0x53 to address 0x81".
66*4882a593Smuzhiyun
67*4882a593SmuzhiyunEXAMPLE
68*4882a593Smuzhiyun
69*4882a593Smuzhiyunotg: usb-controller {
70*4882a593Smuzhiyun	ulpi {
71*4882a593Smuzhiyun		phy {
72*4882a593Smuzhiyun			compatible = "qcom,usb-hs-phy-msm8974", "qcom,usb-hs-phy";
73*4882a593Smuzhiyun			#phy-cells = <0>;
74*4882a593Smuzhiyun			clocks = <&xo_board>, <&gcc GCC_USB2A_PHY_SLEEP_CLK>;
75*4882a593Smuzhiyun			clock-names = "ref", "sleep";
76*4882a593Smuzhiyun			resets = <&gcc GCC_USB2A_PHY_BCR>, <&otg 0>;
77*4882a593Smuzhiyun			reset-names = "phy", "por";
78*4882a593Smuzhiyun			v3p3-supply = <&pm8941_l24>;
79*4882a593Smuzhiyun			v1p8-supply = <&pm8941_l6>;
80*4882a593Smuzhiyun			extcon = <&smbb>;
81*4882a593Smuzhiyun			qcom,init-seq = /bits/ 8 <0x1 0x63>;
82*4882a593Smuzhiyun		};
83*4882a593Smuzhiyun	};
84*4882a593Smuzhiyun};
85