18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28c2ecf20Sopenharmony_ci%YAML 1.2
38c2ecf20Sopenharmony_ci---
48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/media/ti,vpe.yaml#
58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_cititle: Texas Instruments DRA7x Video Processing Engine (VPE) Device Tree Bindings
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cimaintainers:
108c2ecf20Sopenharmony_ci  - Benoit Parrot <bparrot@ti.com>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_cidescription: |-
138c2ecf20Sopenharmony_ci  The Video Processing Engine (VPE) is a key component for image post
148c2ecf20Sopenharmony_ci  processing applications. VPE consist of a single memory to memory
158c2ecf20Sopenharmony_ci  path which can perform chroma up/down sampling, deinterlacing,
168c2ecf20Sopenharmony_ci  scaling and color space conversion.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciproperties:
198c2ecf20Sopenharmony_ci  compatible:
208c2ecf20Sopenharmony_ci    const: ti,dra7-vpe
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci  reg:
238c2ecf20Sopenharmony_ci    items:
248c2ecf20Sopenharmony_ci      - description: The VPE main register region
258c2ecf20Sopenharmony_ci      - description: Scaler (SC) register region
268c2ecf20Sopenharmony_ci      - description: Color Space Conversion (CSC) register region
278c2ecf20Sopenharmony_ci      - description: Video Port Direct Memory Access (VPDMA) register region
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci  reg-names:
308c2ecf20Sopenharmony_ci    items:
318c2ecf20Sopenharmony_ci      - const: vpe_top
328c2ecf20Sopenharmony_ci      - const: sc
338c2ecf20Sopenharmony_ci      - const: csc
348c2ecf20Sopenharmony_ci      - const: vpdma
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci  interrupts:
378c2ecf20Sopenharmony_ci    maxItems: 1
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_cirequired:
408c2ecf20Sopenharmony_ci  - compatible
418c2ecf20Sopenharmony_ci  - reg
428c2ecf20Sopenharmony_ci  - reg-names
438c2ecf20Sopenharmony_ci  - interrupts
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ciadditionalProperties: false
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ciexamples:
488c2ecf20Sopenharmony_ci  - |
498c2ecf20Sopenharmony_ci    #include <dt-bindings/interrupt-controller/arm-gic.h>
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ci    vpe: vpe@489d0000 {
528c2ecf20Sopenharmony_ci        compatible = "ti,dra7-vpe";
538c2ecf20Sopenharmony_ci        reg = <0x489d0000 0x120>,
548c2ecf20Sopenharmony_ci              <0x489d0700 0x80>,
558c2ecf20Sopenharmony_ci              <0x489d5700 0x18>,
568c2ecf20Sopenharmony_ci              <0x489dd000 0x400>;
578c2ecf20Sopenharmony_ci        reg-names = "vpe_top",
588c2ecf20Sopenharmony_ci                    "sc",
598c2ecf20Sopenharmony_ci                    "csc",
608c2ecf20Sopenharmony_ci                    "vpdma";
618c2ecf20Sopenharmony_ci        interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
628c2ecf20Sopenharmony_ci    };
638c2ecf20Sopenharmony_ci
648c2ecf20Sopenharmony_ci...
65