# SPDX-License-Identifier: GPL-2.0-only
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/connector/vga-connector.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: VGA Connector

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

properties:
  compatible:
    const: vga-connector

  label: true

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

  port:
    description: Connection to controller providing VGA signals

required:
  - compatible
  - port

additionalProperties: false

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

        ddc-i2c-bus = <&i2c3>;

        port {
            vga_connector_in: endpoint {
                remote-endpoint = <&adv7123_out>;
            };
        };
    };

...
