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

title: Freescale i.MX8qxp Display Controller Constant Frame

description: |
  The Constant Frame unit is used instead of a Fetch unit where generation of
  constant color frames only is sufficient. This is the case for the background
  planes of content and safety streams in a Display Controller.

  The color can be setup to any RGBA value.

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

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

  reg:
    maxItems: 2

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

required:
  - compatible
  - reg
  - reg-names

additionalProperties: false

examples:
  - |
    constframe@56180960 {
        compatible = "fsl,imx8qxp-dc-constframe";
        reg = <0x56180960 0xc>, <0x56184400 0x20>;
        reg-names = "pec", "cfg";
    };
