# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/connector/dp-connector.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: DisplayPort Connector

maintainers:
  - Tomi Valkeinen <tomi.valkeinen@ti.com>

properties:
  compatible:
    const: dp-connector

  label: true

  type:
    enum:
      - full-size
      - mini

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

  dp-pwr-supply:
    description: Power supply for the DP_PWR pin

  port:
    $ref: /schemas/graph.yaml#/properties/port
    description: Connection to controller providing DP signals

required:
  - compatible
  - type
  - port

additionalProperties: false

examples:
  - |
    connector {
        compatible = "dp-connector";
        label = "dp0";
        type = "full-size";

        port {
            dp_connector_in: endpoint {
                remote-endpoint = <&dp_out>;
            };
        };
    };

...
