Merge tag 'pinctrl-v4.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / media / rockchip-rga.txt
1 device-tree bindings for rockchip 2D raster graphic acceleration controller (RGA)
2
3 RGA is a standalone 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,rk3288-rga";
10                 "rockchip,rk3399-rga";
11
12 - interrupts: RGA interrupt specifier.
13
14 - clocks: phandle to RGA sclk/hclk/aclk clocks
15
16 - clock-names: should be "aclk", "hclk" and "sclk"
17
18 - resets: Must contain an entry for each entry in reset-names.
19   See ../reset/reset.txt for details.
20 - reset-names: should be "core", "axi" and "ahb"
21
22 Example:
23 SoC-specific DT entry:
24         rga: rga@ff680000 {
25                 compatible = "rockchip,rk3399-rga";
26                 reg = <0xff680000 0x10000>;
27                 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
28                 clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA_CORE>;
29                 clock-names = "aclk", "hclk", "sclk";
30
31                 resets = <&cru SRST_RGA_CORE>, <&cru SRST_A_RGA>, <&cru SRST_H_RGA>;
32                 reset-names = "core, "axi", "ahb";
33         };