b675542323
Now that we have a graph schema, rework the display related schemas to use it. Mostly this is adding a reference to graph.yaml and dropping duplicate parts from schemas. In panel-common.yaml, 'ports' is dropped. Any binding using 'ports' should be one with more than 1 port node, and the binding must define what each port is. Note that ti,sn65dsi86.yaml, ti,tfp410,yaml and toshiba,tc358768.yaml will need further updates to use video-interfaces.yaml once that lands. Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Cc: Maxime Ripard <mripard@kernel.org> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210104180724.2275098-1-robh@kernel.org
72 lines
1.3 KiB
YAML
72 lines
1.3 KiB
YAML
# 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:
|
|
$ref: /schemas/graph.yaml#/properties/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>;
|
|
};
|
|
};
|
|
};
|
|
|
|
...
|