summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/media/renesas,vsp1.txt
blob: fe74fb38e4d5d332673a6e829c0b6ded3dacf961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
* Renesas VSP Video Processing Engine

The VSP is a video processing engine that supports up-/down-scaling, alpha
blending, color space conversion and various other image processing features.
It can be found in the Renesas R-Car second generation SoCs.

Required properties:

  - compatible: Must contain one of the following values
    - "renesas,vsp1" for the R-Car Gen2 VSP1
    - "renesas,vsp2" for the R-Car Gen3 VSP2

  - reg: Base address and length of the registers block for the VSP.
  - interrupts: VSP interrupt specifier.
  - clocks: A phandle + clock-specifier pair for the VSP functional clock.

  - renesas,#rpf: Number of Read Pixel Formatter (RPF) modules in the VSP.
  - renesas,#wpf: Number of Write Pixel Formatter (WPF) modules in the VSP.


Optional properties:

  - renesas,#uds: Number of Up Down Scaler (UDS) modules in the VSP. Defaults
    to 0 if not present.
  - renesas,has-lif: Boolean, indicates that the LCD Interface (LIF) module is
    available.
  - renesas,has-lut: Boolean, indicates that the Look Up Table (LUT) module is
    available.
  - renesas,has-sru: Boolean, indicates that the Super Resolution Unit (SRU)
    module is available.


Example: R8A7790 (R-Car H2) VSP1-S node

	vsp1@fe928000 {
		compatible = "renesas,vsp1";
		reg = <0 0xfe928000 0 0x8000>;
		interrupts = <0 267 IRQ_TYPE_LEVEL_HIGH>;
		clocks = <&mstp1_clks R8A7790_CLK_VSP1_S>;

		renesas,has-lut;
		renesas,has-sru;
		renesas,#rpf = <5>;
		renesas,#uds = <3>;
		renesas,#wpf = <4>;
	};