xref: /freebsd/sys/contrib/device-tree/Bindings/display/connector/dvi-connector.yaml (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
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    description: Connection to controller providing DVI signals
40
41required:
42  - compatible
43  - port
44
45anyOf:
46  - required:
47      - analog
48  - required:
49      - digital
50
51additionalProperties: false
52
53examples:
54  - |
55    connector {
56        compatible = "dvi-connector";
57        label = "dvi";
58
59        digital;
60
61        ddc-i2c-bus = <&i2c3>;
62
63        port {
64            dvi_connector_in: endpoint {
65                remote-endpoint = <&tfp410_out>;
66            };
67        };
68    };
69
70...
71