xref: /freebsd/sys/contrib/device-tree/Bindings/display/imx/fsl,imx8qxp-dc-store.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-store.yaml#
5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*833e5d42SEmmanuel Vadot
7*833e5d42SEmmanuel Vadottitle: Freescale i.MX8qxp Display Controller Store Unit
8*833e5d42SEmmanuel Vadot
9*833e5d42SEmmanuel Vadotdescription: |
10*833e5d42SEmmanuel Vadot  The Store unit is the interface between the internal pixel processing
11*833e5d42SEmmanuel Vadot  pipeline, which is 30-bit RGB plus 8-bit Alpha, and the AXI bus for
12*833e5d42SEmmanuel Vadot  destination buffer access. It is used for the destination of Blit Engines.
13*833e5d42SEmmanuel Vadot  It comprises a set of built-in functions to generate a wide range of buffer
14*833e5d42SEmmanuel Vadot  formats. Note, that these are exactly inverse to corresponding functions in
15*833e5d42SEmmanuel Vadot  the Fetch Unit.
16*833e5d42SEmmanuel Vadot
17*833e5d42SEmmanuel Vadot  +------X-------------------------+
18*833e5d42SEmmanuel Vadot  |      |              Store Unit |
19*833e5d42SEmmanuel Vadot  |      V                         |
20*833e5d42SEmmanuel Vadot  |  +-------+                     |
21*833e5d42SEmmanuel Vadot  |  | Gamma | Gamma apply         |
22*833e5d42SEmmanuel Vadot  |  +-------+                     |
23*833e5d42SEmmanuel Vadot  |      |                         |
24*833e5d42SEmmanuel Vadot  |      V                         |
25*833e5d42SEmmanuel Vadot  |  +-------+                     |
26*833e5d42SEmmanuel Vadot  |  | Color | RGB to YUV          |
27*833e5d42SEmmanuel Vadot  |  +-------+                     |
28*833e5d42SEmmanuel Vadot  |      |                         |
29*833e5d42SEmmanuel Vadot  |      V                         |
30*833e5d42SEmmanuel Vadot  |  +-------+                     |
31*833e5d42SEmmanuel Vadot  |  | Chroma| YUV444 to 422       |
32*833e5d42SEmmanuel Vadot  |  +-------+                     |
33*833e5d42SEmmanuel Vadot  |      |                         |
34*833e5d42SEmmanuel Vadot  |      V                         |
35*833e5d42SEmmanuel Vadot  |  +-------+                     |
36*833e5d42SEmmanuel Vadot  |  | Reduce| Bit width reduction |
37*833e5d42SEmmanuel Vadot  |  |       | dithering           |
38*833e5d42SEmmanuel Vadot  |  +-------+                     |
39*833e5d42SEmmanuel Vadot  |      |                         |
40*833e5d42SEmmanuel Vadot  |      V                         |
41*833e5d42SEmmanuel Vadot  |  +-------+                     |
42*833e5d42SEmmanuel Vadot  |  | Pack  | RGBA/YUV to RAW     |
43*833e5d42SEmmanuel Vadot  |  | Encode| or Compression      |
44*833e5d42SEmmanuel Vadot  |  +-------+                     |
45*833e5d42SEmmanuel Vadot  |      |                         |
46*833e5d42SEmmanuel Vadot  |      V                         |
47*833e5d42SEmmanuel Vadot  +------X-------------------------+
48*833e5d42SEmmanuel Vadot
49*833e5d42SEmmanuel Vadotmaintainers:
50*833e5d42SEmmanuel Vadot  - Liu Ying <victor.liu@nxp.com>
51*833e5d42SEmmanuel Vadot
52*833e5d42SEmmanuel Vadotproperties:
53*833e5d42SEmmanuel Vadot  compatible:
54*833e5d42SEmmanuel Vadot    const: fsl,imx8qxp-dc-store
55*833e5d42SEmmanuel Vadot
56*833e5d42SEmmanuel Vadot  reg:
57*833e5d42SEmmanuel Vadot    maxItems: 2
58*833e5d42SEmmanuel Vadot
59*833e5d42SEmmanuel Vadot  reg-names:
60*833e5d42SEmmanuel Vadot    items:
61*833e5d42SEmmanuel Vadot      - const: pec
62*833e5d42SEmmanuel Vadot      - const: cfg
63*833e5d42SEmmanuel Vadot
64*833e5d42SEmmanuel Vadot  interrupts:
65*833e5d42SEmmanuel Vadot    maxItems: 3
66*833e5d42SEmmanuel Vadot
67*833e5d42SEmmanuel Vadot  interrupt-names:
68*833e5d42SEmmanuel Vadot    items:
69*833e5d42SEmmanuel Vadot      - const: shdload
70*833e5d42SEmmanuel Vadot      - const: framecomplete
71*833e5d42SEmmanuel Vadot      - const: seqcomplete
72*833e5d42SEmmanuel Vadot
73*833e5d42SEmmanuel Vadot  fsl,lts:
74*833e5d42SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
75*833e5d42SEmmanuel Vadot    description:
76*833e5d42SEmmanuel Vadot      Optional Linear Tile Store associated with the Store Unit.
77*833e5d42SEmmanuel Vadot
78*833e5d42SEmmanuel Vadotrequired:
79*833e5d42SEmmanuel Vadot  - compatible
80*833e5d42SEmmanuel Vadot  - reg
81*833e5d42SEmmanuel Vadot  - reg-names
82*833e5d42SEmmanuel Vadot  - interrupts
83*833e5d42SEmmanuel Vadot  - interrupt-names
84*833e5d42SEmmanuel Vadot
85*833e5d42SEmmanuel VadotadditionalProperties: false
86*833e5d42SEmmanuel Vadot
87*833e5d42SEmmanuel Vadotexamples:
88*833e5d42SEmmanuel Vadot  - |
89*833e5d42SEmmanuel Vadot    store@56180940 {
90*833e5d42SEmmanuel Vadot        compatible = "fsl,imx8qxp-dc-store";
91*833e5d42SEmmanuel Vadot        reg = <0x56180940 0x1c>, <0x56184000 0x5c>;
92*833e5d42SEmmanuel Vadot        reg-names = "pec", "cfg";
93*833e5d42SEmmanuel Vadot        interrupt-parent = <&dc0_intc>;
94*833e5d42SEmmanuel Vadot        interrupts = <0>, <1>, <2>;
95*833e5d42SEmmanuel Vadot        interrupt-names = "shdload", "framecomplete", "seqcomplete";
96*833e5d42SEmmanuel Vadot    };
97