summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml
blob: cc7ea3c35c771420cb1dbec2f22b1b7644989ade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/panel/panel-common-dual.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Common Properties for Dual-Link Display Panels

maintainers:
  - Thierry Reding <thierry.reding@gmail.com>
  - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

description:
  Properties common for Panel IC supporting dual link panels.  Devices might
  support also single link.

allOf:
  - $ref: panel-common.yaml#

properties:
  ports:
    $ref: /schemas/graph.yaml#/properties/ports
    additionalProperties: false

    properties:
      port@0:
        $ref: /schemas/graph.yaml#/properties/port
        description: First link

      port@1:
        $ref: /schemas/graph.yaml#/properties/port
        description: Second link

      "#address-cells": true
      "#size-cells": true

    required:
      - port@0

# Single-panel setups are still allowed.
oneOf:
  - required:
      - ports
  - required:
      - port

additionalProperties: true