summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/media/renesas,jpu.txt
blob: d3436e5190f9196a64f42fd0872a218a893cc229 (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
* Renesas JPEG Processing Unit

The JPEG processing unit (JPU) incorporates the JPEG codec with an encoding
and decoding function conforming to the JPEG baseline process, so that the JPU
can encode image data and decode JPEG data quickly.

Required properties:
- compatible: "renesas,jpu-<soctype>", "renesas,rcar-gen2-jpu" as fallback.
	Examples with soctypes are:
	  - "renesas,jpu-r8a7790" for R-Car H2
	  - "renesas,jpu-r8a7791" for R-Car M2-W
	  - "renesas,jpu-r8a7792" for R-Car V2H
	  - "renesas,jpu-r8a7793" for R-Car M2-N

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

Example: R8A7790 (R-Car H2) JPU node
	jpeg-codec@fe980000 {
		compatible = "renesas,jpu-r8a7790", "renesas,rcar-gen2-jpu";
		reg = <0 0xfe980000 0 0x10300>;
		interrupts = <0 272 IRQ_TYPE_LEVEL_HIGH>;
		clocks = <&mstp1_clks R8A7790_CLK_JPU>;
	};