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