PageRenderTime 14ms CodeModel.GetById 9ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Documentation/devicetree/bindings/phy/phy-msm-sata.txt

https://gitlab.com/webhaikal/SenseiFerrari
Plain Text | 40 lines | 34 code | 6 blank | 0 comment | 0 complexity | f53f37aef12c47cea24a0aa03a493338 MD5 | raw file
 1* MSM Serial Advanced Technology Attachment (SATA) PHY
 2
 3SATA PHY nodes are defined to describe on-chip SATA PHY hardware macro.
 4To bind SATA PHY with SATA host controller, the controller node should
 5contain a phandle reference to SATA PHY node.
 6Refer to generic phy bindings @
 7Documentation/devicetree/bindings/phy/phy-bindings.txt
 8
 9Required properties:
10- compatible        : compatible list, contains "qcom,sataphy"
11- reg               : <registers mapping>
12- reg-names         : corresponding register space names
13			"phy_mem" is mandatory
14			"phy_sel" is optional and is required only for UFS-SATA combo phy
15- #phy-cells        : shall be set to 0.
16- vdda-phy-supply   : phandle to main PHY supply for analog domain
17- vdda-pll-supply   : phandle to PHY PLL and Power-Gen block power supply
18
19Optional properties:
20- vdda-phy-max-microamp : specifies max. load that can be drawn from phy supply
21- vdda-pll-max-microamp : specifies max. load that can be drawn from pll supply
22
23Example:
24
25	sataphy0: sataphy@0xfc597000 {
26		compatible = "qcom,sataphy";
27		reg = <0xfc581000 0x400>, <0xfd4ab20c 0x4>;
28		reg-names = "phy_mem", "phy_sel";
29		#phy-cells = <0>;
30		vdda-phy-supply = <&pma8084_l4>;
31		vdda-pll-supply = <&pma8084_l12>;
32		vdda-phy-max-microamp = <50000>;
33		vdda-pll-max-microamp = <1000>;
34	};
35
36	sata@0xfc598000 {
37		...
38		phys = <&sataphy0>;
39		phy-names = "sata-6g";
40	};