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

title: Freescale i.MX8qxp Display Controller Raster Operation Unit

description: |
  The unit can combine up to three input frames to a single output frame, all
  having the same dimension.

  The unit supports logic operations, arithmetic operations and packing.

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

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

  reg:
    maxItems: 2

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

required:
  - compatible
  - reg
  - reg-names

additionalProperties: false

examples:
  - |
    rop@56180860 {
        compatible = "fsl,imx8qxp-dc-rop";
        reg = <0x56180860 0x10>, <0x56182000 0x20>;
        reg-names = "pec", "cfg";
    };
