xref: /freebsd/sys/contrib/device-tree/Bindings/display/imx/fsl,imx8qxp-dc-matrix.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-matrix.yaml#
5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*833e5d42SEmmanuel Vadot
7*833e5d42SEmmanuel Vadottitle: Freescale i.MX8qxp Display Controller Color Matrix
8*833e5d42SEmmanuel Vadot
9*833e5d42SEmmanuel Vadotdescription:
10*833e5d42SEmmanuel Vadot  The unit supports linear color transformation, alpha pre-multiply and
11*833e5d42SEmmanuel Vadot  alpha masking.
12*833e5d42SEmmanuel Vadot
13*833e5d42SEmmanuel Vadotmaintainers:
14*833e5d42SEmmanuel Vadot  - Liu Ying <victor.liu@nxp.com>
15*833e5d42SEmmanuel Vadot
16*833e5d42SEmmanuel Vadotproperties:
17*833e5d42SEmmanuel Vadot  compatible:
18*833e5d42SEmmanuel Vadot    const: fsl,imx8qxp-dc-matrix
19*833e5d42SEmmanuel Vadot
20*833e5d42SEmmanuel Vadot  reg:
21*833e5d42SEmmanuel Vadot    minItems: 1
22*833e5d42SEmmanuel Vadot    maxItems: 2
23*833e5d42SEmmanuel Vadot
24*833e5d42SEmmanuel Vadot  reg-names:
25*833e5d42SEmmanuel Vadot    oneOf:
26*833e5d42SEmmanuel Vadot      - const: cfg      # matrix in display engine
27*833e5d42SEmmanuel Vadot      - items:          # matrix in pixel engine
28*833e5d42SEmmanuel Vadot          - const: pec
29*833e5d42SEmmanuel Vadot          - const: cfg
30*833e5d42SEmmanuel Vadot
31*833e5d42SEmmanuel Vadotrequired:
32*833e5d42SEmmanuel Vadot  - compatible
33*833e5d42SEmmanuel Vadot  - reg
34*833e5d42SEmmanuel Vadot  - reg-names
35*833e5d42SEmmanuel Vadot
36*833e5d42SEmmanuel VadotadditionalProperties: false
37*833e5d42SEmmanuel Vadot
38*833e5d42SEmmanuel Vadotexamples:
39*833e5d42SEmmanuel Vadot  - |
40*833e5d42SEmmanuel Vadot    matrix@5618bc00 {
41*833e5d42SEmmanuel Vadot        compatible = "fsl,imx8qxp-dc-matrix";
42*833e5d42SEmmanuel Vadot        reg = <0x5618bc00 0x3c>;
43*833e5d42SEmmanuel Vadot        reg-names = "cfg";
44*833e5d42SEmmanuel Vadot    };
45