Merge branch 'core-objtool-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-block.git] / Documentation / devicetree / bindings / media / rockchip-rga.txt
CommitLineData
7ef3b44c
JC
1device-tree bindings for rockchip 2D raster graphic acceleration controller (RGA)
2
3RGA is a standalone 2D raster graphic acceleration unit. It accelerates 2D
4graphics operations, such as point/line drawing, image scaling, rotation,
5BitBLT, alpha blending and image blur/sharpness.
6
7Required properties:
8- compatible: value should be one of the following
0c9d29eb
JS
9 "rockchip,rk3228-rga", "rockchip,rk3288-rga": for Rockchip RK3228
10 "rockchip,rk3288-rga": for Rockchip RK3288
11 "rockchip,rk3399-rga": for Rockchip RK3399
7ef3b44c
JC
12
13- interrupts: RGA interrupt specifier.
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
23Example:
24SoC-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 clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA_CORE>;
30 clock-names = "aclk", "hclk", "sclk";
31
32 resets = <&cru SRST_RGA_CORE>, <&cru SRST_A_RGA>, <&cru SRST_H_RGA>;
33 reset-names = "core, "axi", "ahb";
34 };