diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2014-04-08 12:39:59 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-04-23 09:21:16 -0400 |
commit | 34d1cbdafd5b27bc06f47f557e0581b7b85d6f07 (patch) | |
tree | 000033dc2c38b6568d744d953c722df081999a44 | |
parent | 629bb6d4b38fe62d36ab52ad22c3ab726f6ce6e8 (diff) |
[media] v4l: vsp1: Add DT bindings documentation
All parameters supplied through platform data can now be passed through
the device tree.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r-- | Documentation/devicetree/bindings/media/renesas,vsp1.txt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/media/renesas,vsp1.txt b/Documentation/devicetree/bindings/media/renesas,vsp1.txt new file mode 100644 index 000000000000..87fe08abf36d --- /dev/null +++ b/Documentation/devicetree/bindings/media/renesas,vsp1.txt | |||
@@ -0,0 +1,43 @@ | |||
1 | * Renesas VSP1 Video Processing Engine | ||
2 | |||
3 | The VSP1 is a video processing engine that supports up-/down-scaling, alpha | ||
4 | blending, color space conversion and various other image processing features. | ||
5 | It can be found in the Renesas R-Car second generation SoCs. | ||
6 | |||
7 | Required properties: | ||
8 | |||
9 | - compatible: Must contain "renesas,vsp1" | ||
10 | |||
11 | - reg: Base address and length of the registers block for the VSP1. | ||
12 | - interrupts: VSP1 interrupt specifier. | ||
13 | - clocks: A phandle + clock-specifier pair for the VSP1 functional clock. | ||
14 | |||
15 | - renesas,#rpf: Number of Read Pixel Formatter (RPF) modules in the VSP1. | ||
16 | - renesas,#uds: Number of Up Down Scaler (UDS) modules in the VSP1. | ||
17 | - renesas,#wpf: Number of Write Pixel Formatter (WPF) modules in the VSP1. | ||
18 | |||
19 | |||
20 | Optional properties: | ||
21 | |||
22 | - renesas,has-lif: Boolean, indicates that the LCD Interface (LIF) module is | ||
23 | available. | ||
24 | - renesas,has-lut: Boolean, indicates that the Look Up Table (LUT) module is | ||
25 | available. | ||
26 | - renesas,has-sru: Boolean, indicates that the Super Resolution Unit (SRU) | ||
27 | module is available. | ||
28 | |||
29 | |||
30 | Example: R8A7790 (R-Car H2) VSP1-S node | ||
31 | |||
32 | vsp1@fe928000 { | ||
33 | compatible = "renesas,vsp1"; | ||
34 | reg = <0 0xfe928000 0 0x8000>; | ||
35 | interrupts = <0 267 IRQ_TYPE_LEVEL_HIGH>; | ||
36 | clocks = <&mstp1_clks R8A7790_CLK_VSP1_S>; | ||
37 | |||
38 | renesas,has-lut; | ||
39 | renesas,has-sru; | ||
40 | renesas,#rpf = <5>; | ||
41 | renesas,#uds = <3>; | ||
42 | renesas,#wpf = <4>; | ||
43 | }; | ||