xref: /freebsd/sys/contrib/device-tree/Bindings/display/connector/dvi-connector.yaml (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/connector/dvi-connector.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: DVI Connector
8
9maintainers:
10  - Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
11
12properties:
13  compatible:
14    const: dvi-connector
15
16  label: true
17
18  hpd-gpios:
19    description: A GPIO line connected to HPD
20    maxItems: 1
21
22  ddc-i2c-bus:
23    description: phandle link to the I2C controller used for DDC EDID probing
24    $ref: /schemas/types.yaml#/definitions/phandle
25
26  analog:
27    type: boolean
28    description: the connector has DVI analog pins
29
30  digital:
31    type: boolean
32    description: the connector has DVI digital pins
33
34  dual-link:
35    type: boolean
36    description: the connector has pins for DVI dual-link
37
38  port:
39    $ref: /schemas/graph.yaml#/properties/port
40    description: Connection to controller providing DVI signals
41
42required:
43  - compatible
44  - port
45
46anyOf:
47  - required:
48      - analog
49  - required:
50      - digital
51
52additionalProperties: false
53
54examples:
55  - |
56    connector {
57        compatible = "dvi-connector";
58        label = "dvi";
59
60        digital;
61
62        ddc-i2c-bus = <&i2c3>;
63
64        port {
65            dvi_connector_in: endpoint {
66                remote-endpoint = <&tfp410_out>;
67            };
68        };
69    };
70
71...
72