# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-clut.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale i.MX8qxp Display Controller Color Lookup Table

description: |
  The unit implements 3 look-up tables with 256 x 10 bit entries each. These
  can be used for different kinds of applications. From 10-bit input values
  only upper 8 bits are used.

  The unit supports color lookup, index lookup, dithering and alpha masking.

maintainers:
  - Liu Ying <victor.liu@nxp.com>

properties:
  compatible:
    const: fsl,imx8qxp-dc-clut

  reg:
    maxItems: 2

  reg-names:
    items:
      - const: pec
      - const: cfg

required:
  - compatible
  - reg
  - reg-names

additionalProperties: false

examples:
  - |
    clut@56180880 {
        compatible = "fsl,imx8qxp-dc-clut";
        reg = <0x56180880 0x10>, <0x56182400 0x404>;
        reg-names = "pec", "cfg";
    };
