0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/media/ti,vpe.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Texas Instruments DRA7x Video Processing Engine (VPE) Device Tree Bindings
0008
0009 maintainers:
0010 - Benoit Parrot <bparrot@ti.com>
0011
0012 description: |-
0013 The Video Processing Engine (VPE) is a key component for image post
0014 processing applications. VPE consist of a single memory to memory
0015 path which can perform chroma up/down sampling, deinterlacing,
0016 scaling and color space conversion.
0017
0018 properties:
0019 compatible:
0020 const: ti,dra7-vpe
0021
0022 reg:
0023 items:
0024 - description: The VPE main register region
0025 - description: Scaler (SC) register region
0026 - description: Color Space Conversion (CSC) register region
0027 - description: Video Port Direct Memory Access (VPDMA) register region
0028
0029 reg-names:
0030 items:
0031 - const: vpe_top
0032 - const: sc
0033 - const: csc
0034 - const: vpdma
0035
0036 interrupts:
0037 maxItems: 1
0038
0039 required:
0040 - compatible
0041 - reg
0042 - reg-names
0043 - interrupts
0044
0045 additionalProperties: false
0046
0047 examples:
0048 - |
0049 #include <dt-bindings/interrupt-controller/arm-gic.h>
0050
0051 vpe: vpe@489d0000 {
0052 compatible = "ti,dra7-vpe";
0053 reg = <0x489d0000 0x120>,
0054 <0x489d0700 0x80>,
0055 <0x489d5700 0x18>,
0056 <0x489dd000 0x400>;
0057 reg-names = "vpe_top",
0058 "sc",
0059 "csc",
0060 "vpdma";
0061 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
0062 };
0063
0064 ...