summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/display/connector/dvi-connector.yaml
blob: 71cb9220fa593e500df65b09c67e50d4611b91ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# SPDX-License-Identifier: GPL-2.0-only
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/connector/dvi-connector.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: DVI Connector

maintainers:
  - Laurent Pinchart <Laurent.pinchart@ideasonboard.com>

properties:
  compatible:
    const: dvi-connector

  label: true

  hpd-gpios:
    description: A GPIO line connected to HPD
    maxItems: 1

  ddc-i2c-bus:
    description: phandle link to the I2C controller used for DDC EDID probing
    $ref: /schemas/types.yaml#/definitions/phandle

  analog:
    type: boolean
    description: the connector has DVI analog pins

  digital:
    type: boolean
    description: the connector has DVI digital pins

  dual-link:
    type: boolean
    description: the connector has pins for DVI dual-link

  port:
    description: Connection to controller providing DVI signals

required:
  - compatible
  - port

anyOf:
  - required:
      - analog
  - required:
      - digital

additionalProperties: false

examples:
  - |
    connector {
        compatible = "dvi-connector";
        label = "dvi";

        digital;

        ddc-i2c-bus = <&i2c3>;

        port {
            dvi_connector_in: endpoint {
                remote-endpoint = <&tfp410_out>;
            };
        };
    };

...