0087-dt-bindings-phy-Add-StarFive-JH7110-USB-PHY.patch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. From 2ebd77fa8fb95f60b275cefb98ea7d6f4df06e55 Mon Sep 17 00:00:00 2001
  2. From: Minda Chen <[email protected]>
  3. Date: Thu, 18 May 2023 19:27:44 +0800
  4. Subject: [PATCH 087/122] dt-bindings: phy: Add StarFive JH7110 USB PHY
  5. Add StarFive JH7110 SoC USB 2.0 PHY dt-binding.
  6. Signed-off-by: Minda Chen <[email protected]>
  7. Reviewed-by: Hal Feng <[email protected]>
  8. Reviewed-by: Rob Herring <[email protected]>
  9. ---
  10. .../bindings/phy/starfive,jh7110-usb-phy.yaml | 50 +++++++++++++++++++
  11. 1 file changed, 50 insertions(+)
  12. create mode 100644 Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml
  13. --- /dev/null
  14. +++ b/Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml
  15. @@ -0,0 +1,50 @@
  16. +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  17. +%YAML 1.2
  18. +---
  19. +$id: http://devicetree.org/schemas/phy/starfive,jh7110-usb-phy.yaml#
  20. +$schema: http://devicetree.org/meta-schemas/core.yaml#
  21. +
  22. +title: StarFive JH7110 USB 2.0 PHY
  23. +
  24. +maintainers:
  25. + - Minda Chen <[email protected]>
  26. +
  27. +properties:
  28. + compatible:
  29. + const: starfive,jh7110-usb-phy
  30. +
  31. + reg:
  32. + maxItems: 1
  33. +
  34. + "#phy-cells":
  35. + const: 0
  36. +
  37. + clocks:
  38. + items:
  39. + - description: PHY 125m
  40. + - description: app 125m
  41. +
  42. + clock-names:
  43. + items:
  44. + - const: 125m
  45. + - const: app_125m
  46. +
  47. +required:
  48. + - compatible
  49. + - reg
  50. + - clocks
  51. + - clock-names
  52. + - "#phy-cells"
  53. +
  54. +additionalProperties: false
  55. +
  56. +examples:
  57. + - |
  58. + phy@10200000 {
  59. + compatible = "starfive,jh7110-usb-phy";
  60. + reg = <0x10200000 0x10000>;
  61. + clocks = <&syscrg 95>,
  62. + <&stgcrg 6>;
  63. + clock-names = "125m", "app_125m";
  64. + #phy-cells = <0>;
  65. + };