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