aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/display/imx/fsl,imx-parallel-display.yaml
blob: bbcfe7e2958b700f318010ab6554ca7358b4e1d6 (plain) (blame)
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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/imx/fsl,imx-parallel-display.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Parallel display support

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

properties:
  compatible:
    const: fsl,imx-parallel-display

  interface-pix-fmt:
    $ref: /schemas/types.yaml#/definitions/string
    enum:
      - rgb24
      - rgb565
      - bgr666
      - lvds666

  ddc:
    $ref: /schemas/types.yaml#/definitions/phandle
    description:
      phandle describing the i2c bus handling the display data channel

  '#address-cells':
    const: 1

  '#size-cells':
    const: 0

  port@0:
    $ref: /schemas/graph.yaml#/$defs/port-base
    unevaluatedProperties: false
    description: input port connected to the IPU display interface

  port@1:
    $ref: /schemas/graph.yaml#/$defs/port-base
    unevaluatedProperties: false
    description: output port connected to a panel

required:
  - compatible

additionalProperties: false

examples:
  - |
    display {
        compatible = "fsl,imx-parallel-display";
        #address-cells = <1>;
        #size-cells = <0>;
        interface-pix-fmt = "rgb24";

        port@0 {
            reg = <0>;

            endpoint {
                remote-endpoint = <&ipu_di0_disp0>;
            };
        };

        port@1 {
            reg = <1>;

            endpoint {
                remote-endpoint = <&panel_in>;
            };
        };
    };