]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - Bindings/media/rockchip-rga.txt
Import DTS files from Linux 5.7
[FreeBSD/FreeBSD.git] / 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,rk3228-rga", "rockchip,rk3288-rga": for Rockchip RK3228
10   "rockchip,rk3288-rga": for Rockchip RK3288
11   "rockchip,rk3399-rga": for Rockchip RK3399
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
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                 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         };