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