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

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. diff --git a/Documentation/devicetree/bindings/phy/phy-qcom-ipq4019-usb.txt b/Documentation/devicetree/bindings/phy/phy-qcom-ipq4019-usb.txt
  13. new file mode 100644
  14. index 000000000000..362877fcafed
  15. --- /dev/null
  16. +++ b/Documentation/devicetree/bindings/phy/phy-qcom-ipq4019-usb.txt
  17. @@ -0,0 +1,21 @@
  18. +Qualcom Dakota HS/SS USB PHY
  19. +
  20. +Required properties:
  21. + - compatible: "qcom,usb-ss-ipq4019-phy",
  22. + "qcom,usb-hs-ipq4019-phy"
  23. + - reg: offset and length of the registers
  24. + - #phy-cells: should be 0
  25. + - resets: the reset controllers as listed below
  26. + - reset-names: the names of the reset controllers
  27. + "por_rst" - the POR reset line for SS and HS phys
  28. + "srif_rst" - the SRIF reset line for HS phys
  29. +Example:
  30. +
  31. +hsphy@a8000 {
  32. + compatible = "qcom,usb-hs-ipq4019-phy";
  33. + phy-cells = <0>;
  34. + reg = <0xa8000 0x40>;
  35. + resets = <&gcc USB2_HSPHY_POR_ARES>,
  36. + <&gcc USB2_HSPHY_S_ARES>;
  37. + reset-names = "por_rst", "srif_rst";
  38. +};
  39. --
  40. 2.11.0