xref: /linux/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dc-extdst.yaml (revision 8d2b0853add1d7534dc0794e3c8e0b9e8c4ec640)
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,imx8qxp-dc-extdst.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale i.MX8qxp Display Controller External Destination Interface
8
9description: |
10  The External Destination unit is the interface between the internal pixel
11  processing pipeline of the Pixel Engine, which is 30-bit RGB plus 8-bit Alpha,
12  and a Display Engine.
13
14  It comprises the following built-in Gamma apply function.
15
16  +------X-----------------------+
17  |      |          ExtDst Unit  |
18  |      V                       |
19  |  +-------+                   |
20  |  | Gamma |                   |
21  |  +-------+                   |
22  |      |                       |
23  |      V                       +
24  +------X-----------------------+
25
26  The output format is 24-bit RGB plus 1-bit Alpha. Conversion from 10 to 8
27  bits is done by LSBit truncation.  Alpha output bit is 1 for input 255, 0
28  otherwise.
29
30maintainers:
31  - Liu Ying <victor.liu@nxp.com>
32
33properties:
34  compatible:
35    const: fsl,imx8qxp-dc-extdst
36
37  reg:
38    maxItems: 2
39
40  reg-names:
41    items:
42      - const: pec
43      - const: cfg
44
45  interrupts:
46    maxItems: 3
47
48  interrupt-names:
49    items:
50      - const: shdload
51      - const: framecomplete
52      - const: seqcomplete
53
54required:
55  - compatible
56  - reg
57  - reg-names
58  - interrupts
59  - interrupt-names
60
61additionalProperties: false
62
63examples:
64  - |
65    extdst@56180980 {
66        compatible = "fsl,imx8qxp-dc-extdst";
67        reg = <0x56180980 0x1c>, <0x56184800 0x28>;
68        reg-names = "pec", "cfg";
69        interrupt-parent = <&dc0_intc>;
70        interrupts = <3>, <4>, <5>;
71        interrupt-names = "shdload", "framecomplete", "seqcomplete";
72    };
73