mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 06:39:05 +00:00

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
48 lines
942 B
YAML
48 lines
942 B
YAML
# 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:
|
|
$ref: /schemas/graph.yaml#/properties/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>;
|
|
};
|
|
};
|
|
};
|
|
|
|
...
|