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