Skip to content

Commit

Permalink
media: dt-bindings: media: ti-vpe: Document VPE driver
Browse files Browse the repository at this point in the history
Device Tree bindings for the Video Processing Engine (VPE).

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
  • Loading branch information
Benoit Parrot authored and Mauro Carvalho Chehab committed Nov 10, 2019
1 parent 1dea684 commit ce01100
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
64 changes: 64 additions & 0 deletions Documentation/devicetree/bindings/media/ti,vpe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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>;
};
...
1 change: 1 addition & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -16323,6 +16323,7 @@ W: http://linuxtv.org/
Q: http://patchwork.linuxtv.org/project/linux-media/list/
S: Maintained
F: drivers/media/platform/ti-vpe/
F: Documentation/devicetree/bindings/media/ti,vpe.yaml

TI WILINK WIRELESS DRIVERS
L: linux-wireless@vger.kernel.org
Expand Down

0 comments on commit ce01100

Please sign in to comment.