summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/media/ti,vpe.yaml
blob: ef473f2873990620ce1d2277f969f1d9e38973d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/ti,vpe.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Texas Instruments DRA7x Video Processing Engine (VPE) Device Tree Bindings

maintainers:
  - Benoit Parrot <bparrot@ti.com>

description: |-
  The Video Processing Engine (VPE) is a key component for image post
  processing applications. VPE consist of a single memory to memory
  path which can perform chroma up/down sampling, deinterlacing,
  scaling and color space conversion.

properties:
  compatible:
    const: ti,dra7-vpe

  reg:
    items:
      - description: The VPE main register region
      - description: Scaler (SC) register region
      - description: Color Space Conversion (CSC) register region
      - description: Video Port Direct Memory Access (VPDMA) register region

  reg-names:
    items:
      - const: vpe_top
      - const: sc
      - const: csc
      - const: vpdma

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg
  - reg-names
  - interrupts

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>

    vpe: vpe@489d0000 {
        compatible = "ti,dra7-vpe";
        reg = <0x489d0000 0x120>,
              <0x489d0700 0x80>,
              <0x489d5700 0x18>,
              <0x489dd000 0x400>;
        reg-names = "vpe_top",
                    "sc",
                    "csc",
                    "vpdma";
        interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
    };

...