[media] v4l: vsp1: Support VSP1 instances without any UDS
[cascardo/linux.git] / Documentation / devicetree / bindings / media / renesas,vsp1.txt
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,#wpf: Number of Write Pixel Formatter (WPF) modules in the VSP1.
17
18
19 Optional properties:
20
21   - renesas,#uds: Number of Up Down Scaler (UDS) modules in the VSP1. Defaults
22     to 0 if not present.
23   - renesas,has-lif: Boolean, indicates that the LCD Interface (LIF) module is
24     available.
25   - renesas,has-lut: Boolean, indicates that the Look Up Table (LUT) module is
26     available.
27   - renesas,has-sru: Boolean, indicates that the Super Resolution Unit (SRU)
28     module is available.
29
30
31 Example: R8A7790 (R-Car H2) VSP1-S node
32
33         vsp1@fe928000 {
34                 compatible = "renesas,vsp1";
35                 reg = <0 0xfe928000 0 0x8000>;
36                 interrupts = <0 267 IRQ_TYPE_LEVEL_HIGH>;
37                 clocks = <&mstp1_clks R8A7790_CLK_VSP1_S>;
38
39                 renesas,has-lut;
40                 renesas,has-sru;
41                 renesas,#rpf = <5>;
42                 renesas,#uds = <3>;
43                 renesas,#wpf = <4>;
44         };