xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/panel-common-dual.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/panel-common-dual.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Common Properties for Dual-Link Display Panels
8
9maintainers:
10  - Thierry Reding <thierry.reding@gmail.com>
11  - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
12
13description:
14  Properties common for Panel IC supporting dual link panels.  Devices might
15  support also single link.
16
17allOf:
18  - $ref: panel-common.yaml#
19
20properties:
21  ports:
22    $ref: /schemas/graph.yaml#/properties/ports
23    additionalProperties: false
24
25    properties:
26      port@0:
27        $ref: /schemas/graph.yaml#/properties/port
28        description: First link
29
30      port@1:
31        $ref: /schemas/graph.yaml#/properties/port
32        description: Second link
33
34      "#address-cells": true
35      "#size-cells": true
36
37    required:
38      - port@0
39
40# Single-panel setups are still allowed.
41oneOf:
42  - required:
43      - ports
44  - required:
45      - port
46
47additionalProperties: true
48