xref: /linux/Documentation/devicetree/bindings/display/connector/dp-connector.yaml (revision 55a42f78ffd386e01a5404419f8c5ded7db70a21)
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
7title: DisplayPort Connector
8
9maintainers:
10  - Tomi Valkeinen <tomi.valkeinen@ti.com>
11
12properties:
13  compatible:
14    const: dp-connector
15
16  label: true
17
18  type:
19    enum:
20      - full-size
21      - mini
22
23  hpd-gpios:
24    description: A GPIO line connected to HPD
25    maxItems: 1
26
27  dp-pwr-supply:
28    description: Power supply for the DP_PWR pin
29
30  port:
31    $ref: /schemas/graph.yaml#/properties/port
32    description: Connection to controller providing DP signals
33
34  ports:
35    $ref: /schemas/graph.yaml#/properties/ports
36    description: OF graph representation of signales routed to DP connector
37
38    properties:
39      port@0:
40        $ref: /schemas/graph.yaml#/properties/port
41        description: Connection to controller providing DP signals
42
43      port@1:
44        $ref: /schemas/graph.yaml#/properties/port
45        description: Connection to controller providing AUX signals
46
47    required:
48      - port@0
49      - port@1
50
51required:
52  - compatible
53  - type
54
55oneOf:
56  - required:
57      - port
58  - required:
59      - ports
60
61additionalProperties: false
62
63examples:
64  - |
65    connector {
66        compatible = "dp-connector";
67        label = "dp0";
68        type = "full-size";
69
70        port {
71            dp_connector_in: endpoint {
72                remote-endpoint = <&dp_out>;
73            };
74        };
75    };
76
77  - |
78    /* DP connecttor being driven by the USB+DP combo PHY */
79    connector {
80        compatible = "dp-connector";
81        label = "dp0";
82        type = "full-size";
83
84        ports {
85            #address-cells = <1>;
86            #size-cells = <0>;
87
88            port@0 {
89                reg = <0>;
90
91                endpoint {
92                    remote-endpoint = <&phy_ss_out>;
93                };
94            };
95
96            port@1 {
97                reg = <1>;
98
99                endpoint {
100                    remote-endpoint = <&phy_sbu_out>;
101                };
102            };
103        };
104    };
105...
106