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

title: Freescale i.MX8qxp Display Controller Filter Unit

description: |
  5x5 FIR filter with 25 programmable coefficients.

  Typical applications are image blurring, sharpening or support for edge
  detection algorithms.

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

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

  reg:
    maxItems: 2

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

required:
  - compatible
  - reg
  - reg-names

additionalProperties: false

examples:
  - |
    filter@56180900 {
        compatible = "fsl,imx8qxp-dc-filter";
        reg = <0x56180900 0x10>, <0x56183800 0x30>;
        reg-names = "pec", "cfg";
    };
