xref: /linux/Documentation/devicetree/bindings/display/imx/fsl,imx-parallel-display.yaml (revision 05d32474ab547fb097cfe3f3eb00a2aa7cdf4067)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/imx/fsl,imx-parallel-display.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Parallel display support
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
13  compatible:
14    const: fsl,imx-parallel-display
15
16  interface-pix-fmt:
17    $ref: /schemas/types.yaml#/definitions/string
18    enum:
19      - rgb24
20      - rgb565
21      - bgr666
22      - lvds666
23
24  ddc:
25    $ref: /schemas/types.yaml#/definitions/phandle
26    description:
27      phandle describing the i2c bus handling the display data channel
28
29  '#address-cells':
30    const: 1
31
32  '#size-cells':
33    const: 0
34
35  port@0:
36    $ref: /schemas/graph.yaml#/$defs/port-base
37    unevaluatedProperties: false
38    description: input port connected to the IPU display interface
39
40  port@1:
41    $ref: /schemas/graph.yaml#/$defs/port-base
42    unevaluatedProperties: false
43    description: output port connected to a panel
44
45  port:
46    $ref: /schemas/graph.yaml#/properties/port
47    unevaluatedProperties: false
48    deprecated: true
49    description: input port connected to the IPU display interface, see port@0
50
51  display-timings:
52    $ref: /schemas/display/panel/display-timings.yaml#
53    unevaluatedProperties: false
54    deprecated: true
55
56required:
57  - compatible
58
59additionalProperties: false
60
61examples:
62  - |
63    display {
64        compatible = "fsl,imx-parallel-display";
65        #address-cells = <1>;
66        #size-cells = <0>;
67        interface-pix-fmt = "rgb24";
68
69        port@0 {
70            reg = <0>;
71
72            endpoint {
73                remote-endpoint = <&ipu_di0_disp0>;
74            };
75        };
76
77        port@1 {
78            reg = <1>;
79
80            endpoint {
81                remote-endpoint = <&panel_in>;
82            };
83        };
84    };
85
86