xref: /freebsd/sys/contrib/device-tree/Bindings/media/renesas,imr.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotRenesas R-Car Image Renderer (Distortion Correction Engine)
2*c66ec88fSEmmanuel Vadot-----------------------------------------------------------
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotThe image renderer, or the distortion correction engine, is a drawing processor
5*c66ec88fSEmmanuel Vadotwith a simple instruction system capable of referencing video capture data or
6*c66ec88fSEmmanuel Vadotdata in an external memory as 2D texture data and performing texture mapping
7*c66ec88fSEmmanuel Vadotand drawing with respect to any shape that is split into triangular objects.
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotRequired properties:
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot- compatible: "renesas,<soctype>-imr-lx4", "renesas,imr-lx4" as a fallback for
12*c66ec88fSEmmanuel Vadot  the image renderer light extended 4 (IMR-LX4) found in the R-Car gen3 SoCs,
13*c66ec88fSEmmanuel Vadot  where the examples with <soctype> are:
14*c66ec88fSEmmanuel Vadot  - "renesas,r8a7795-imr-lx4" for R-Car H3,
15*c66ec88fSEmmanuel Vadot  - "renesas,r8a7796-imr-lx4" for R-Car M3-W.
16*c66ec88fSEmmanuel Vadot- reg: offset and length of the register block;
17*c66ec88fSEmmanuel Vadot- interrupts: single interrupt specifier;
18*c66ec88fSEmmanuel Vadot- clocks: single clock phandle/specifier pair;
19*c66ec88fSEmmanuel Vadot- power-domains: power domain phandle/specifier pair;
20*c66ec88fSEmmanuel Vadot- resets: reset phandle/specifier pair.
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel VadotExample:
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot	imr-lx4@fe860000 {
25*c66ec88fSEmmanuel Vadot		compatible = "renesas,r8a7795-imr-lx4", "renesas,imr-lx4";
26*c66ec88fSEmmanuel Vadot		reg = <0 0xfe860000 0 0x2000>;
27*c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
28*c66ec88fSEmmanuel Vadot		clocks = <&cpg CPG_MOD 823>;
29*c66ec88fSEmmanuel Vadot		power-domains = <&sysc R8A7795_PD_A3VC>;
30*c66ec88fSEmmanuel Vadot		resets = <&cpg 823>;
31*c66ec88fSEmmanuel Vadot	};
32