dt-bindings: display: Convert connectors to DT schema
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / display / connector / hdmi-connector.yaml
1 # SPDX-License-Identifier: GPL-2.0-only
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/connector/hdmi-connector.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: HDMI Connector
8
9 maintainers:
10   - Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
11
12 properties:
13   compatible:
14     const: hdmi-connector
15
16   type:
17     description: The HDMI connector type
18     enum:
19       - a   # Standard full size
20       - b   # Never deployed?
21       - c   # Mini
22       - d   # Micro
23       - e   # automotive
24
25   label: true
26
27   hpd-gpios:
28     description: A GPIO line connected to HPD
29     maxItems: 1
30
31   ddc-i2c-bus:
32     description: phandle link to the I2C controller used for DDC EDID probing
33     $ref: /schemas/types.yaml#/definitions/phandle
34
35   ddc-en-gpios:
36     description: GPIO signal to enable DDC bus
37     maxItems: 1
38
39   port:
40     description: Connection to controller providing HDMI signals
41
42 required:
43   - compatible
44   - port
45   - type
46
47 additionalProperties: false
48
49 examples:
50   - |
51     connector {
52         compatible = "hdmi-connector";
53         label = "hdmi";
54
55         type = "a";
56
57         port {
58             hdmi_connector_in: endpoint {
59                 remote-endpoint = <&tpd12s015_out>;
60             };
61         };
62     };
63
64 ...