075-dt-bindings-phy-qcom-ipq4019-usb-add-binding-documen.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 5f01733dc755dfadfa51b7b3c6c160e632fc6002 Mon Sep 17 00:00:00 2001
  2. From: John Crispin <[email protected]>
  3. Date: Tue, 24 Jul 2018 15:09:36 +0200
  4. Subject: [PATCH 1/3] dt-bindings: phy-qcom-ipq4019-usb: add binding document
  5. This patch adds the binding documentation for the HS/SS USB PHY found
  6. inside Qualcom Dakota SoCs.
  7. Signed-off-by: John Crispin <[email protected]>
  8. ---
  9. .../bindings/phy/phy-qcom-ipq4019-usb.txt | 21 +++++++++++++++++++++
  10. 1 file changed, 21 insertions(+)
  11. create mode 100644 Documentation/devicetree/bindings/phy/phy-qcom-ipq4019-usb.txt
  12. --- /dev/null
  13. +++ b/Documentation/devicetree/bindings/phy/phy-qcom-ipq4019-usb.txt
  14. @@ -0,0 +1,21 @@
  15. +Qualcom Dakota HS/SS USB PHY
  16. +
  17. +Required properties:
  18. + - compatible: "qcom,usb-ss-ipq4019-phy",
  19. + "qcom,usb-hs-ipq4019-phy"
  20. + - reg: offset and length of the registers
  21. + - #phy-cells: should be 0
  22. + - resets: the reset controllers as listed below
  23. + - reset-names: the names of the reset controllers
  24. + "por_rst" - the POR reset line for SS and HS phys
  25. + "srif_rst" - the SRIF reset line for HS phys
  26. +Example:
  27. +
  28. +hsphy@a8000 {
  29. + compatible = "qcom,usb-hs-ipq4019-phy";
  30. + phy-cells = <0>;
  31. + reg = <0xa8000 0x40>;
  32. + resets = <&gcc USB2_HSPHY_POR_ARES>,
  33. + <&gcc USB2_HSPHY_S_ARES>;
  34. + reset-names = "por_rst", "srif_rst";
  35. +};