xref: /freebsd/sys/contrib/device-tree/Bindings/media/ti,vpe.yaml (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
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
7title: Texas Instruments DRA7x Video Processing Engine (VPE) Device Tree Bindings
8
9maintainers:
10  - Benoit Parrot <bparrot@ti.com>
11
12description: |-
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
18properties:
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
39required:
40  - compatible
41  - reg
42  - reg-names
43  - interrupts
44
45additionalProperties: false
46
47examples:
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...
65