dt-bindings: add document for Rockchip RGA module
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / display / rockchip / rockchip-rga.txt
1 device-tree bindings for rockchip 2D raster graphic acceleration controller (RGA)
2
3 RGA is a separate 2D raster graphic acceleration unit. It accelerates 2D
4 graphics operations, such as point/line drawing, image scaling, rotation,
5 BitBLT, alpha blending and image blur/sharpness.
6
7 Required properties:
8 - compatible: value should be one of the following
9                 "rockchip,rk3228-rga";
10                 "rockchip,rk3288-rga";
11                 "rockchip,rk3399-rga";
12
13 - interrupts: RGA interrupt number.
14
15 - clocks: phandle to RGA sclk/hclk/aclk clocks
16
17 - clock-names: should be "aclk" "hclk" and "sclk"
18
19 - resets: Must contain an entry for each entry in reset-names.
20   See ../reset/reset.txt for details.
21 - reset-names: should be "core" "axi" and "ahb"
22
23 Example:
24 SoC specific DT entry:
25         rga: rga@ff680000 {
26                 compatible = "rockchip,rk3399-rga";
27                 reg = <0xff680000 0x10000>;
28                 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
29                 interrupt-names = "rga";
30                 clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA_CORE>;
31                 clock-names = "aclk", "hclk", "sclk";
32
33                 resets = <&cru SRST_RGA_CORE>, <&cru SRST_A_RGA>, <&cru SRST_H_RGA>;
34                 reset-names = "core, "axi", "ahb";
35                 status = "disabled";
36         };