summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/display/fsl,ls1021a-dcu.yaml
blob: 6ac5ababbe009a9b69a5001b0eface2cfcd7f476 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/fsl,ls1021a-dcu.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale DCU DRM Driver

maintainers:
  - Frank Li <Frank.Li@nxp.com>

properties:
  compatible:
    enum:
      - fsl,ls1021a-dcu
      - fsl,vf610-dcu

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 2

  clock-names:
    items:
      - const: dcu
      - const: pix

  big-endian: true

  port:
    $ref: /schemas/graph.yaml#/$defs/port-base
    unevaluatedProperties: false
    description: Video port for the panel output

    properties:
      endpoint:
        $ref: /schemas/media/video-interfaces.yaml#
        unevaluatedProperties: false

  fsl,tcon:
    $ref: /schemas/types.yaml#/definitions/phandle
    description: The phandle to the timing controller node.

  display:
    $ref: /schemas/types.yaml#/definitions/phandle
    description: phandle to display panel
    deprecated: true

  display0:
    $ref: panel/panel-common.yaml#
    deprecated: true

required:
  - compatible
  - reg
  - clocks
  - clock-names

additionalProperties: false

allOf:
  - if:
      not:
        properties:
          compatible:
            contains:
              enum:
                - fsl,ls1021a-dcu
    then:
      properties:
        display: false
        display0: false

examples:
  - |
    display-controller@2ce0000 {
        compatible = "fsl,ls1021a-dcu";
        reg = <0x2ce0000 0x10000>;
        clocks = <&platform_clk 0>, <&platform_clk 0>;
        clock-names = "dcu", "pix";
        big-endian;
        fsl,tcon = <&tcon>;

        port {
            endpoint {
                remote-endpoint = <&panel_out>;
            };
        };
    };