dp-connector.yaml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/display/connector/dp-connector.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: DisplayPort Connector
  7. maintainers:
  8. - Tomi Valkeinen <tomi.valkeinen@ti.com>
  9. properties:
  10. compatible:
  11. const: dp-connector
  12. label: true
  13. type:
  14. enum:
  15. - full-size
  16. - mini
  17. hpd-gpios:
  18. description: A GPIO line connected to HPD
  19. maxItems: 1
  20. dp-pwr-supply:
  21. description: Power supply for the DP_PWR pin
  22. port:
  23. $ref: /schemas/graph.yaml#/properties/port
  24. description: Connection to controller providing DP signals
  25. ports:
  26. $ref: /schemas/graph.yaml#/properties/ports
  27. description: OF graph representation of signales routed to DP connector
  28. properties:
  29. port@0:
  30. $ref: /schemas/graph.yaml#/properties/port
  31. description: Connection to controller providing DP signals
  32. port@1:
  33. $ref: /schemas/graph.yaml#/properties/port
  34. description: Connection to controller providing AUX signals
  35. required:
  36. - port@0
  37. - port@1
  38. required:
  39. - compatible
  40. - type
  41. oneOf:
  42. - required:
  43. - port
  44. - required:
  45. - ports
  46. additionalProperties: false
  47. examples:
  48. - |
  49. connector {
  50. compatible = "dp-connector";
  51. label = "dp0";
  52. type = "full-size";
  53. port {
  54. dp_connector_in: endpoint {
  55. remote-endpoint = <&dp_out>;
  56. };
  57. };
  58. };
  59. - |
  60. /* DP connecttor being driven by the USB+DP combo PHY */
  61. connector {
  62. compatible = "dp-connector";
  63. label = "dp0";
  64. type = "full-size";
  65. ports {
  66. #address-cells = <1>;
  67. #size-cells = <0>;
  68. port@0 {
  69. reg = <0>;
  70. endpoint {
  71. remote-endpoint = <&phy_ss_out>;
  72. };
  73. };
  74. port@1 {
  75. reg = <1>;
  76. endpoint {
  77. remote-endpoint = <&phy_sbu_out>;
  78. };
  79. };
  80. };
  81. };
  82. ...