xref: /linux/Documentation/devicetree/bindings/media/ti,vpe.yaml (revision ce01100c5d790f19b01e06d72eadb057eb95e4fa)
1*ce01100cSBenoit Parrot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ce01100cSBenoit Parrot%YAML 1.2
3*ce01100cSBenoit Parrot---
4*ce01100cSBenoit Parrot$id: http://devicetree.org/schemas/media/ti,vpe.yaml#
5*ce01100cSBenoit Parrot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ce01100cSBenoit Parrot
7*ce01100cSBenoit Parrottitle: Texas Instruments DRA7x Video Processing Engine (VPE) Device Tree Bindings
8*ce01100cSBenoit Parrot
9*ce01100cSBenoit Parrotmaintainers:
10*ce01100cSBenoit Parrot  - Benoit Parrot <bparrot@ti.com>
11*ce01100cSBenoit Parrot
12*ce01100cSBenoit Parrotdescription: |-
13*ce01100cSBenoit Parrot  The Video Processing Engine (VPE) is a key component for image post
14*ce01100cSBenoit Parrot  processing applications. VPE consist of a single memory to memory
15*ce01100cSBenoit Parrot  path which can perform chroma up/down sampling, deinterlacing,
16*ce01100cSBenoit Parrot  scaling and color space conversion.
17*ce01100cSBenoit Parrot
18*ce01100cSBenoit Parrotproperties:
19*ce01100cSBenoit Parrot  compatible:
20*ce01100cSBenoit Parrot      const: ti,dra7-vpe
21*ce01100cSBenoit Parrot
22*ce01100cSBenoit Parrot  reg:
23*ce01100cSBenoit Parrot    items:
24*ce01100cSBenoit Parrot      - description: The VPE main register region
25*ce01100cSBenoit Parrot      - description: Scaler (SC) register region
26*ce01100cSBenoit Parrot      - description: Color Space Conversion (CSC) register region
27*ce01100cSBenoit Parrot      - description: Video Port Direct Memory Access (VPDMA) register region
28*ce01100cSBenoit Parrot
29*ce01100cSBenoit Parrot  reg-names:
30*ce01100cSBenoit Parrot    items:
31*ce01100cSBenoit Parrot      - const: vpe_top
32*ce01100cSBenoit Parrot      - const: sc
33*ce01100cSBenoit Parrot      - const: csc
34*ce01100cSBenoit Parrot      - const: vpdma
35*ce01100cSBenoit Parrot
36*ce01100cSBenoit Parrot  interrupts:
37*ce01100cSBenoit Parrot    maxItems: 1
38*ce01100cSBenoit Parrot
39*ce01100cSBenoit Parrotrequired:
40*ce01100cSBenoit Parrot  - compatible
41*ce01100cSBenoit Parrot  - reg
42*ce01100cSBenoit Parrot  - reg-names
43*ce01100cSBenoit Parrot  - interrupts
44*ce01100cSBenoit Parrot
45*ce01100cSBenoit ParrotadditionalProperties: false
46*ce01100cSBenoit Parrot
47*ce01100cSBenoit Parrotexamples:
48*ce01100cSBenoit Parrot  - |
49*ce01100cSBenoit Parrot    #include <dt-bindings/interrupt-controller/arm-gic.h>
50*ce01100cSBenoit Parrot
51*ce01100cSBenoit Parrot    vpe: vpe@489d0000 {
52*ce01100cSBenoit Parrot        compatible = "ti,dra7-vpe";
53*ce01100cSBenoit Parrot        reg = <0x489d0000 0x120>,
54*ce01100cSBenoit Parrot              <0x489d0700 0x80>,
55*ce01100cSBenoit Parrot              <0x489d5700 0x18>,
56*ce01100cSBenoit Parrot              <0x489dd000 0x400>;
57*ce01100cSBenoit Parrot        reg-names = "vpe_top",
58*ce01100cSBenoit Parrot                    "sc",
59*ce01100cSBenoit Parrot                    "csc",
60*ce01100cSBenoit Parrot                    "vpdma";
61*ce01100cSBenoit Parrot        interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
62*ce01100cSBenoit Parrot    };
63*ce01100cSBenoit Parrot
64*ce01100cSBenoit Parrot...
65